Skip to content

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

License

Notifications You must be signed in to change notification settings

egccri/distributed-tcp-server

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages