Adventures of writing a scalable web server from scratch

Short Form


Viewing from above, a web server isn't a particularly difficult piece of software: requests come in, responses come out. When high performance and scalability are desired, though, it is a completely different story. This talk will tell the story of Lwan, a web server written from scratch, and some of the tricks involved in making it as fast as it is.


In development for over 2 years, Lwan was until now a personal research effort that focused mostly on building a solid infrastructure for a lightweight and speedy web server. It is now slowly transitioning into a fully working, capable HTTP server.

This talk will present various milestones of the project, showcasing implementation tricks and architectural decisions used to achieve them.


linux, C, server, http, web, scalable, embedded

Speaking experience

Leandro has spoken at various conferences, including FOSDEM, Embedded Linux Conference, Tizen Developer Summit, Fórum Internacional de Software Livre, Python Brasil, etc.

Subjects are usually what I've worked on the previous year, which may or not may be weekend projects.

This will be the first time I'll be talking about Lwan to a large audience.


  • Leandro Pereira

    Intel OTC


    Leandro A. F. Pereira tinkers with computers since 8 years old. He has a bachelor’s degree in Computer Engineering by PUC Campinas, is a Senior Developer at Intel Open Source Technology Center, and a co-founding member of Laboratório Hacker de Campinas, a hackerspace in São Paulo countryside.

    He wrote some assorted utilities, with the most known being HardInfo and SuxPanel. He also contributed to projects like Claws Mail, WebKit, and the Enlightenment Foundation Libraries. He has recently gained interest in writing a web server and eventually blogs about it.

    While online, he usually hangs out in IRC, as acidx.