Hi,

Assume the following example:

1. We put the status of three lamps into *one* queue, where (+1) means lamp 
1 is on, (-1) means lamp 1 is off etc.
2. We have 1 worker who takes out the status and tells me if the lamp is on 
or off.

Queue: (+1)(+2)(-3)(-1)(+3)(-2)

The worker takes the first status (+1) and says "Lamp 1 is on". It takes 
one status at a time and tells me if the lamp is on or off.

Now I have 10.000 lamps and need to increase the speed of the output, so I 
need to have more workers. I need to make sure that the order of the 
statuses is not mixed. When the workers handle 5 jobs at the same time it 
could happen that the lamp is said to be off and on even its on and off.

*Solution:*
Each lamp gets its own queue => 10.000 lamps

Do you have other ideas how to handle it?
Can Beanstalkd handle 10.000 queues at the same time? What is the 
limitation, RAM?

Thanks for your input.

Regards
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to