mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #1002] [BUG] The queue prefix "{ }" will cause the data to be allocated to one data node. #2507
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#2507
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 @antyiwei on GitHub (Jan 4, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1002
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
Describe the bug
The queue prefix "{ }" will cause the data to be allocated to one data node.
"{}" is it necessary?
https://redis.io/docs/latest/operate/oss_and_stack/reference/cluster-spec/#hash-tags
@yousifh commented on GitHub (Jan 6, 2025):
This is necessary for a Redis cluster so all the keys related to a queue go to one node. So when a Lua script executes for a particular queue, all the relevant keys the script will interact with are in the same node.
@antyiwei commented on GitHub (Jan 9, 2025):
Hello, thank you for your reply. If we use the REDIS provided by the cloud vendor and access it through a proxy address, can we remove the "{}" tags? It's quite troublesome here.
@pior commented on GitHub (Jan 31, 2025):
I don't fully understand your environment, but it sounds like your proxy is either:
With multiple nodes, you can get queues to run in different nodes, but you cannot have one queue distributed across multiple nodes.