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

It's also quite fast.

I remember we had a similar use-case. This was for collecting live statistics from a sizable Varnish Cache cluster. We wrote a in memory database to store the data. It's been chugging away for about 10 years now and last I heard the zmq traffic alone was about 3Gbps with zero issues.



Aside from some scaling issues, it still is a great solution for having real-time insight into the performance of Varnish and the cache.

We even went as far as writing a Golang version of the VCS server to better handle some of the scaling challenges. I don’t remember the exact library that we are using to call into ZeroMQ, but the CGO overhead was minimal.


> It's also quite fast.

IIRC it does all I/O on separate background threads which means every operation actually goes through an inter-thread queue. Which can be good and bad.




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

Search: