Using gevent for long polling for you python webapp

48 views
Skip to first unread message

sweemeng

unread,
Nov 5, 2011, 10:00:00 PM11/5/11
to pyth...@googlegroups.com
http://toastdriven.com/blog/2011/jul/31/gevent-long-polling-you/

This is a  link to show how to add long polling to your python webapp with gevent. 
Still not very clear why, he uses redis. Look like long study session

Mohd Izhar Firdaus Ismail

unread,
Nov 5, 2011, 11:03:00 PM11/5/11
to pyth...@googlegroups.com
Try take a look at
https://github.com/kagesenshi/radiate/blob/master/README.txt .. this
probably helps you better than implementing long polling

> --
> You received this message because you are subscribed to the Google Groups
> "python.my" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pythonmy/-/LxYiDoIL3DYJ.
> To post to this group, send email to pyth...@googlegroups.com.
> To unsubscribe from this group, send email to
> pythonmy+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pythonmy?hl=en.
>

--
Mohd Izhar Firdaus Bin Ismail / KageSenshi
Inigo Consulting (FOSS/Plone Development, Training & Services)
http://www.inigo-tech.com
Fedora Malaysia Contributor & Ambassador
http://blog.kagesenshi.org
92C2 B295 B40B B3DC 6866  5011 5BD2 584A 8A5D 7331

sweemeng

unread,
Nov 5, 2011, 11:58:04 PM11/5/11
to pyth...@googlegroups.com
Very cool, tornado already implement a websocket. Which socket.io will use if browser support is there. 

Much to learn I indeed have

Mohd Izhar Firdaus Ismail

unread,
Nov 6, 2011, 1:29:28 AM11/6/11
to pyth...@googlegroups.com
if you fool around with it and added features, do send patches over :D

> --
> You received this message because you are subscribed to the Google Groups
> "python.my" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/pythonmy/-/R5TnO3DqodIJ.

Reply all
Reply to author
Forward
0 new messages