Skip to content

Server Architecture Overview

jamster edited this page Aug 2, 2026 · 2 revisions

Server Architecture

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.


Quorum-Public

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.

Features

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.

Quorum-Private

The private server module is designed for self-hosting. Users can host their own instances of this server with minimal effort or technical knowledge.

Purpose

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.

Client-Side Behavior

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.

Quorum-Core

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.

Purpose

This module:

  • Reduces code duplication between Quorum-Public and Quorum-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.


Summary Table

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

Clone this wiki locally