users@grizzly.java.net

Re: best strategy for streaming stock quotes?

From: Nasir Rasul <nasir.rasul_at_gmail.com>
Date: Thu, 20 Mar 2014 15:47:56 -0400

There is also atmosphere.

https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-The-Atmosphere-Framework-and-WebSocket

sent from nexus of kitkats
On Mar 20, 2014 2:41 PM, "Matthew Tretin" <mwsltn_at_gmail.com> wrote:

> You may want to check out socket.io, its not grizzly (I know sort of off
> topic) but its a streaming / push framework that supports everything from
> web sockets to long poll (comet)
>
> Basically its JS library that auto selects the best method for this sort
> of communication on the client side while provided a unified server side
> API.
>
> -mst
>
>
> On 3/20/14, 12:45, "Andrew Munn" <andrew_at_nmedia.net> wrote:
>
> >What would be the best strategy for streaming realtime stock prices to a
> >number of client web pages over the internet(not just a LAN)? messages
> >will be small (under 16 bytes) but numerous and minimal latency would be
> >ideal.
> >
> >The idea is a browser opens a web page from Server #1, on that page is an
> >area where prices are displayed. Server #2 feeds those prices into that
> >page and they're displayed. Should Server #2 be using:
> >
> > WebSockets?
> >
> > Comet? (HTTP Streaming? Long Polling?)
> >
> >
> >Thanks!
>
>
>