[GH-ISSUE #919] [FEATURE REQUEST] Support sqlite3 as alternative adaptor to valkey and redis #2483

Closed
opened 2026-03-15 20:38:02 +03:00 by kerem · 4 comments
Owner

Originally created by @wakatara on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/919

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.

Yes, I need a task queue manager but would like to have fewer server dependencies so am hoping to only ise a slqite3 database for my entire app. It would be nice if asynq (which I am loving with valkey btw) could operate in that fashion.

Describe the solution you'd like

Swap out redis for sqlite.

Describe alternatives you've considered

Already used valkey as a drop in replacement but ultimately I'm hoping to have a "run local" approach to this without the need for extra or complex services for the queue.

Additional context

If rails 8 can do it, so should Go... =]
Also, someone has done something similar with sqlite already https://github.com/maragudk/goqite

Originally created by @wakatara on GitHub (Oct 8, 2024). Original GitHub issue: https://github.com/hibiken/asynq/issues/919 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** Yes, I need a task queue manager but would like to have fewer server dependencies so am hoping to only ise a slqite3 database for my entire app. It would be nice if asynq (which I am loving with valkey btw) could operate in that fashion. **Describe the solution you'd like** Swap out redis for sqlite. **Describe alternatives you've considered** Already used valkey as a drop in replacement but ultimately I'm hoping to have a "run local" approach to this without the need for extra or complex services for the queue. **Additional context** If rails 8 can do it, so should Go... =] Also, someone has done something similar with sqlite already https://github.com/maragudk/goqite
kerem 2026-03-15 20:38:02 +03:00
Author
Owner

@kamikazechaser commented on GitHub (Oct 26, 2024):

This library is tightly coupled with the inner workings of redis (lua scripting, commands only found in redis and redis forks). There is a very low chance that existing abstractions over redis could even work.

<!-- gh-comment-id:2439394603 --> @kamikazechaser commented on GitHub (Oct 26, 2024): This library is tightly coupled with the inner workings of redis (lua scripting, commands only found in redis and redis forks). There is a very low chance that existing abstractions over redis could even work.
Author
Owner

@wakatara commented on GitHub (Oct 26, 2024):

@kamikazechaser I suspected as much, but you know... never ask, never get. Thanks for entertaining the request though even if it's not possible. =]

<!-- gh-comment-id:2439398974 --> @wakatara commented on GitHub (Oct 26, 2024): @kamikazechaser I suspected as much, but you know... never ask, never get. Thanks for entertaining the request though even if it's not possible. =]
Author
Owner

@ixugo commented on GitHub (Apr 15, 2025):

try it github.com/ixugo/nsqite ,Use gorm to support database transactions

<!-- gh-comment-id:2807075974 --> @ixugo commented on GitHub (Apr 15, 2025): try it [github.com/ixugo/nsqite](https://github.com/ixugo/nsqite) ,Use gorm to support database transactions
Author
Owner

@wakatara commented on GitHub (Apr 16, 2025):

@ixugo Looks interesting, I'll check it out. Thanks!

<!-- gh-comment-id:2809096479 --> @wakatara commented on GitHub (Apr 16, 2025): @ixugo Looks interesting, I'll check it out. Thanks!
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#2483
No description provided.