Skip to content

Architecture

Richard Warburton edited this page Jan 25, 2015 · 5 revisions

Modules

  • 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

Dependencies

  • 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 Flow

Message from a client

  1. A message is sent from a client via TCP to Framing where it is read off the wire and identified as a valid message.
  2. The message gets passed to Replication and consistently written into multiple servers.
  3. Parsing parses the message, calling callbacks into application code.

Message to a client

Clone this wiki locally