rust/personhog-common/README.md
A living document to provide context around the architecture of the Personhog cluster.
This document lays out the overall cluster architecture and defines the responsibilities of each piece of the architecture. It should avoid getting into the implementation details of the different services.
Context for the implementation details and current state of each service lives in the README.md in the root of the respective service's folder, e.g more context on personhog-replica lives at posthog/rust/personhog-replica/README.md
The personhog cluster is composed of the following pieces:
Basic Architecture Diagram
---
title: PersonHog Cluster
---
graph TB
C[Clients] --> R[Router]
R --> RP1[PersonHog Replica BE]
R --> L1[PersonHog Leader Cluster]
L1 --> PGP[(Durable Store Primary)]
RP1 --> PGR[(Durable Store Replica)]
L1 --> MS[(Metadata Store)]
R --> MS
COORD[Coordinator] --> MS