Skip to main content

Cluster Planning

Architecture planning

Choose an architecture mode based on your business needs:

Architecture modeApplicable scenarioDependency
Integrated storage and computeExtreme elastic scaling is not requiredNo shared storage required
Decoupled storage and computeCompute resources need to scale dynamicallyRequires shared storage

Port planning

Doris instances communicate over the network. Administrators can adjust port configurations based on the environment:

InstancePort nameDefault portCommunication directionDescription
BEbe_port9060FE → BEThrift Server, receives requests from FE
BEwebserver_port8040BE ↔ BEHTTP Server
BEheartbeat_service_port9050FE → BEHeartbeat service (Thrift)
BEbrpc_port8060FE ↔ BE, BE ↔ BEBRPC communication
FEhttp_port8030FE ↔ FE, Client ↔ FEHTTP Server
FErpc_port9020BE → FE, FE ↔ FEThrift Server, must be consistent across FEs
FEquery_port9030Client ↔ FEMySQL Server
FEedit_log_port9010FE ↔ FEbdbje communication

Node count planning

FE node count

FE handles user request ingress, query planning, metadata management, and node management.

Node typeRoleProduction recommendation
FollowerParticipates in elections; takes over when the Master goes down≥ 3
ObserverSynchronizes metadata only; extends read service capacityAdd as needed

BE node count

BE handles data storage and computation. Production environments use 3 replicas to ensure reliability.

RecommendationDescription
≥ 3 BEsEnsures reliable storage with 3 replicas (in integrated storage and compute mode. In decoupled storage and compute mode, the number of BEs can be 0 or more.)
Supports horizontal scalingAdding nodes improves query performance and concurrency