users@grizzly.java.net

best strategy for streaming stock quotes?

From: Andrew Munn <andrew_at_nmedia.net>
Date: Thu, 20 Mar 2014 09:45:58 -0700 (PDT)

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!