I'm having an application with a couple thousand users. Each user can have 10 - 100's of jobs in the queue. I wan't my workers (~10) to process 10 jobs of 10 different users instead of just 10 jobs (which could be from the same user).
user1
job1
job2
job3
job4
job5
user2
job6
job7
job8
user3
job9
job10
...
So in the above example I want my workers to process in the following order:
worker1 -> job1, job2, job3
worker2 -> job6, ...
worker3 -> job9, ...
...
Is there any way this is easy to implement with beanstalkd (prefered) or gearman?