Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: