[web2py] Re: components and timers

2011-06-06 Thread Massimo Di Pierro
look into gluon/contrib/comet_messaging.py On Jun 6, 5:08 pm, blackthorne francisco@gmail.com wrote: hi Let's say I have a component that gets the last 10 tweets from some list or that shows current CPU and memory metrics and requires to be cyclically reloaded once every 5 mins for

[web2py] Re: components and timers

2011-06-06 Thread blackthorne
thank you On Jun 6, 11:15 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: look into gluon/contrib/comet_messaging.py On Jun 6, 5:08 pm, blackthorne francisco@gmail.com wrote: hi Let's say I have a component that gets the last 10 tweets from some list or that shows current

Re: [web2py] Re: components and timers

2011-06-06 Thread Stifan Kristi
hi, massimo did you have the documentation for do this? thank you so much On Tue, Jun 7, 2011 at 5:15 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: look into gluon/contrib/comet_messaging.py On Jun 6, 5:08 pm, blackthorne francisco@gmail.com wrote: hi Let's say I have a

Re: [web2py] Re: components and timers

2011-06-06 Thread David J
Seeing that comet is not widely supportted I was wondering if there was an ajax poll example? On Jun 6, 2011 6:15 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: look into gluon/contrib/comet_messaging.py On Jun 6, 5:08 pm, blackthorne francisco@gmail.com wrote: hi Let's say I

Re: [web2py] Re: components and timers

2011-06-06 Thread Anthony
On Monday, June 6, 2011 7:47:48 PM UTC-4, David J wrote: Seeing that comet is not widely supportted I was wondering if there was an ajax poll example? I think there's some terminology confusion. comet *is* widely supported, as it involves long-held HTTP requests via streaming or Ajax

Re: [web2py] Re: components and timers

2011-06-06 Thread Anthony
Getting back to the original question, if the refreshes need to happen at fixed (and not too frequent) intervals (rather than at indeterminate times, whenever the data happen to be ready), it may be simpler to just use short-polling -- see

Re: [web2py] Re: components and timers

2011-06-06 Thread Bruno Rocha
I am using comet for an application, and it is working fine, notice that i am running 2 servers on linode, one is only for host the queue. For compatibility I am using this https://github.com/gimite/web-socket-js (it is flash based, but works fine and even facebook and grooveshark uses this)