How to do Graceful shutdown of a Nodejs server

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • In this video we will learn how to gracefully shutdown a Nodejs Express server. The logic is simple and makes your server and database free from errors.
    --------------------------------------------------------------------------
    📦FREE $100 credit @Digital Ocean: m.do.co/c/3208...
    --------------------------------------------------------------------------
    Subscribe: www.youtube.co...
    --------------------------------------------------------------------------
    💵Support the channel:
    Paypal: www.paypal.me/...
    Patreon: / trulymittal
    --------------------------------------------------------------------------
    ======================
    ✔ Other useful Playlists
    ======================
    #RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
    #API Authentication using #JWT: • NodeJS API Authenticat...
    #Firebase: • Firebase | Build a Not...
    Docker: • Docker
    MongoDB: • Learn MongoDB in 50 mi...
    Html/Css/Js: • HTML / CSS / JS
    Android: • Android
    Challenges: • Challenges
    #yoursTRULY #tutorial #howto #nodejs

Комментарии • 30

  • @iampiyush100
    @iampiyush100 Год назад +6

    Industry level material 💯💯
    Good bless you sir

  • @adarshshukla4234
    @adarshshukla4234 2 года назад +1

    Sir your video are superb, really get to learn a lot, for the next video or a series can we have nginx

  • @7doors847
    @7doors847 2 года назад

    We missed you man! Top content

  • @ayusharyal6346
    @ayusharyal6346 Год назад

    Hey, I tried to do the same in mac but it didn't call server.close for sigint or sigterm. It works fine if I'm not sending a request. But once I send a request the callback listener for those signals is called but not server.close ? Am I missing something here

  • @RIAN8835
    @RIAN8835 Год назад

    can you please make video on how to import 1 million data export with few aggregation pipelines with nodejs

  • @TharinduThisarasinghe
    @TharinduThisarasinghe Месяц назад

    This is gem of a tutorial. Thank you !!!

  • @tham-18472
    @tham-18472 28 дней назад

    Amazing content

  • @amadujalloh4700
    @amadujalloh4700 2 месяца назад

    Thank you so so much.

  • @ggnova8581
    @ggnova8581 2 года назад +1

    security in nginx also plz

  • @pugazhonline
    @pugazhonline 2 года назад +1

    Awesome video.. really useful 😎

  • @RIAN8835
    @RIAN8835 Год назад

    man you are awesome

  • @douglasamoo-sargon5049
    @douglasamoo-sargon5049 Год назад

    great tutorials. Which font type are you using

  • @developeravijit2157
    @developeravijit2157 Год назад +1

    helpful videos

  • @imasonite
    @imasonite 2 года назад

    key take away, holding ALT while pressing arrow keys moves the current line.. things you didnt know before...

  • @anujkumarjha9454
    @anujkumarjha9454 Год назад

    thanks sir, you are a saviour.
    I have one question will this work if we have user connection via websockets, I mean will the server remain active untill all users are not disconnected ?

  • @guillaumequittet9418
    @guillaumequittet9418 Год назад

    Check the graceful server library it will help a lot ;)

  • @saadahmed3581
    @saadahmed3581 2 года назад

    Hey bro, can you tell me how did you installed the operator mono font in android studio. I also want it and tried a lot but I was not able to do it. Appreciating your help. Thank you

  • @shahreazneeloy2119
    @shahreazneeloy2119 2 года назад

    I'm a big fan of yours. Please make videos on this type of advanced topic

  • @junnaid08
    @junnaid08 Год назад

    Thank you so much for this. I implemented same thing in adonisjs but it helps a lot.

  • @Lerndemy
    @Lerndemy Год назад +1

    most underrated channel

  • @music_melody_bay9
    @music_melody_bay9 Год назад

    Thank you sir

  • @mr.wazirgaming2696
    @mr.wazirgaming2696 2 года назад

    Can we get nginx next from only your side

  • @devbites77
    @devbites77 2 года назад

    Learned a lot from that. It was useful.

  • @umarmuhammadzakari4585
    @umarmuhammadzakari4585 2 года назад

    Please more of these videos

  • @SaiKumar-tg6ct
    @SaiKumar-tg6ct 2 года назад

    Will it work for pm2 stop/ pm2 restart/ pm2 kill

  • @marzukzarir1454
    @marzukzarir1454 2 года назад

    Very helpful video