Closed stefankleff closed 2 years ago
Hi,
No work has been done, but maybe @juriansluiman can open a SlmQueueRedis ? :)
No, no work has been done yet but a while ago I gave it some thought. @stefankleff if you want we can collaborate on a Redis backend for SlmQueue.
A few things worthy I have thought about:
BRPOPLPUSH
you can atomically switch jobs from queue "pending" to queue "running". It's blocking, so it waits for a new job to come by automaticallySounds good! I hope that I can start working on that within next week
See juriansluiman/SlmQueueRedis#1 for the issue I opened to get started. I have made a small outline, but if you have alternative ideas you can completely ignore those.
@stefankleff I don't think the Redis adapter is going anywhere, right ;)? I'll keep this open; as it definitely would be useful for some.
Not really. I'm working now in another company and where it is not used.
Is anybody already working on that?
We're currently switching our cache backend to redis and I like to use that as queueing backend too. But I also like to stick with SlmQueue. If no work is done yet, I can start to write that. But I'm not yet very familiar with Redis. So I need to glimpse at the php-resque(-ex) and Laravel implementations and may need some help as well as a review.