Skip to content

Instantly share code, notes, and snippets.

@plu
Created September 23, 2011 08:04
Show Gist options
  • Save plu/1236941 to your computer and use it in GitHub Desktop.
Save plu/1236941 to your computer and use it in GitHub Desktop.
[:WebBrowser] [:WebApp] [:WebSocket] [:RabbitMQ] [:Worker]
| | | | |
|-------- Login --------->| | |<-- Create Worker Queue --|
| | | | |
|<--- Response (ExtJS) ---| | | |
| | | |
|----------- Connect (socket.io) --------->| | |
| | | |
| |-- Create Client Queue -->| |
| | | |
|<-- Send Message: "RabbitMQ: connected" --| | |
| | | |
|------------- Send Message -------------->| | |
| | | |
| |---- Forward Message ---->| |
| | (Worker Queue) | |
| | | |
| | |---- Deliver Message ---->|
| | | |
| | |<----- Send Message ------|
| | | (Client Queue) |
| | | |
| |<---- Deliver Message ----| |
| | | |
|<------------ Display Message ------------| | |
| | | |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment