🗄️Cloud DB

Experience the power of Cloud DB in Unity with HMS Unity Plugin, offering extensive guides and resources for implementation.

Cloud DB uses cache mode or local mode for synchronization and data is synchronized by the Cloud DB zone. During application development, you can select a data synchronization mode for each Cloud DB zone based on application requirements. The cache mode and local mode can be used together or separately. The detailed information about the cache mode and local mode is as follows:

  • Cache mode

    In this mode, you can implement device-cloud data management and synchronize data between the device and cloud or among multiple devices. Application data is stored on the cloud, and data on the device is a subset of data on the cloud. If the persistent cache is allowed, Cloud DB supports the automatic caching of query results on the device. When data is cached, the data that is not synchronized locally is not overwritten.

  • Local mode

    In this mode, you can only operate the local device data, and data cannot be synchronized between the device and cloud or among multiple devices.

The following figure shows the Cloud DB-based application development processes.

Last updated