Skip to content

DRPC: A full replacement for gRPC in under 3kloc

storj.github.io
10 pointsjtolds2 comments
On HN

Comments

I'm curious what this implementation chose to remove ('strips out huge swaths of unnecessary complexity').

For example, it doesn't use HTTP/2 (which has a ~100 page RFC and compiles to a ~2MB object file), does not have any load balancing or name resolution engine, and does not handle connection pooling or multiplexing.

Granted, one person's unnecessary is another person's necessary. But since DRPC has a modular design based on small interfaces, many features that are rarely used in gRPC can be excluded and left up to third parties to implement if they want.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.