Overview
Explore the fundamentals of web servers and their operation in this comprehensive video tutorial, featuring examples using httpd and Node.js. Learn about the software that serves web content through the HTTP protocol, forming the foundation of the internet and hosting websites and web APIs. Discover how web servers can serve both static and dynamic content, and understand the differences between out-of-the-box solutions like Apache Tomcat or IIS and custom-built servers. Dive into the inner workings of web servers, including the process of listening on ports, handling client requests, establishing TCP connections, and managing HTTPS with TLS. Compare blocking single-threaded HTTP servers with more efficient implementations that can handle multiple requests simultaneously. Gain practical knowledge through code examples demonstrating Apache (httpd) and Node.js web servers, and explore various web server options such as Apache, Tomcat, Node.js http-server, Express, and Python Tornado.
Syllabus
Intro
What is web server?
How web servers work?
Blocking single threaded web server
Code example Apache httpd
Code example NodeJS
Taught by
Hussein Nasser