Why not just use use 2 timers (using setInterval) in the server side
Javascript?

One to poll mysql every 1000ms and read all data into a Javascript
array (which won't take long with only 50 records).

One to broadcast the data to clients (from the Javascript array) every
500ms.

Though if the data is only updated once a second, there doesn't seem
much point broadcasting it twice a second.

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to