汇总、整理常用的分布式开发技术,给出demo,方便学习。包括数据分片、共识算法、一致性hash、分布式事务、非侵入的分布式链路追踪实现原理等内容。
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 | |
This project is supported by JetBrains IDEA.