Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a redis backend #4

Open
fruch opened this issue Apr 21, 2017 · 8 comments
Open

Add a redis backend #4

fruch opened this issue Apr 21, 2017 · 8 comments

Comments

@fruch
Copy link

fruch commented Apr 21, 2017

redis is the king of cache, a backend for it can be cool
(on my todo list, down on the bottom of it)

@shaypal5
Copy link
Collaborator

Hmm, that's right!

Well, hopefully it would be easy with core a architecture.

@a904guy
Copy link

a904guy commented Apr 22, 2017

Memcached as well, working on an adapter core now.

@shaypal5 shaypal5 changed the title add a redis backend Add a redis backend Apr 23, 2017
@shaypal5
Copy link
Collaborator

@a904guy Sounds great! Can you please open a new issue with the title "Add support for Memcached cores" or something similar, so we can track these separately?

@advance512
Copy link

Any update on this?

@shaypal5
Copy link
Collaborator

@advance512 I never heard from anyone about this since. If you know of a good (or even official) Python driver and an easy and free way to fabricate a light Redis instance I could look into it myself. Maybe.

@fruch
Copy link
Author

fruch commented May 16, 2017

@shaypal5 https://pypi.python.org/pypi/fakeredis, and you can use the formal docker image.
(If you don't have a docker setup, I highly recommend giving it a try, if you need help with that give me a ping)

@dmwyatt
Copy link

dmwyatt commented Jun 12, 2020

Did anyone ever make something like this?

@shaypal5
Copy link
Collaborator

Nope. Again. Shouldn't be hard based on the MongoDB core, but someone with some time and interest will have to contribute this.

cthoyt added a commit to cthoyt/cachier that referenced this issue Oct 21, 2020
shaypal5 pushed a commit that referenced this issue Nov 17, 2020
References #4 and references #6
shaypal5 pushed a commit that referenced this issue Nov 17, 2020
Add stubs for redis and memory

References #4 and references #6

Make default compatible with previous interface

Now, the default is calculated dynamically to maintain previous behavior to default to pickle unless the ``mongetter`` argument is given. This makes it have the same behavior as before, so users aren't forced to change old code to use the ``backend`` argument

Update docs

Add tests
shaypal5 pushed a commit that referenced this issue Nov 25, 2020
Add stubs for redis and memory

References #4 and references #6

Make default compatible with previous interface

Now, the default is calculated dynamically to maintain previous behavior to default to pickle unless the ``mongetter`` argument is given. This makes it have the same behavior as before, so users aren't forced to change old code to use the ``backend`` argument

Update docs

Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants