Deployment form

IoTDB has two operation modes: standalone mode and cluster mode.

1. Standalone Mode

An IoTDB standalone instance includes 1 ConfigNode and 1 DataNode, i.e., 1C1D.

  • Features: Easy for developers to install and deploy, with low deployment and maintenance costs and convenient operations.
  • Use Cases: Scenarios with limited resources or low high-availability requirements, such as edge servers.
  • Deployment Method: Stand-Alone Deployment

2. Dual-Active Mode

Dual-Active Deployment is a feature of TimechoDB, where two independent instances synchronize bidirectionally and can provide services simultaneously. If one instance stops and restarts, the other instance will resume data transfer from the breakpoint.

An IoTDB Dual-Active instance typically consists of 2 standalone nodes, i.e., 2 sets of 1C1D. Each instance can also be a cluster.

  • Features: The high-availability solution with the lowest resource consumption.
  • Use Cases: Scenarios with limited resources (only two servers) but requiring high availability.
  • Deployment Method: Dual-Active Deployment

3. Cluster Mode

An IoTDB cluster instance consists of 3 ConfigNodes and no fewer than 3 DataNodes, typically 3 DataNodes, i.e., 3C3D. If some nodes fail, the remaining nodes can still provide services, ensuring high availability of the database. Performance can be improved by adding DataNodes.

  • Features: High availability, high scalability, and improved system performance by adding DataNodes.
  • Use Cases: Enterprise-level application scenarios requiring high availability and reliability.
  • Deployment Method: Cluster Deployment

4. Feature Summary

DimensionStand-Alone ModeDual-Active ModeCluster Mode
Use CasesEdge-side deployment, low high-availability requirementsHigh-availability services, disaster recovery scenariosHigh-availability services, disaster recovery scenarios
Number of Machines Required12≥3
Security and ReliabilityCannot tolerate single-point failureHigh, can tolerate single-point failureHigh, can tolerate single-point failure
ScalabilityCan expand DataNodes to improve performanceEach instance can be scaled as neededCan expand DataNodes to improve performance
PerformanceCan scale with the number of DataNodesSame as one of the instancesCan scale with the number of DataNodes
  • The deployment steps for Stand-Alone Mode and Cluster Mode are similar (adding ConfigNodes and DataNodes one by one), with differences only in the number of replicas and the minimum number of nodes required to provide services.