I'm crosspointing it here to get wider coverage. 

http://stackoverflow.com/questions/22569664/correct-way-to-model-a-subscriber-as-an-akka-actor

I'm planning to reengineer an existing system to use Akka, Play and 
Websockets.

My current system is based on Jetty and Websockets.

I've a fast stream of messages that are published into a Redis channel. In 
my web app layer I subscribe to these messages using a Jedis subscriber and 
then push those messages to a Websocket which are then displayed on a 
browser.

I want to make the shift two two primary reason - a) better and simpler 
fault tolerance due to use of Actors b) the ability to connect to multiple 
streams using different actors

In my current design I've a supervisor that creates a new child actor for 
every new channel. The child actor then subscribes to a Redis channel. My 
question what's the best way to push the messages (received from the Redis 
channel) to a Play Websocket ?

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to