-
Notifications
You must be signed in to change notification settings - Fork 89
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
use redis as the event storage backend #120
Comments
Hi there. If you want to store events in redis instead of a SQL database, you could write your own |
fine! thanks! |
Hi ! I'm bumping this. So in multi processes situation, I want to use redis as Storage backend i would lets Pushpin rely on Redis instead of Django right ? Like the documentation of Pushpin says with a Kafka exemple here: https://github.com/fanout/kafka-sse-example |
In django-evenstream, storage is separate from distribution, and only storage is pluggable. You can subclass The Pushpin Kafka example is built differently, using a background process that reads from Kafka. It may be possible to hack django-eventstream to work similarly, by changing One nice thing about django-eventstream compared to the Kafka example is that it doesn't have any background processes, so it can be run statelessly. |
I want to use redis as the event storage backend. What should I do? Because send_event is used in the multi-process scenario, the client cannot receive the message consistently
The text was updated successfully, but these errors were encountered: