This repository gives demo of frequently used distributed technique, like consistent-hash, distributed-lock, distributed-transaction, leader election and so on.
Technique | Module | Status | Remark |
---|---|---|---|
consistent-hash | consistent-hash | done | |
distributed lock |
distributed-lock | doing | |
distributed transaction |
distributed-transaction | done | |
consensus algorithm |
distributed-consensus-algorithm | doing | |
leader election | leader-election | doing | |
data sharding | db-data-sharding | done | |
nginx | to do | ||
netty | wechat by netty | done | |
RPC | rpc-learning rpcfx |
done | how to write an RPC from scratch. |
Message Queue |
mq-learning | done | |
distributed-tracing | monitor-by-java-agent | done | how to write a distribted tracing framework from scratch. |
shutdown gracefully |
Springboot shuwdown methods code demo shutdown demo mindmap of how to shutdown |
done | |
circuit-breaker | circuit-breaker | done | |
gateway | api-gateway | doing | |
- iocoder
- To save time, some demos are copied from https://github.com/YunaiV/SpringBoot-Labs, in this case I will give description in README.
This project is supported by JetBrains IDEA.