-
Notifications
You must be signed in to change notification settings - Fork 121
Architecture
Richard Warburton edited this page Jan 25, 2015
·
5 revisions
- The Framing Module handles incoming requests from TCP connections and identifies individual messages from a constant stream of TCP stream data.
- The Replication Module
- The Parsing Module
- The Logging Module
- Framing can be used with the Parsing independent of Replication and Logging to deal with client connections in the case of systems that have their own replication.
- Replication just deals in terms of replicating writing messages
- Parsing
- Logging depends on the Replication Module
Message from a client
- A message is sent from a client via TCP to Framing where it is read off the wire and identified as a valid message.
- The message gets passed to Replication and consistently written into multiple servers.
- Parsing parses the message, calling callbacks into application code.
Message to a client