Back to Browse

How to write a Web Server in Elixir

3.2K views
Sep 9, 2021
28:59

In this video we implement our first web server in Elixir, using Plug and Plug Cowboy. We also explore some core web server concepts, as well as implement a more complex example that can serve multiple urls or entrypoints. Sections 00:00 Intro 00:16 Episode explanation 01:56 Webservers 101 06:41 Implementation of a web server 12:37 Piping in Elixir 20:42 A simple router 25:27 Logging requests 28:48 Outro Links - Plug github page: https://github.com/elixir-plug/plug - Background information about the internet today: https://ninenines.eu/docs/en/cowboy/2.6/guide/modern_web/ - Rationale for cowboy in the modern internet: https://ninenines.eu/docs/en/cowboy/2.6/guide/erlang_web/

Download

1 formats

Video Formats

360pmp444.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to write a Web Server in Elixir | NatokHD