[OpenLayers-Users] Updating Data: Comet, Push, or What?

Michael mdm at yachtpc.com
Fri May 20 18:23:50 EDT 2011


Interesting project, that socket.io  Sort of like openlayers for updates!

On 5/20/2011 9:16 AM, Wally Atkins wrote:
> You might want to check out SocketIO ( http://socket.io/)
>
> On Fri, May 20, 2011 at 10:14 AM, Michael <mdm at yachtpc.com 
> <mailto: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 <mailto: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/180a8d01/attachment.html


More information about the Users mailing list