What are web servers and how do they work (with examples httpd and nodejs)

preview_player
Показать описание
A web server is a software that Serves web content through the HTTP protocol. It is the foundation of the internet and any website out there must be sitting and hosted on a web server. Web APIs can also be hosted on some sort of a web server. A web server can serve static or dynamic content. You can use an out of the box web servers such as apache tomcat or IIS or you can write your own from scratch to expose pieces of functionalities such as API. In this video we will explain what is a web server, how it works and we will then go through and spin off two types of web servers. Im going to put jump codes so you can skip to your favorite part of the video.

Chapters
0:00 Intro
2:13 What is web server?
7:40 How web servers work?
10:00 Blocking single threaded web server
19:00 Code example Apache (httpd)
29:00 Code example NodeJS

- What is a web server?
- [ ] Software that serves web content
- [ ] Uses HTTP protocol
- [ ] Static and dynamic
- [ ] Used to host web pages or APIs.
- How it works? (Slide)
- process starts and listen to a port (usually 80) , a client makes a request to the web server, this establishes a TCP connection between client and server if its HTTPS it does TLS, then finally the GET request get sent. Now different implementation of webservers shine here, some servers use the same process to execute the request on the main thread. Which means the server cant accept any more requests until that is done this is referee to as Blocking single-threaded HTTP server). Other web servers implement this different and accepts new requests all the time and start new thread of execution.
- Examples
- Web servers (apache, tomcat, nodejs http-server, NodeJS express, Python Tornado 🌪
- Demo (tomcat and nodejs)
-

Stay Awesome!
Hussein
Рекомендации по теме
Комментарии
Автор

I'm suing youtube for not giving me this good stuff sooner. Great channel, wish i would have found it earlier.

RogerThat
Автор

You are a good educator, you combine a great blend of lecture-like content, with practical implementation of theory in a follow through example. Thanks so much.

Iakel
Автор

Found your channel today, Been learning a lot more how things work in the Deeper IT world, Thank you for explaining it all in such great context and visual learning. I will share your channel with any who are also learning

RedBeardedNinja
Автор

Awesome video, was searching for a video that gives proper knowledge on how servers work In detail. Got all my questions answered . Thank you!!

RidhimaMusic
Автор

Awesome stuff as usual Hussein. I bought the data engineering course about a year ago on Udemy and still use it constantly as a reference in my day-to-day. Thanks a ton for the content!

jonathanduran
Автор

You are the greatest teacher Hussein. All these graphical stuff, the way of teaching, the words that you choose, your method, the topics... Every one of them just great, making my life easier. Thank you so much!!

htwork
Автор

This just unlocked my brain on a whole new level. For ages, I had been trying to get knowledge on all this and it just felt like I was smashing my head in a wall... Thank you soo soo much!

shubhankar
Автор

Thank you man, I was here just to learn about Apache, and the moment I saw the video that long I was planning to skip, but it was actually fun watching the full video. It's wasn't boring at all. Keep it up!

Mohanad_mmn
Автор

महोदय, मैं आपके शिक्षण का बहुत बड़ा प्रशंसक हूं। आप एक शानदार शिक्षक हैं सर। बहुत बहुत धन्यवाद .... :D

pankajholariya
Автор

I guess I'm the blessed one finding this at the right time, keep up the good work sir your energy kept me through the video effortlessly.

mahlodibogashu
Автор

Im overwhelmed.. such a huge content to watch.. don’t know from where to start

ketankbc
Автор

First time watching your video, Subscribed..., What an explanation!!!, Great video sir. You have answered all the questions in my mind regarding web server. Thanks a lot.

kabilr
Автор

This video is something that unluckily I didn't found in my language, anyways, lovely video!

Carlos-iqth
Автор

I'd like you to make a video in which you give an overview of Apache http server, the installation process and the configuration files, just to understand how it works at a fundamental level. Thank you for your job anyway. You have my support 💪

mattiamaria
Автор

Well done 👌

Very informative and well explained, I hope you make a video about varnish ( http accelerator) and redis ( caching db) and most important you use examples 😁

Keep it up my friend 😀

abdallahdhaou
Автор

Oh my God. You are demystifying everything for me. Thamk you Hussein

alexanderbambionaah
Автор

I think you have the greatest content and best topic selection criteria..just loved it..Wish best for you..

ankitjain
Автор

Man your videos are awesome. Extremely helpful — I love your emphasis on pros and cons of everything — and your personality just shines. Awesome stuff man. Definitely keep it up. Wish you happiness in your life.

gerooq
Автор

so glad i found this channel...pretty awesome content

naruto
Автор

Greatly explain about Web server and TCP socket. Thanks again 👍

virendrabhati