8000 GitHub - egccri/distributed-tcp-server: An iot server template that bridge between the private protocol device and egccri.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

egccri/distributed-tcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9E8F
 
 
 
 
 
 
 
 

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

0