Real-Time Batching in Go
Thousands of tiny database updates per second can become a few bulk queries without touching the call sites. Each call still takes a single item, blocks until it is done, reports errors, and respects context cancellation. Behind the scenes, a worker batches the updates as they arrive.
destel.dev