Architecture
In order to form a robust database cluster and keep complexity at an acceptable level, there are three main components in GreptimeDB architecture: Datanode, Frontend and Metasrv.
- Metasrv is the central command of GreptimeDB cluster. In typical deployment, at least three nodes is required to setup a reliable Metasrv mini-cluster. Meta manages database and table information, including how data spread across the cluster and where to route requests to. It also keeps monitoring availability and performance of _Datanode_s, to ensure its routing table is valid and up-to-date.
- Frontend is a stateless component that can scale to as many as needed. It accepts incoming request, authenticates it, translates it from various protocols into GreptimeDB cluster’s internal one, and forwards to certain _Datanode_s under guidance from Metasrv.
- Datanodes hold regions of tables in Greptime DB cluster. It accepts read and write request sent from Frontend, and executes it against its data.
These three components will be combined as GreptimeDB standalone mode, for local or embedded development.
You can refer to architecture in developer guide to learn more details about how components work together.
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .