zlacker

[return to "On SQS"]
1. polski+BF[view] [source] 2019-05-27 14:30:54
>>mpweih+(OP)
Does anyone know a good, low overhead out-of-process message queue, that's lightweight enough that it can be useful for communicating between processes on the same machine, but if necessary it can scale beyond it? In case of a single-machine product that comprises of several services, a message queue can sometimes be useful for pull model, but adding RabbitMQ to the stack makes installation and ops much more complex than customers deem acceptable.

I know some people use Akka with Persistence module, but I would welcome other alternatives.

◧◩
2. eroppl+OJ[view] [source] 2019-05-27 15:15:52
>>polski+BF
"Low overhead"? Redis.

Reliable and durable? Emphatically not Redis, and at that point you probably want to just start looking at SQS.

(I've had good luck shipping products as docker-compose files, these days. Even to fairly backwards clients.)

◧◩◪
3. tjanks+RL[view] [source] 2019-05-27 15:33:38
>>eroppl+OJ
Can you explain why Redis is not durable? Looking into it for a project but this comment worries me.
◧◩◪◨
4. chucks+lV[view] [source] 2019-05-27 16:46:30
>>tjanks+RL
Intentionally so. It's not a deficiency or a footgun, it's a design decision to be aware of. Redis is an in-memory database first.

You can configure Redis for durability. The docs[1] page for persistence has a good examination of the pros and cons.

[1]: https://redis.io/topics/persistence

[go to top]