HomeInfrastructure & Architecture › Storage: TarMK, MongoMK & the datastore

Storage: TarMK, MongoMK & the datastore

Purpose: Understand where the repository physically lives and the practical differences between storage options.

Who this page is for

AudienceWhy it matters to you
Backend/platform engineersContext for maintenance, backup and performance topics

The layers

LayerHoldsOptions
Node storeThe content tree (nodes/properties)TarMK (segment files on disk) or MongoMK (MongoDB)
Data storeLarge binaries (assets) — referenced by node storeFileDataStore, S3/Azure datastore

TarMK vs MongoMK in one table

TarMK (default)MongoMK
StorageAppend-only segment tar files, local diskMongoDB replica set
PerformanceExcellent read/write for single nodeNetwork-bound; scale-out
TopologyOne instance per repo (+ cold standby)Multiple author instances (clustering)
Ops burdenCompaction (revision GC)MongoDB fleet + oplog care
WhenDefault choice for 6.5, including most enterprisesGenuine author horizontal-scale needs (elective territory)

Publishers are effectively always TarMK. Author clustering via MongoMK is the elective covered in Oak clustering.

Practical consequences

Quick navigation