Re:Ask HN: How can I learn about performance optimization?
by ndriscoll on Sunday March 03, 2024 @10:50AM
(#39581594)
If you make your batches small, you can get pretty much all of the benefit without adding (appreciable) latency. e.g. batch incoming web requests in 2-5 ms windows. Depending on what work is involved in a request, you might 10x your throughput and actually reduce latency if you were close to the limit of what your database could handle without batching.
[ Parent
| on HN ]
There are no comments on this comment yet.