AlgoDaily

Yaws (WhatsApp)

Read at your own pace. Code execution, quizzes, progress tracking, and the AI tutor are available in the interactive view with JavaScript enabled.

Introduction

In this tutorial, we are going to explore the high-level engineering and system architecture behind Yaws (Yet Another Web Server). We will also look at how it is utilized in the WhatsApp architecture.

Yaws

Yaws (Yet Another Web Server) is an open-source Erlang Web Server that is very popular due to its stability, scalability, and reliability. Many important Erlang features include Distributed Erlang, Erlang bit syntax, Erlang term storage (ETS), and the Mnesia database. Yaws is a general-purpose HTTP Web Server, so it has numerous features like AJAX support, Common Gateway Interface (CGI), application embedding, and response streaming. The core of Yaws is relatively simple and is surrounded by the implementation of these features.

CONTINUE WITH ALGODAILY PREMIUM

Keep going with the complete tutorial.

Unlock the remaining explanations and exercises, alongside the full learning library.

Explore Premium →
Open interactive view →