Posted by kelindar 6 days ago
Isn’t this the opposite? Generic is usually implying any type would do.
Generics don't mean "any type", they mean "type argument". As such, you can say "only type arguments that implement X" or similar.
Add a database call or some simple data processing and then show some numbers comparing between channels or throughput.
I hate these kind of claims. Similar with web frameworks that shows reqs/s for an empty method.
No everyone wants to write a database application. There are absolutely other types of applications in the world. Applications can be CPU and/or memory bound.
If you mean Amdahl's Law (and maybe Little), messaging is generally considered part of the unavoidable. However TCP and this library both seem to be aware that while you cannot eliminate messaging overhead, you can amortize it over dozens and dozens of messages at a time and that reduces that bit of serialized cost by more than an order of magnitude.
Many, many real apps process millions of events per second. You may not have worked on any of them but that does not mean they don't exist.