News for hackers. Stuff that matters.
Re:Memory usage of a toy C# server and client with 500K conc... by platz on Sunday January 27, 2019 @12:30PM (#19012684)
what is the benefit of "composing" queries via this library instead of just running them separately in a single connection? The "composed" queries are completely opaque to each other and are independent - they are not "composed", just "batched".
Re:Memory usage of a toy C# server and client with 500K conc... by naasking on Sunday January 27, 2019 @03:02PM (#19013493)
> what is the benefit of "composing" queries via this library instead of just running them separately in a single connection?

I think the link is pretty clear: it combines and batches queries while providing a type-safe interface for the returned results. It further provides intellisense and unit testing features that are tedious and error-prone to achieve in other ways.

Of course you can do this all by hand, or manually batch your queries to avoid round trips, but why would you want to?