Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 759 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 759 Bytes

iot-server-template

An iot server that bridge between the private tcp protocol device and egccri.

[WIP] Distributed version use openraft.

Quick start

cargo build
./target/debug/iot-server-template -c ./config/cluster/cluster_1.toml
./target/debug/iot-server-template -c ./config/cluster/cluster_2.toml
./target/debug/iot-server-template -c ./config/cluster/cluster_3.toml

How tcp server worked.

how it worked

Cluster arch.

cluster arch

Raft storage

Raft storage is an optional embedded distribute storage for the cluster router component, and it based on openraft.

The other way is redis.

Raft storage RPC calls

RPC calls