discourse / message_bus

A reliable and robust messaging bus for Ruby and Rack
MIT License
1.65k stars 134 forks source link

Re-implement Redis backend using Streams (Redis 5.0) #171

Open benlangfeld opened 5 years ago

benlangfeld commented 5 years ago

Redis 5.0 includes the new Stream data type, discussed at http://antirez.com/news/114. Is this a viable candidate to replace message_bus' use of sorted sets and PUBLISH? I'm interested in attempting an implementation, but am looking for in-principle agreement that it's worthwhile first.

SamSaffron commented 5 years ago

I am interested in a new and optional implementation that people can opt in to, provided it performs better than the current one, you would need to measure performance and keep feature parity.