finds.dev← search

// the find

youngyangyang04/RPC-Java

★ 692 · Java · updated Apr 2026

【代码随想录知识星球】项目分享-手撕RPC框架🔥

A teaching project that builds an RPC framework from scratch in six incremental versions, starting with raw sockets and ending with Netty, ZooKeeper service discovery, load balancing, circuit breaking, and Zipkin tracing. It's aimed squarely at Chinese Java developers preparing for backend interviews, not at anyone building production infrastructure.

The incremental version structure is genuinely good pedagogy — you can read version1/part1 and understand exactly what gets added in part2, rather than being dropped into a complete framework and reverse-engineering it. The tech stack choices (Netty, ZooKeeper, protobuf, SPI) mirror what Dubbo actually does, so the concepts transfer. Version 6 adding method-level retry granularity and Zipkin integration shows the project hasn't stalled at toy-level. The directory tree shows compiled .class files checked in, which means anyone can inspect bytecode without a build step.

The real content — explanations, interview Q&A, resume phrasing — is paywalled behind a Chinese knowledge community subscription, so the public repo is mostly source code with no documentation explaining design decisions. There are no tests anywhere in the visible tree; the framework teaches you to build RPC infrastructure but not how to verify it works. ZooKeeper is a heavyweight dependency for a learning project — Consul or even a simple in-memory registry would reduce setup friction significantly. The compiled target/ directories are committed to the repo, which is just noise and inflates clone size.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →