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, referred to as 1C1D.

  • Features: Easy for developers to install and deploy, with lower deployment and maintenance costs, and convenient operation.
  • Applicable scenarios: Situations with limited resources or where high availability is not a critical requirement, such as edge servers.
  • Deployment method:Stand-Alone Deployment

2. Cluster Mode

An IoTDB cluster instance consists of 3 ConfigNodes and no fewer than 3 DataNodes, typically 3 DataNodes, referred to as 3C3D. In the event of partial node failures, the remaining nodes can still provide services, ensuring high availability of the database service, and the database performance can be improved with the addition of nodes.

  • Features: High availability and scalability, with the ability to enhance system performance by adding DataNodes.
  • Applicable scenarios: Enterprise-level application scenarios that require high availability and reliability.
  • Deployment method: Cluster Deployment

3. Summary of Features

DimensionStand-Alone ModeCluster Mode
Applicable ScenarioEdge deployment, low requirement for high availabilityHigh-availability business, disaster recovery scenarios, etc.
Number of Machines Required1≥3
Security and ReliabilityCannot tolerate single-point failureHigh, can tolerate single-point failure
ScalabilityScalable by adding DataNodes to improve performanceScalable by adding DataNodes to improve performance
PerformanceScalable with the number of DataNodesScalable with the number of DataNodes
  • The deployment steps for standalone mode and cluster mode are similar (adding ConfigNodes and DataNodes one by one), with the only differences being the number of replicas and the minimum number of nodes required to provide services.