mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #522] How to create a queue based on user id #244
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#244
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 @yogasw on GitHub (Jul 25, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/522
how can I create a queue based on the user id with the same task type
example
USER A has a list of tasks 1,2,3
USER B has a list of tasks 4,5,6
USER C has a task list of 7,8,9
it should be like this
It's not like this
conditions are
@archit-harness commented on GitHub (Sep 16, 2022):
@arioki1 did you find any solution to this?
I want to have 10k queues based on userId, and dequeue can be from any given queue given as input and not creating consumer server for each queue.
@armoona commented on GitHub (Sep 22, 2022):
I have the same question. Can I have a million queues? Think of an app with a million users; each user sends a sequence of commands; each user's sequence must be executed sequentially.
@yogasw commented on GitHub (Dec 18, 2022):
I haven't found the best solution for this case @archit-harness ,
for my previous case I could only combine all requests into one queue,
I don't have a solution yet to queue according to user id