Skip to main content

MongoDB, application data storage

MongoDB is used by Hublot as the primary database for storing application data. It hosts all persistent information needed by the platform: users, organizations, collaborative spaces, metadata, application state, etc.

The currently used and supported version is MongoDB 8. No specific or non-standard configuration is required to use MongoDB with Hublot.


MongoDB's role in the Hublot architecture

MongoDB acts exclusively as business data storage.

Hublot relies on MongoDB for:

  • user account persistence
  • organization and permission management
  • storage of collaborative spaces and their metadata
  • tracking application state

MongoDB is not exposed directly to clients. It is only accessible by authorized Hublot services.


Supported version

Hublot is compatible with:

  • MongoDB 8.x

Using an official, maintained version is strongly recommended to benefit from:

  • security fixes
  • performance improvements
  • and storage engine evolutions

MongoDB can be deployed according to standard infrastructure practices:

  • native binary installation
  • Docker deployment
  • or integration into an existing cluster

For production environments, it is recommended to use a replica set to ensure:

  • high availability
  • fault tolerance
  • and service continuity during maintenance operations
  • 3 MongoDB nodes (replica set)
  • Persistent disk storage
  • Private or isolated network

Hublot-specific configuration

No particular configuration is required for Hublot.

MongoDB is used with:

  • default settings
  • the standard storage engine
  • native replication and journaling mechanisms

Hublot connects to MongoDB via a standard connection string, provided by the environment variable:

MONGO_URL=mongodb://...