emmett-framework / granian

A Rust HTTP server for Python applications
BSD 3-Clause "New" or "Revised" License
2.86k stars 83 forks source link

Implement Redis-compatible Protocol #262

Closed thuibr closed 7 months ago

thuibr commented 7 months ago

I think it would be so interesting if Granian could also act as a Redis server. So much now depends on Redis being a part of the stack, from Django caching to Django Channels to Celery. I don't have time to take a stab at this, nor do I really know Rust, but Rust and Redis are interests of mine for future projects.

CodeCrafters has its Redis project free for this month, which would be a good way to get up to speed. I also know that there are several Redis-compatible implementations out there. I wonder if a.) a Redis-compatible service could be built from the ground up in Granian, or b.) another implementation could be integrated into Granian.

I am just trying to start a discussion and see if there's any interest from the Granian maintainers and/or from somebody willing to take on this work.

Thanks!

thuibr commented 7 months ago

I suppose that the next logical step would be to also be able to run a celery worker. Maybe this is all out of scope for this project though. Feel free to close this if you think so. Thanks for all your work!