Fail-safe message broadcasting to be consumed by a specific recipient using redis and python
- 阅读更多 关于 Fail-safe message broadcasting to be consumed by a specific recipient using redis and python
问题 So redis 5.0 freshly introduced a new feature called Streams. They seem to be perfect for distributing messages for inter process communication: they surpass the abilities of PUB/SUB event messaging in terms of reliability: PUB/SUB is fire-and-forget an there's no guarantee a recipient will receive the message redis lists are somewhat low-level but could still be used. However, streams are optimized for performance and exactly the use case described above. However, since this feature is quite