Repository navigation
Server Architecture Overview
Quorum's server follows a modular architecture, divided into three distinct components. Each serves a unique purpose, and understanding their roles is critical for development, deployment, and usage.
The public server module is the central hub for Quorum. All user clients connect to this server, which is hosted once by the project maintainers. Users cannot host this as a production server themselves.
This module includes:
- User accounts, settings, and profiles.
- Groups and communities.
- Direct Messages (DMs).
Note: This module contains only the code required for the public server.
The private server module is designed for self-hosting. Users can host their own instances of this server with minimal effort or technical knowledge.
This module allows users to:
- Host their own groups or communities independently of the public server.
- Maintain full control over their data (e.g., for privacy or trust reasons).
The public server has no connection to any private server instances and is unaware of their existence.
While there are two server variations (public and private), the client-side experience is seamless:
- Users can join groups/communities hosted on either server type.
- Quorum always clarifies whether a group/community is hosted on a public or private server.
Note: This module contains only the code required for the private server.
The core module contains shared code used by both the public and private servers. It cannot be hosted independently, as it lacks the full features required to function as a standalone server.
This module:
- Reduces code duplication between
Quorum-PublicandQuorum-Private. - Centralizes shared logic (e.g., server startup, utilities, or data models).
Example: Both public and private servers use identical startup processes. By placing this code in
Quorum-Core, it avoids duplication and simplifies maintenance.
| Module | Purpose | Hosting | Key Features |
|---|---|---|---|
| Quorum-Public | Central hub for all users | Single instance | User accounts, groups, DMs |
| Quorum-Private | Self-hosted communities/groups | User-hosted | Privacy, independence |
| Quorum-Core | Shared logic for both servers | Not hostable | Code reuse, startup logic |