On Tuesday, July 8, 2014 4:29:08 AM UTC+2, Sharoon Thomas wrote:
>
> I have not used flask-tryton itself with gevent, but I think it should 
> just work fine.
>
> We use it with nereid and in specific for nereid-chat [1] which in turn 
> uses http
> event-streams [2] a.k.a server sent events to have long open connections. 
> Without
> greenlets this would not scale.
>
> My guess is you would only have to run the application using the WSGIServer
> bundled with gevent.pywsgi. You can check the WSGI application file [3] we 
> use with 
> nereid-chat if it helps.
>
>
> [1] https://github.com/openlabs/nereid-chat
>

very interesting, thanks !
just one question tough:
aren't we supposed to do something special with psycopg2 when patching the 
other stdlib with gevent ? Or even use psycogreen ?
I don't understand how do you make psycopg2 not blocking with gevent.


Concerning nereid, I'd like to gather more information about this project. 
I knew it's existence but I didn't consider it and I can't remember why.
Can you tell me where it is possible to discuss about the nereid project ? 
Is there a dedicated forum or somthing ?
I don't know if this group is appropriate for nereid discussion ?

Reply via email to