Re: Re: real time notifications django app
Jim Fulton <[email protected]> Sat, 25 Nov 2017 10:53:10 -0700
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FhoVef_cr3cVU+duzvw6Zy3vQLat121ACOYGMy_Gxgj_w@mail.gmail.com> |
On Sat, Nov 25, 2017 at 10:41 AM, Etienne Robillard <[email protected]> wrote: > Hi Jim > > See: https://github.com/sami-bouafif/rsyslog-redis > > I want to build a redis client (with aioredis) which can fetch rsyslog > messages from a redis server and save them to a local ZODB database. > OK, so your client will poll Redis and write to ZODB. I don't see an issue, other than the fact that ZODB will block. Why does this need to be asynchronous? Jim > Best Regards, > > Etienne > > Le 2017-11-25 à 10:22, Jim Fulton a écrit : > > I don't know why ZODB is involved in application-level messaging. What > are the events you wish to track? > > Jim > > On Sat, Nov 25, 2017 at 4:38 AM, Etienne Robillard <[email protected]> > wrote: > >> Hi, >> >> Could it be possible to use Django and asyncio to receive asynchronous >> redis messages and store them into a ZODB database? (ClientStorage) >> >> Is it possible to implement PUSH notifications with uWSGI backend and >> redis server ? >> >> Thank you, >> >> Etienne >> >> >> >> Le 2017-11-25 à 05:02, Etienne Robillard a écrit : >> >>> Hi, >>> >>> I would like to implement a simple web client for sending asynchronous >>> messages from RabbitMQ or Redis to a ClientStorage server with asyncio. >>> This code should ideally run under Python 3.5.3 and WSGI. >>> >>> Design ideas: >>> >>> - ZODBController class: this will need refactoring >>> >>> - Support PostgreSQL schemas in the future >>> >>> - Make the code compatible with WSGI environments >>> >>> >>> What do you think? >>> >>> >>> Regards, >>> >>> Etienne >>> >>> >> -- >> Etienne Robillard >> [email protected] >> http://www.isotopesoftware.ca/ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "zodb" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jim Fulton > http://jimfulton.info > -- > You received this message because you are subscribed to the Google Groups > "zodb" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- > Etienne [email protected]://www.isotopesoftware.ca/ > > -- > You received this message because you are subscribed to the Google Groups > "zodb" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Jim Fulton http://jimfulton.info -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.