Skip to main content

Common Scenarios

Read/write splitting

MongoDB uses the architecture of three-node replica sets to guarantee high availability. Three data nodes are located on different physical servers and automatically synchronize data. The primary and secondary nodes are configured with different endpoints. MongoDB drivers allocate read/write requests to them.

Flexible business scenarios

MongoDB has no schema and is suitable for startup business needs. You do not need to worry about changing schemas.

IoT scenarios

MongoDB has features such as high performance and asynchronous data writing. It can achieve the processing capability of an in-memory database in specific scenarios. In a sharded cluster instance of MongoDB, you can adjust the configuration and quantity of mongos and shards to improve performance and expand storage space without limits. MongoDB is suitable for IoT scenarios with highly concurrent write operations.