HomeEE · Architecture › Oak clustering ⚡ (elective)

Oak clustering ⚡ (elective)

Purpose: What author clustering with MongoMK actually involves, and the questions to answer before choosing it.

Who this page is for

AudienceWhy it matters to you
ArchitectsDeciding
Platform engineersOperating it if chosen

⚡ Elective — read when the problem is real

Default enterprise answer is TarMK author + cold standby. Clustering is for genuine author-tier scale/HA requirements that a single beefy author cannot meet.

What clustering means in 6.5

Author 1 ─┐
Author 2 ─┼──▶ MongoDB replica set (nodestore) + shared blob store
Author 3 ─┘        │
   ▲               └─ oplog, majority write concern
   └── LB with sticky sessions for authors

Multiple author JVMs share one MongoMK repository. Each maintains caches; cluster-wide consistency comes from the Mongo layer. Publish tier is unaffected (still independent TarMK instances).

The costs, honestly

CostDetail
Ops surfaceA production MongoDB replica set fleet with its own upgrade/backup/monitoring discipline
Performance profileNetwork-bound repo ops; single-author TarMK is often *faster* than a small cluster
Complexity taxesSticky sessions, cluster-aware jobs/schedulers, leader-only tasks, cache invalidation subtleties
Licensing/infraMore author instances + Mongo infrastructure

Decision questions

  1. Is the bottleneck actually author compute — or workflows/DAM processing that could offload (asset microservices patterns, dedicated workflow tuning)?
  2. Is the HA need zero-RTO, or would cold standby's minutes-RTO do?
  3. Concurrent author count: hundreds of active editors is cluster territory; dozens rarely is.
  4. Can the team operate MongoDB in production *tonight*? If not, that capability is part of the project cost.

If you proceed: dedicated Mongo expertise, production-shaped staging cluster, and load tests of author workloads (capacity planning ⚡) are prerequisites, not nice-to-haves.

Quick navigation