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

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 167

  • @RogerThat902
    @RogerThat902 4 ปีที่แล้ว +151

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

    • @hnasr
      @hnasr  4 ปีที่แล้ว +26

      Tickled Elmo haha poor youtube They are trying so hard though. You are here thats what matter. Enjoy the content! And what would you like to watch next? I keep a list of what content the community want me to make.
      Cheers!

    • @FordExplorer-rm6ew
      @FordExplorer-rm6ew 4 ปีที่แล้ว +4

      Bro I remember 3 years ago when I used to search this.
      Yt used to kind of suck.
      But over the last few years they've drastically improved their tech and programming learning.

    • @tomstravelingadventures
      @tomstravelingadventures 4 ปีที่แล้ว +4

      Blame the TH-cam algorithm!!

    • @sahej97
      @sahej97 3 ปีที่แล้ว +1

      Seriously bro..

    • @elultimopujilense
      @elultimopujilense 3 ปีที่แล้ว +1

      I was thinking the exact same thing. This content is on another level, way better than my college.

  • @Iakel345
    @Iakel345 3 ปีที่แล้ว +28

    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.

  • @htwork615
    @htwork615 2 ปีที่แล้ว +1

    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!!

  • @RidhimaMusic27
    @RidhimaMusic27 3 ปีที่แล้ว +16

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

    • @hnasr
      @hnasr  3 ปีที่แล้ว +3

      Glad it helped!! 🙏

  • @mahlodibogashu5211
    @mahlodibogashu5211 2 ปีที่แล้ว +1

    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.

  • @RedBeardedNinja
    @RedBeardedNinja 3 ปีที่แล้ว +8

    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

    • @hnasr
      @hnasr  3 ปีที่แล้ว +1

      Thank you for the love ❤️

  • @Mohanad_mmn
    @Mohanad_mmn 8 หลายเดือนก่อน

    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!

  • @naruto5437
    @naruto5437 3 ปีที่แล้ว +1

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

  • @virendrabhati6685
    @virendrabhati6685 2 ปีที่แล้ว

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

  • @jonathanduran2921
    @jonathanduran2921 2 ปีที่แล้ว +11

    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!

    • @hnasr
      @hnasr  2 ปีที่แล้ว +2

      Glad it is helpful! I keep updating that course too.
      Enjoy Jonathan

  • @ketankbc
    @ketankbc ปีที่แล้ว

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

  • @kabilr1820
    @kabilr1820 2 ปีที่แล้ว +1

    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.

  • @sandeepnegi4240
    @sandeepnegi4240 3 ปีที่แล้ว +1

    thanks for the video man this really informative

  • @scivolettomattiamaria9597
    @scivolettomattiamaria9597 ปีที่แล้ว

    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 💪

  • @Carlos-iq4th
    @Carlos-iq4th 3 ปีที่แล้ว +1

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

  • @shubhankar3164
    @shubhankar3164 4 ปีที่แล้ว +10

    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!

    • @hnasr
      @hnasr  4 ปีที่แล้ว +5

      Shubhankar Singh my pleasure! I had the same frustration, until I decided to take a year and research, read and try out everything and summarize it.

    • @danyfedorov3029
      @danyfedorov3029 4 ปีที่แล้ว +1

      @@hnasr Wow! Do you think the break was beneficial for your career? I'm thinking about doing the same, but it feels crazy because I actually have a great job rn

  • @ikechukwu1peter
    @ikechukwu1peter 2 ปีที่แล้ว

    Great video, just what I am looking for.

  • @ankitjain8255
    @ankitjain8255 4 ปีที่แล้ว

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

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Ankit Jain appreciate it Ankit! Thanks I talk about topics that particularly interests me. Glad you like the content do suggest what should I cover next

  • @hussainlokhandwala6730
    @hussainlokhandwala6730 ปีที่แล้ว

    Really good stuff!!! I like your energy

  • @jaykothari8798
    @jaykothari8798 3 ปีที่แล้ว +1

    Another amazing video. Thanks for detailed explanation to web servers.

  • @andile5945
    @andile5945 2 ปีที่แล้ว +1

    ahh, good stuff man. You are a legend!! ty

  • @gerooq
    @gerooq 4 ปีที่แล้ว +2

    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.

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      Thanks Farhan for your heartfelt comment 🙏 I am happy you are enjoying the content

    • @gerooq
      @gerooq 4 ปีที่แล้ว

      @@hnasr hell yeah I am 😂

  • @PeterBrown264
    @PeterBrown264 ปีที่แล้ว

    You are very good thank you very much .I am busy with node js and this video has made me learn alot of things Woww Brilliant God bless.

  • @alexanderbambionaah3899
    @alexanderbambionaah3899 4 ปีที่แล้ว +8

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

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      bambio naah Thank you for your comment! Very happy that the video is helping. Cheers 😊

  • @KTechy-
    @KTechy- 7 หลายเดือนก่อน

    Great video!

  • @iashishhere
    @iashishhere 4 ปีที่แล้ว +1

    Wow perfect explanation

  • @abdallahdhaou3065
    @abdallahdhaou3065 4 ปีที่แล้ว +7

    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 😀

    • @hnasr
      @hnasr  4 ปีที่แล้ว +2

      Thanks Abdallah! These are great suggestions. Adding to list

    • @relentlessrock
      @relentlessrock 2 ปีที่แล้ว

      @@hnasr I would like to look into Redis, NOSQL, Mongo DB (Atlas) and Document DB videos too.

  • @codetour
    @codetour 4 ปีที่แล้ว

    Brilliant explanation. Well done

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Thanks ! Appreciate it 😊

  • @codingmonks6084
    @codingmonks6084 ปีที่แล้ว

    You are a mad guy. I love your madness

  • @saiprajeeth
    @saiprajeeth 4 ปีที่แล้ว +1

    was been waiting for an author like you, productive and funny at the same time.

  • @doktora9292
    @doktora9292 4 ปีที่แล้ว

    Man you are crazy. I like that. Very good way of presenting stuffs, tnx :)

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Thanks!!

  • @bob-pk2ly
    @bob-pk2ly 4 ปีที่แล้ว

    Will be going through a lot of your videos. Thank you so much!!!

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Thanks! Enjoy the content and let me know if you have any suggestions or feedback so I can do better 😊

  • @mohamadelbastawesy1126
    @mohamadelbastawesy1126 3 ปีที่แล้ว

    thanks hussein , nice effort .

  • @darrenhorwitz1860
    @darrenhorwitz1860 2 ปีที่แล้ว

    Keep your videos alive ! Lol . Such a good video

  • @relentlessrock
    @relentlessrock 2 ปีที่แล้ว +1

    Loved it! Thank you. Purchased your Udemy courses. Hopefully lot more interesting content for learning purposes will continue to come.

  • @andrescastillo2863
    @andrescastillo2863 4 ปีที่แล้ว

    Hi Hussein,
    The comments feed says there are two comments, but I don't see them.
    Thank you for showing an example of Express web server.
    It drives the point home for me when you use it in your other videos, such as the sidecar pattern and building a web api with PostgreSQL and Express.

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      Andres Castillo thanks Andres, Thats how I learn too with examples.. glad you enjoyed the videos
      I too see 3 comments now no comments... weird

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      Sort by newest shows the comments .. odd

  • @beamertech1
    @beamertech1 6 หลายเดือนก่อน

    Great video for us noobs. Thanks man.

  • @parasarora5869
    @parasarora5869 3 ปีที่แล้ว +1

    Loved it !! 👍👍👏👏 ... I don't know much about load balancers but...can we create it in nodejs ?? 🤔

  • @vivamedia5958
    @vivamedia5958 2 ปีที่แล้ว

    Thank you so much sir for these great contents. can I ask more video about thread, process and how they are related to hardware? is there any limitation about number of thread in web-server? is it right that any socket is equivalent to a file in memory? and BTW I saw in other tutorial that Nodejs is not a framework. it's some sort of run time environment for Javascript based on V8 chrome engine I guess. But unfortunately can't understand what does this exactly mean.
    thank you again for these awesome tutorials.

  • @pankajholariya8331
    @pankajholariya8331 3 ปีที่แล้ว

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

    • @Duraniii
      @Duraniii 3 ปีที่แล้ว

      ◡̈⋆🅷🅸(●’◡’●)ノ

  • @alexandermcalpine
    @alexandermcalpine 2 ปีที่แล้ว

    Great Video!

  • @azizas9366
    @azizas9366 3 ปีที่แล้ว +2

    loves your channel

  • @rahuljain11100able
    @rahuljain11100able 3 ปีที่แล้ว +1

    never i had realized before how fun learning is. you have the best content and awesome explanation. i'm gonna watch every video of you :). just one request, can you please create some videos on docker and kubernetes please!!

  • @curiossoul
    @curiossoul ปีที่แล้ว

    Informative content. i have a question on max connections and threads
    The tomcat defaults are maxConnections=10,000 and maxThreads=200
    How does this work with say tomcat running on 8 core machine.
    We will never be able to serve 10K connections concurrently. So does it accept the connection and put it into waiting until one of 200 threads is free? Little hit of CPU would be used in accepting the connection as well right ?
    Also How would 200 threads work on 8 core machine. Woyldnt there be too much context switching.

  • @user-mo3cw6go7c
    @user-mo3cw6go7c 3 ปีที่แล้ว +1

    Have you a video on the relationship between Apache and PHP?

  • @Tlacoyo59a
    @Tlacoyo59a 3 ปีที่แล้ว

    Very nice. Thank you

  • @ganjargingintahyudin9774
    @ganjargingintahyudin9774 3 ปีที่แล้ว

    In this modern era, especially in containerization there are auto scaling feature in a container orchestration

  • @pantherwolfbioz13
    @pantherwolfbioz13 3 ปีที่แล้ว

    What's the raspberry pi thing? Do you need to buy one to do this or just install debian OS and try this for apache??

  • @NikhilKumar-gw6kp
    @NikhilKumar-gw6kp 3 ปีที่แล้ว

    Hello Hussein, apologies for this lengthy question, kind of two parter.
    Suppose i have 8 core machine as my server(linux) and i create 8 separate python processes(via shell script ), all running my flask web project. Then at a time the server will 8 serve separate requests?? Like multiprocessing i mean, not context switching.
    2). If i have a single thread server, then if i get 100 requests at the sametime, then my server will one request only at a time and other requests will have to wait(though very minimal, given high performing machines nowadays ,nevertheless there will be some latency,right?)

  • @tanujgupta143
    @tanujgupta143 3 ปีที่แล้ว

    If socket is a combination of IP Address and Port number(which are same for a webserver application running on port 80), how come web server is able to create a new socket for every new request?? Does socket also contain the IP/PORT Info of the client??
    PS- Thanks for the awesome content and making my life a lot easier Hussein.

  • @mahmoodabdulla5499
    @mahmoodabdulla5499 4 ปีที่แล้ว +4

    Hussain.. You are awesome! Your topics are exactly what I'm always looking for!! But it would be better if you can make it max 15 minutes.. thank you 💙

    • @hnasr
      @hnasr  4 ปีที่แล้ว +4

      Mahmood Abdulla thanks Mahmood! Ill try to break down topics into digestible pieces for sure so videos become shorter. Thanks for the suggestion..

    • @TheDesvendador
      @TheDesvendador 4 ปีที่แล้ว +3

      NOOOOOOOOOOOOO, KEEP IT THE WAY IT IS

  • @charank7852
    @charank7852 4 ปีที่แล้ว +6

    Hi ...i liked ur way of teaching, content.thanks for that ...and i have request for you that I am very confused with how Linux kernal manages resources like cpu memory. And what exactly theards , process and cores relation ...plz make a video ...thanks in advance.

    • @hnasr
      @hnasr  4 ปีที่แล้ว +2

      Thanks Charan! Spicy topic ! Be frank I know very little about deep OS concepts but that never stopped me before.. ill get to it in the future for sure! Im on database land these days

    • @charank7852
      @charank7852 4 ปีที่แล้ว

      @@hnasr ok nasser.good day

  • @TheBananaChan
    @TheBananaChan 3 ปีที่แล้ว

    It is so unusual to find such a well-explained video on TH-cam, thanks a lot ! I subscribe to your channel and I'm ready to watch your content ! :)

    • @hnasr
      @hnasr  3 ปีที่แล้ว +1

      Glad it was helpful! thanks for checking out the content of the channel!

  • @SakshamSharma-tr9fk
    @SakshamSharma-tr9fk 3 ปีที่แล้ว

    Hi knowledgable people, I have one doubt @15:34. Please ignore any inconsistencies due to my lack of knowledge.
    So if our server is being hosted by C++ (i only know this language), and
    1) I have not put any multithreading in the code that listens to request etc.,
    a) Does that make the server "Blocking Single Threaded Server"?
    b) Does that mean if, while I am serving request from client1, if client2 also sends me a Get/Post/REST request, I'll not send them any response back? Does client2 know that their message has been received or would they not receive anything (from tcp point of view and request/response point of view) and keep waiting for any response and can timeout??
    2) I have coded it in a way that spawns a new thread to cater to (process) every get/post/REST request that I receive
    a) Does that make my server non blocking? as in it can accept many requests simultaneously, however, processing for them will be done by scheduling logic of threads and response will be sent accordingly?
    If anything is very vague kindly let me know, and I appreciate the help :)

  • @brijeshkp2000
    @brijeshkp2000 2 ปีที่แล้ว

    A series on cloud technologies please 🙏

  • @anjannarla4596
    @anjannarla4596 3 ปีที่แล้ว

    if we delete a folder in bin the occupied memory does not get freed you have a Mac any suggestion?

  • @jithin_zac
    @jithin_zac 3 ปีที่แล้ว

    Great content.!, but I feel Nginx also deserves a mention in this video :D

    • @hnasr
      @hnasr  3 ปีที่แล้ว +4

      I forgot to mention it in this video so I spent 2 hours here .. 2 Hours NginX Crash Course + Bonus Content (Audio Fixed)
      th-cam.com/video/hcw-NjOh8r0/w-d-xo.html

  • @user-mo3cw6go7c
    @user-mo3cw6go7c 3 ปีที่แล้ว

    Thanks bro

  • @bhanuprakashrao1460
    @bhanuprakashrao1460 3 หลายเดือนก่อน

    16:50: Single-threded web server + docker combination where you spin up new containers will result in very inefficient use of resources. A new thread will consume lot less resources (both mem and cpu) than a new container (which has its own OS image running (however light weight it maybe, still lot compared to a thread) and many processes as part of that OS.) If the server is multi-threaded, then a lot of the overhead like OS processes will be eliminated, unlike in single threaded server running containers. So it's multi-threaded servers are better compared to single threaded, for serving same number of requests.
    But I'd like know if there are any other situations where single threaded is preferred over multi-threaded.
    Quoted a lot of obvious 😅

  • @Ting3624
    @Ting3624 4 ปีที่แล้ว +1

    Good video!
    Me like it!

  •  3 ปีที่แล้ว

    Hi man, @Hussein Nasser , just a question, when developing web page in django, am I actually developing a server also or is the server already there? If it is, which one is it?

    • @hnasr
      @hnasr  3 ปีที่แล้ว

      Django is a framework so yes you are building a web server from scratch with low level capabilities and more responsibility.. unlike using apache or caddy which is an out of the box webserver

    •  3 ปีที่แล้ว

      @@hnasr so yes i looked it up. But in documentation for django they say when deploying its better to use smtn like apache.

  • @Mrvishalt
    @Mrvishalt 3 ปีที่แล้ว

    Hi Hussein, are web servers required at all if we use CDN for caching static and use application server for dynamic content? Can TCP/IP connections be made directly with the application server itself, instead of first going through web server and then getting redirected to application servers as shown in many diagrams over the internet?

    • @hnasr
      @hnasr  3 ปีที่แล้ว +1

      Hey Vishal, CDNs are technically webserver since they do serve web content over http

    • @Mrvishalt
      @Mrvishalt 3 ปีที่แล้ว

      @@hnasr Thank you so much for your quick reply, also, thanks a ton for sharing so much knowledge, appreciate it! About above, so, the application server can accept connections directly and server user request? can app servers even take web socket connections directly without having a web server in front of them?

  • @vimaljoshi2992
    @vimaljoshi2992 ปีที่แล้ว

    16:50 I think using docker containers will be beneficial as the threads will be isolated from the other processes

    • @bhanuprakashrao1460
      @bhanuprakashrao1460 3 หลายเดือนก่อน

      Beneficial in the sense of security?
      Do you mean single threaded servers + docker containers are better than multi-threaded servers(with their own scaling)?
      I guess, docker containers will result in inefficient usage of resources but it's worth it if they are bringing other benefits like scaling, fault tolerance etc.

  • @abdelrhmanahmed1378
    @abdelrhmanahmed1378 2 ปีที่แล้ว

    so if we use containerize single threaded web servers , the number of concurrent connection we can handle will be the number of container we have right ?!

  • @devgenesis6436
    @devgenesis6436 3 ปีที่แล้ว

    What happens with serverless like aws lambda..all this stuff goes again and again? As the lambda container gets destroyed

  • @user-ei4wn6dh5v
    @user-ei4wn6dh5v 3 ปีที่แล้ว

    Great! how does nonblocking single threaded servers deal with concurrency though? Do they send off the response function to another thread, handle the next request, then callback the function when its ready?

    • @hnasr
      @hnasr  3 ปีที่แล้ว

      The operating system takes care of scheduling the requests (TCP packets) to the the web server, if the thread is available it get served if the thread is not available it get queued until the thread is available.

    • @user-ei4wn6dh5v
      @user-ei4wn6dh5v 3 ปีที่แล้ว

      @@hnasr so it handles it in the same way as a blocking single threaded... then youd want to unblock as many tasks during the api response as possible?

  • @mohamedsaif1928
    @mohamedsaif1928 4 ปีที่แล้ว +2

    bro , i like you .. جزاك الله عنا كل خير

    • @hnasr
      @hnasr  4 ปีที่แล้ว +2

      تسلم عزيزي الله يخليك، your welcome! Enjoy the content and thanks for your comment

  • @FordExplorer-rm6ew
    @FordExplorer-rm6ew 4 ปีที่แล้ว

    Dude you rock.
    What do I do with 2 instances of mysql?
    Mysql that comes with my express apps(workbench)
    And Mysql that comes with apache (phpmyadmin)
    Have configured one to listen on 3306 like normal.
    The other on another port. .
    How does this affect prod tho?
    Thats my only concern these days l, is , how is this going to affect prod?

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      I think I replied to this comment on another video, right? let me know if it make sense

    • @FordExplorer-rm6ew
      @FordExplorer-rm6ew 4 ปีที่แล้ว

      @@hnasr ok I'll check for it. Thanks for actually replying.
      You've been super helpful.
      Like, that's some meaningful stuff when someone takes the time to be helpful. I appreciate it very much @Hussein Nasser , I will find the question and let you know

  • @mysackfresse5263
    @mysackfresse5263 3 ปีที่แล้ว

    Awesome video, trying to host a tiktaktoe game, backend already done

  • @juligomez2493
    @juligomez2493 2 ปีที่แล้ว

    I LOVE UR CHANNEL, I JUST REACHED IDK WHY! BUT IS AMAZING, DIAGRAMS, PERFECT EXPLAINED, COULD U MAKE CCNA COURSE ALIKES FOR BEGGINERS?, I would LOVE It, or a paid COURSE Ill pay It!

  • @ChaitanyaBhardwaj89
    @ChaitanyaBhardwaj89 หลายเดือนก่อน

    I have a question. At which part specifically did we tell our server to handle HTTP requests? Like why is not an FTP server? Or SNMP or POP? What am I missing here?

    • @ChaitanyaBhardwaj89
      @ChaitanyaBhardwaj89 หลายเดือนก่อน

      I mean technically, and please correct me if I'm wrong, you didn't actually create a web server. It's more like an API or a web 'application' not a server. Plus you used express which is a web "framework"

  • @MohamedAshraf-uc8zo
    @MohamedAshraf-uc8zo 2 ปีที่แล้ว

    thanks

  • @harshgupta9494
    @harshgupta9494 4 ปีที่แล้ว +1

    Hi Hussein, Please make some video on OAuth and other security stuff

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Its in the backlog 👍 great idea

  • @trijit96
    @trijit96 4 ปีที่แล้ว

    Good video, Can you make a comparison on Apache vs Nginx?

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      TJ nice idea tj, I made a dedicated video about nginx. Need one for apache NginX Crash Course (Layer 4 & Layer 7 Proxy, HTTPS, TLS 1.3, HTTP/2 & More)
      th-cam.com/video/WC2-hNNBWII/w-d-xo.html

  • @vinit.khandelwal
    @vinit.khandelwal 2 ปีที่แล้ว

    What's the difference between web server and application server. Is express on NodeJS web server or application server?

    • @hnasr
      @hnasr  2 ปีที่แล้ว

      Every web server is an application server but not every application server is a web server.
      I can have an application server running on my own custom TCP protocol.

  • @henrymauricioespinozamonca3988
    @henrymauricioespinozamonca3988 3 ปีที่แล้ว

    what does it mean "out of the box" in this context of web server?, awesome video btw!

    • @hnasr
      @hnasr  3 ปีที่แล้ว +3

      Thanks! it means a webserver that you install and use immediately without any configuration or code customization.

  • @gotamp24
    @gotamp24 4 ปีที่แล้ว +1

    I am getting an error on windows machine while typing localhost on the browser:
    HTTP Error 404. The requested resource is not found.

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Gotam P that means your web server is running but it couldnt find the default index.html in the web server path. Which web server did you use?

    • @gotamp24
      @gotamp24 4 ปีที่แล้ว

      @@hnasr apache2 on ubuntu

    • @hnasr
      @hnasr  4 ปีที่แล้ว +1

      Gotam P great! Now go to /var/www/html and create index.html in that folder. Follow steps in 21:38

  • @tomstravelingadventures
    @tomstravelingadventures 4 ปีที่แล้ว +1

    Liked & Subscribed :)

  • @nagendravarma8495
    @nagendravarma8495 3 ปีที่แล้ว

    Java.net.socketexception.too many open files .. can't able to resolve the issue can you solve the problem if possible.

  • @stevenalexander6262
    @stevenalexander6262 3 ปีที่แล้ว

    I lost you at status code 418 XD

  • @khalidben9940
    @khalidben9940 2 ปีที่แล้ว

    Hussein Nasser your tutorials are amazing.If you by any chance know arabic could you please do some tutorials in Arabic this will help a lot of developers to grasp the concepts.

    • @hnasr
      @hnasr  2 ปีที่แล้ว

      I do have an arabic channel check it out th-cam.com/users/thecountedmond

  • @glenfernandes5248
    @glenfernandes5248 2 ปีที่แล้ว

    why havent you mentioned nginx here ? any perticular reason.

  • @user-wo1mh8cw3w
    @user-wo1mh8cw3w ปีที่แล้ว

    الله ينور

  • @yt.neerajkumar
    @yt.neerajkumar ปีที่แล้ว

    alert!! Because that's the only JavaScript I know... Kidding Guysssss. 🤣🤣🤣🤣Epic

  • @cheikhelghawthe8868
    @cheikhelghawthe8868 3 ปีที่แล้ว

    im alive,,,, Nice Voice :D

  • @edwinluo3515
    @edwinluo3515 4 ปีที่แล้ว

    Good

  • @dibaliba
    @dibaliba 3 ปีที่แล้ว

    17:19 httpd is the process name of Apache in OS, d mean daemon 😀

    • @hnasr
      @hnasr  3 ปีที่แล้ว

      👍👍

  • @merntech
    @merntech 2 ปีที่แล้ว

    ❤️❤️❤️❤️❤️❤️❤️

  • @abanahmed4683
    @abanahmed4683 4 ปีที่แล้ว

    😍

  • @pedrosanchezf
    @pedrosanchezf 2 ปีที่แล้ว

    I'm a teapot!!!

  • @webrevolution.
    @webrevolution. ปีที่แล้ว

    11:12
    Was that a burp? Lol.

  • @Vasily877
    @Vasily877 4 ปีที่แล้ว +6

    Your content is really good. I like your channel. But... no offence bro. You shold work on your pronunciation (It is not bad but it should be excellent for you to be able to gain more new subscribers - your content deserves that). You should pronounce your consonants more clearly.

    • @hnasr
      @hnasr  4 ปีที่แล้ว +4

      HGd 1 thank you so much! None taken, working on my English is a continuous work.

  • @rishabhsrivastava436
    @rishabhsrivastava436 2 ปีที่แล้ว

    I would prefer Multi-threaded operation

  • @DanishKhan-hd9zd
    @DanishKhan-hd9zd ปีที่แล้ว

    this video can be convered in just 20 min bro

  • @ashishyadav-tu2pd
    @ashishyadav-tu2pd 4 ปีที่แล้ว +1

    No doubt information u provided is good .....but u must pay attention to your way of delivering ...your content is related to learning some thing new and the way u speaks seems like you are describing a drama content ....must thing about it ....

  • @JayVeeDee
    @JayVeeDee 3 ปีที่แล้ว

    Oh no! Not the Denial of Attack! Haha, jokes. good video :D

  • @robinhood3841
    @robinhood3841 4 ปีที่แล้ว

    Hey can i ask something ?

    • @hnasr
      @hnasr  4 ปีที่แล้ว

      Sure !

  • @AmirElkased
    @AmirElkased 9 หลายเดือนก่อน

    26:14 I am alive 😂😂😂😂😂😂😂😂😂😂

  • @blaize1712
    @blaize1712 2 ปีที่แล้ว

    0:34 Node.js is not a framework bro🤕🤕

  • @farouksallam1779
    @farouksallam1779 3 ปีที่แล้ว +1

    هو انت مصري

    • @hnasr
      @hnasr  3 ปีที่แล้ว

      بحريني