4 ms·
A real modern communication would be something like NATS (somewhat similar to ZeroMQ in concepts). It's quite amazing, even more frictionless than ZeroMQ.
by htjglhktbrn 5y ago
A real modern communication would be something like NATS (somewhat similar to ZeroMQ in concepts). It's quite amazing, even more frictionless than ZeroMQ.
- jdnier 5y agoDetails on NATS: https://nats.io/ https://nats.io/ https://github.com/nats-io https://github.com/nats-io
- djstein 5y agoHow is this different from RabbitMQ?
- tyingq 5y agoThere's a comparison page that includes RabbitMQ here: https://docs.nats.io/compare-nats https://docs.nats.io/compare-nats
- ssss11 5y agoWhat does NATS do that you think is amazing?
- htjglhktbrn 5y agoIt took me two days to learn it's specifics 3 years ago, and after that I never-ever had a problem with it. ItJustWorks(TM). In this sense it's a bit like Sqlite, which also JustWorks, as opposed to something like Postgres which requires more fiddling and maintenance. And functionally, it allowed me to create a service-bus topology where multiple processes can post messages on a set of subjects that can be subscribed by multiple other processes (think stock market quotes). This pattern is surprisingly difficult to implement in other message brokers.
- oaiey 5y agoEnlighten me on surprisingly difficult? Topics are a pretty well known feature. The key difference between nats and rabbitmq is that nats disconnects a consumer if it is not fast enough which is the key differentiator for nats.
- nine_k 5y ago...as long as you are not sensitive to delays. Not sound, not video, not games.
- ClumsyPilot 5y agoLow latency networking is so ignored, it's like a dark art. I tried to play with it at one point. I got stuck at encryption There is SSL support everywhere, but nothing seems to support DTLS? Do people even use it?