All Products
Search
Document Center

ApsaraDB for MongoDB:Service architecture

Last Updated:Dec 13, 2024

This topic describes the architectures and components of ApsaraDB for MongoDB.

Service architecture

MongoDB系统架构

Components

  • Task control system

    ApsaraDB for MongoDB instances support various tasks, such as instance creation, configuration change, and instance backup. The system manages and tracks tasks in a flexible manner, and handles errors based on the operation instructions that you send.

  • HA control system

    The system acts as a high-availability detection module to detect the running status of ApsaraDB for MongoDB instances. If the system determines that the primary node of an ApsaraDB for MongoDB instance is unavailable, the system fails over to a secondary node to maintain the availability of the instance. You can also manually perform a switchover between the primary and secondary nodes. For more information, see Switch node roles.

  • Log collection system

    The system collects the running logs of ApsaraDB for MongoDB, such as slow query logs and audit logs. For more information, see Log management and Enable the audit log feature.

  • Monitoring system

    The system monitors the performance of ApsaraDB for MongoDB instances and collects information such as the basic metrics, disk capacity, access requests, and IOPS of the instances. For more information, see Basic monitoring.

  • Backup system

    The system backs up ApsaraDB for MongoDB instances and stores generated backup files in Object Storage Service (OSS). The system allows you to customize a backup policy to manually or automatically back up the instances. The system retains the backup files for up to seven days. For more information, see Configure automatic backup for an instance and Configure manual backup for an instance.

  • Online migration system

    If the physical server on which an instance resides fails, the system creates an instance from the backup files in the backup system to prevent impacts on your business. For more information, see Data migration and synchronization.

Architectures of ApsaraDB for MongoDB instances