[GH-ISSUE #600] [FEATURE REQUEST] Add configuration of redis cache key name prefix #1308

Open
opened 2026-03-07 22:08:28 +03:00 by kerem · 1 comment
Owner

Originally created by @kingway126 on GitHub (Jan 10, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/600

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.
I have many different microservices and I want to use 'asynq' across multiple microservices. If 'asynq' is used on multiple microservices at the same time, it should have an impact. I thought about specifying the redis db way, but it's not suitable.

Describe the solution you'd like
When different microservices use the same redis db, by specifying different redis key prefixes, the 'asynq' between different microservices will not affect each other

example
orderservice: key name[order:asynq:]
memberservice: key name[member:asynq:
]

Originally created by @kingway126 on GitHub (Jan 10, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/600 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** I have many different microservices and I want to use 'asynq' across multiple microservices. If 'asynq' is used on multiple microservices at the same time, it should have an impact. I thought about specifying the redis db way, but it's not suitable. **Describe the solution you'd like** When different microservices use the same redis db, by specifying different redis key prefixes, the 'asynq' between different microservices will not affect each other **example** orderservice: key name[order:asynq:*] memberservice: key name[member:asynq:*]
Author
Owner

@16g commented on GitHub (Jul 11, 2023):

👍 👍 👍 👍

<!-- gh-comment-id:1630918499 --> @16g commented on GitHub (Jul 11, 2023): 👍 👍 👍 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1308
No description provided.