[OpenLayers-Users] Updating Data: Comet, Push, or What?
Wally Atkins
wallyatkins at gmail.com
Fri May 20 12:16:05 EDT 2011
You might want to check out SocketIO (http://socket.io/)
On Fri, May 20, 2011 at 10:14 AM, Michael <mdm at yachtpc.com> wrote:
> Greetings Mappers!
>
> I've built a trans-pacific charting application intended to be used for
> near real-time sailboat tracking.
>
> I want to update positions without users having to press "refresh." While
> a loop fetching data and updating works for that purpose, we expect, from
> prior experience, around 90k viewers a day during the actual race (July
> 2012). Data will consist of around 70 new points, plus some social
> networking links, per hour.
>
> It seems that the "long polling" method or, worse, looped queries, can lead
> to server overload. Web searches keep leading me to Comet and Ape, but it
> seems that nobody has done any work on these since 2009.
>
> Can someone in the community enlighten me on what the best thinking is for
> updating the data on the clients efficiently? Has the field been taken over
> by mixed commercial enterprises like Lightstreamer? I'd sure like to stay
> 100% open source.
>
> Michael
>
> p.s: Simulation at http://pacificcup.org/OpenLayers/trackup.php
> A server is set to trickle data out every minute or so. You'll need to
> pick the boat from the menu at the left.
>
> m
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110520/9254a41b/attachment.html
More information about the Users
mailing list