Skip to content

HttpClient vs YARP Direct Forwarding #2220

Answered by Tratcher
jjkcharles asked this question in Q&A
Discussion options

You must be logged in to vote

Wait, sorry, I completely misread that 🥱😂. Direct forwarding will only be faster than using HttpClient directly if our implementation is more optimized than yours. We do lots of tricks like streaming, zero-byte reads, buffer pooling, etc. that your average application wouldn't attempt. You also need to hit a pretty high scale before it's relevant.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Tratcher
Comment options

Answer selected by karelz
@jjkcharles
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants