matryer / vice

Go channels at horizontal scale (powered by message queues)
https://medium.com/@matryer/introducing-vice-go-channels-across-many-machines-bcac1147d7e2
Apache License 2.0
1.54k stars 79 forks source link

redis: use redis as a queue instead of pub/sub #29

Closed HeavyHorst closed 7 years ago

HeavyHorst commented 7 years ago

Implementation as described here: https://redis.io/commands/rpoplpush

I've also added a test to check if the transport behaves as a queue.

related to #19

HeavyHorst commented 7 years ago

The test fails because #28 is not merged and nats still runs in pub/sub mode.

matryer commented 7 years ago

retest this please

HeavyHorst commented 7 years ago

done