Skip to content

Commit

Permalink
improved architecture.md a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
qusma committed Jul 13, 2021
1 parent b52d566 commit 9767d21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions architecture.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Here's a rough overview of how the systems are connected to each other. Broadly, requests come in over the network through the servers, and are passed to the approriate broker. Data is then acquired from external data sources and/or the local DB, returned to the broker, sent up to the server, and finally back to the client over the network.

![Layer Overview](http://i.imgur.com/oRbwoiG.png)
Here's a rough overview of how the systems are connected to each other.

![Layer Overview](https://qusma.com/images/qdms-architecture-diagram.png)


Requests come in over the network through the servers, and are passed to the approriate broker. Data is then acquired from external data sources and/or the local DB, returned to the broker, potentially stored to the DB, then sent up to the server, and finally back to the client over the network.


## Servers
Expand All @@ -12,7 +12,7 @@ Network communication happens in two ways: over ZeroMQ and over HTTP(S).

### ZMQ

This method is reserved for queries with high performance requirements, specifically the main data transfer functionalities. The main code is in RealTimeDataServer and HistoricalDataServer, and communication happens using protobuf for serialization and LZ4 for compression.
This method is reserved for queries with high performance requirements, specifically the main data transfer functionalities. The main code is in RealTimeDataServer and HistoricalDataServer. The messages are serialized using protobuf and compressed with LZ4.

### HTTP

Expand Down

0 comments on commit 9767d21

Please sign in to comment.