Pressing the [Start updates] button sends an initial client query
to G-WAN, which then sends replies at the requested interval to the client
(until the connection is closed – either by the client or the server).
In this example, a maximum of 16 values (the size of the table) are pushed
to the client (but you can pack any number of messages in one push update).
Only the stock values that has changed on the server side are transmitted.
All is event-based, so G-WAN worker threads do not block (making it possible
to feed hundreds of thousands of such clients per second while other types of
requests are satisfied).
Memory usage is not specifically optimized for Comet connections (there's
ample room for this to take place – contact us if you need to scale
Comet connections that much).