mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #214] [QUESTION] Follow-up question: Is it possible to have multiple servers serving different queues? #1088
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1088
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sujit-baniya on GitHub (Dec 2, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/214
Originally assigned to: @hibiken on GitHub.
Continued from: https://github.com/hibiken/asynq/issues/213
Thanks for quick reply.
Actually I've cloned your repo and changed most of the things to match my requirement.
One of the change I did was to add Queue and Handlers per queue dynamically.
Most of the changes are working great but I'm stuck here.
I created 2 servers and assigned different queues per server. But both servers are assigned with all queues.
Here,
srv1andsrv2are assigned with both queuessrv1-queueandsrv2-queueIs there anything I'm missing here? Any suggestions would be apprecible.
I've some more questions on this tool. Is there any other way I could contact you or Github Issue would work?
Basically I'm changing this tool to do following things dynamically
I can do following operations via REST on single asynq server:
but this does not work for any multiple server instances (Handle above per server)
@sujit-baniya commented on GitHub (Dec 2, 2020):
https://www.loom.com/share/c0b9ad054a734eb780341fcb49af2be5
@sujit-baniya commented on GitHub (Dec 3, 2020):
Also, since we can have multiple servers, is it possible to include server cluster and load-balancer?
For e.g. I bring up 3 servers with same queues.
@hibiken commented on GitHub (Feb 1, 2021):
Sorry for a delayed response. Yes, it's possible to have multiple servers serving different queues.