FakeRedis as a base for an SQL-db backed Redis Replacement? #126
gabriels1234
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
I think you are looking for the pq package. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to gather thoughts on this Idea: use fakeredis as a base to make a DB powered version compatible with redis.
(cc/ @cunla )
Motivation: Databases are quite fast. Many projects don't actually need Redis (For cache).
Also, Redis is the preferred (only!) backend for RQ (where R stands for Redis!). But Database Speed is more than enough for most rq use-cases. Also, there are unaddressed concerns about robustness/reliability of RQ (a.k.a lost jobs) that made developers move away from RQ. This should be solved but the Atomic-style of Transactional Databases.
Last but not least: You can get practically the same results with webserver+DB( Postgres!) ($x2) than webserver+DB+Redis ($x3). I believe we should allow the small guy to play in the same league at a fraction of the price, whenever possible.
Is it something worth pursuing? is FakeRedis the perfect match for this project? How to achieve it, by forking the repo or by augmenting FakeRedis to support a DB Backend? I'm sure this will become the new default for RQ setups.
Beta Was this translation helpful? Give feedback.
All reactions