Settings

Theme

.NET 7 gRPC|HTTP/2 is ~2x faster than golang's

devblogs.microsoft.com

35 points by sachinjoseph 4 years ago · 2 comments

Reader

akshayshah 4 years ago

This is great! Having widely-deployed HTTP servers compete on performance is a nice win for the rest of us :)

I wonder whether they're also queueing for reads from the TCP connection? At least per their public comms, Facebook uses an interesting combination of CoDel and adaptive LIFO processing [0]: under load, they preferentially serve queued requests in last-in, first-out order to prioritize users who are likely still waiting for the response (vs those who gave up b/c the service is slow). It'd be amazing to have a widely-available webserver expose similar control knobs.

Anyhow, kudos to the .NET team!

[0]: https://queue.acm.org/detail.cfm?id=2839461

cebert 4 years ago

It’s interesting how impactful switching from a rudimentary lock to a thread-safe queue was.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection