[HN Gopher] Request Coalescing in Async Rust
___________________________________________________________________
Request Coalescing in Async Rust
Author : ingve
Score : 30 points
Date : 2022-03-06 20:13 UTC (2 hours ago)
(HTM) web link (fasterthanli.me)
(TXT) w3m dump (fasterthanli.me)
| porker wrote:
| This is a well written article, if long. The overviews of
| tracing/open telemetry and tokio are excellent.
| Twisol wrote:
| > This is a well written article, if long.
|
| That's Amos' brand, alright! ;)
|
| (<3 Amos)
| squiguy7 wrote:
| I attempted to mimic Go's single flight package myself [0]. It
| doesn't have support for the asynchronous world but I suppose
| that could be made possible. I also have to mention bradfitz for
| providing the initial implementation (I think?) to learn from.
| It's really quite elegant!
|
| Does anyone else think the Rust HTTP ecosystem is becoming
| increasingly fragmented? I can't keep track of which library is
| best suited for common operations. Is it a web framework built on
| hyper? Should I pay attention to tower middleware? Where does
| tracing fit in?
|
| [0]: https://github.com/gsquire/singleflight
___________________________________________________________________
(page generated 2022-03-06 23:00 UTC)