Skip to content
Kal_X
CTO at Pazimo
All work

Learning project · in progress

My own web server

I'm learning the Rust language by building a web server from scratch.

1let cfg = Config::load("proxy.conf")?;
2let pool = Registry::from(&cfg.backends);
3// round-robin over healthy backends
4let up = pool.next().expect("no backend");

What it does

  • Reads its own settings file
  • Spreads visitors across several servers
  • Keeps a log of every visit

Why I built it

I set up this kind of software for Pazimo every week and wanted to know how it works inside.

Built with Rust

Next projectCreator Workspace