On Thu, Nov 1, 2012 at 8:03 PM, Andy Willson <awillson
...@gmail.com> wrote:
> * Push JSON data to a server using TCP or UDP
> * Store the data in a database
> * Stream the data via Websockets to clients
You might consider using an HTTP API for pushing data to the server. Reel
supports end-to-end streaming, so it'd be pretty easy to model the incoming
data stream as chunked HTTP. Reel also supports Websockets.
For database access, use the database library of your choice (e.g.
ActiveRecord, Sequel). For this to work correctly you should probably use
an actor per connection. This is unfortunately underdocumented at the
moment but something I'd love to get documented better ;)
--
Tony Arcieri