BQUEUE
Build Status
master |  |
A buffered async queue
Based on Marcio Castilho article “Handling 1 Million Requests per Minute with Go”
Why
We needed a simple and quick queue system to handle requests rapidly without impacting performance.
Each of our jobs could take up to 20s to execute.
How it works
By using the awesomeness of channels.
Channels are the pipes that all goroutines to share data. You can send values into channels from one goroutine and receive those values in another goroutine.
With channels we are able to share the data between goroutines enabling it to be processed concurrently, to make the best use of multiple CPU cores.