Note that there are some explanatory texts on larger screens.

plurals
  1. POResque.. how can I get a list of the queues
    primarykey
    data
    text
    <p>Ok.. On heroku I have up 24 workers (as I understand it) I have say 1000 clients. Each with their own "schema" in a postgresql database. </p> <p>each client has tasks that can be done "later".. sending orders to my companies back end, is a great example. </p> <p>I was thinking that I could create a new queue for each client, and each queue would have it's own worker(process). That it seems isn't in the cards. </p> <p>So ok.. my thinking now is to have a queue field in client record.. so client 1 through 15 are in queue_a and client 16 through 106 are in queue_b.. ect If one client is using heaps, we could move them to a new queue, or move others out of the slow Queue. clients with low volumns could be collected.. It would be a balancing act, but it wouldn't be all that hard to manage, if we kept track of metrics (which we will anyway)</p> <p><strong>(any counter ideas would be awesome to hear, I'm really in spit ball phase)</strong></p> <p>Right now, though. I'd like to figure out how to create a worker for each queue. <a href="https://gist.github.com/486161" rel="nofollow">https://gist.github.com/486161</a> tells me how to create X workers, but doesn't really let me set a worker to a Queue. If I knew that, and how to get a list of queues, I think I'd be on my way to a viable solution to the limits. </p> <p><hr> Reading on<br>http://blog.winfieldpeterson.com/2012/02/17/resque-queue-priority/<br> I realize that my plan is fraught with hardship.. The first client/queue to get added to the worker, would get priority.. I don't want that, I'd want them to all have the same. As long as they are part of the same queue.. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload