I am trying to create a shared server for always connected clients.
The architecture consists of 4 main components
- Stateful App Servers
- Servers without static access
- Customers
- Service Systems and Brokers
Process stream
- The client connects to the gateway
- The gateway accepts how it sends the session identifier back to the client.
- The client sends a message to the gateway
- The gateway writes the request to the message / task queue
- The daemon reads messages in the queue and forwards them to the slot for listening to the application server.
- Application server launches message through its business logic
- The application server then at a later point sends a related message to the client in the gateway queue
- , .
- " " .
Java Netty . Java.
, Mongrel2, . , Helium Urban Airship (http://urbanairship.com/blog/2010/08/24/c500k-in-action-at-urban-airship/)
:
- , - ? ?