Skip to content
← ALL R&D
ACTIVENetworkingProxiesPerformance Engineering

Building a Reverse Proxy From Scratch

Implementing HTTP request routing, connection handling and load distribution without a framework, to understand what a proxy actually does.

PROBLEM

What does a production reverse proxy actually have to handle, below the abstraction of nginx or Envoy config?

SOFTWARE

TCP/HTTP, custom implementation

ENGINEERING

  • Connection handling and request routing
  • Header rewriting and upstream selection
  • Failure handling and backpressure

RESULT

An active area of networking research — findings are published in the engineering notes as they develop.

WE DON'T JUSTBUILD PRODUCTS.WE INVESTIGATE PROBLEMS.