How to do Graceful shutdown of a Nodejs server

  Рет қаралды 4,921

Mafia Codes

Mafia Codes

2 жыл бұрын

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/3208f08b3324
--------------------------------------------------------------------------
Subscribe: kzbin.info...
--------------------------------------------------------------------------
💵Support the channel:
Paypal: www.paypal.me/trulymittal
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

Пікірлер: 27
@iampiyush100
@iampiyush100 Жыл бұрын
Industry level material 💯💯 Good bless you sir
@7doors847
@7doors847 Жыл бұрын
We missed you man! Top content
@shahreazneeloy2119
@shahreazneeloy2119 2 жыл бұрын
I'm a big fan of yours. Please make videos on this type of advanced topic
@pugazhonline
@pugazhonline Жыл бұрын
Awesome video.. really useful 😎
@junnaid08
@junnaid08 Жыл бұрын
Thank you so much for this. I implemented same thing in adonisjs but it helps a lot.
@devbites77
@devbites77 2 жыл бұрын
Learned a lot from that. It was useful.
@marzukzarir1454
@marzukzarir1454 2 жыл бұрын
Very helpful video
@adarshshukla4234
@adarshshukla4234 2 жыл бұрын
Sir your video are superb, really get to learn a lot, for the next video or a series can we have nginx
@RIAN8835
@RIAN8835 Жыл бұрын
man you are awesome
@Lerndemy
@Lerndemy Жыл бұрын
most underrated channel
@mafiacodes
@mafiacodes Жыл бұрын
Subscribe like share 👍
@umarmuhammadzakari4585
@umarmuhammadzakari4585 Жыл бұрын
Please more of these videos
@music_melody_bay9
@music_melody_bay9 Жыл бұрын
Thank you sir
@mafiacodes
@mafiacodes Жыл бұрын
Subscribe like share 👍
@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 ?
@douglasamoo-sargon5049
@douglasamoo-sargon5049 11 ай бұрын
great tutorials. Which font type are you using
@mafiacodes
@mafiacodes 11 ай бұрын
Operator mono
@saadahmed3581
@saadahmed3581 Жыл бұрын
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
@RIAN8835
@RIAN8835 Жыл бұрын
can you please make video on how to import 1 million data export with few aggregation pipelines with nodejs
@guillaumequittet9418
@guillaumequittet9418 8 ай бұрын
Check the graceful server library it will help a lot ;)
@ggnova8581
@ggnova8581 2 жыл бұрын
security in nginx also plz
@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
@imasonite
@imasonite Жыл бұрын
key take away, holding ALT while pressing arrow keys moves the current line.. things you didnt know before...
@SaiKumar-tg6ct
@SaiKumar-tg6ct 2 жыл бұрын
Will it work for pm2 stop/ pm2 restart/ pm2 kill
@mr.wazirgaming2696
@mr.wazirgaming2696 2 жыл бұрын
Can we get nginx next from only your side
@developeravijit2157
@developeravijit2157 Жыл бұрын
helpful videos
@mafiacodes
@mafiacodes Жыл бұрын
Glad to hear that
Slideshow animation using Framer motion in React
38:21
Mafia Codes
Рет қаралды 15 М.
How to scale NodeJs applications using the cluster module.
13:37
Mafia Codes
Рет қаралды 49 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 18 МЛН
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,3 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 3,7 МЛН
Automatic SSL using Caddy Server: Nodejs reverse proxy
18:59
Mafia Codes
Рет қаралды 12 М.
JavaScript Event Loop: How it Works and Why it Matters in 5 Minutes
7:20
Node.js Rocks in Docker #docker #devops #nodejs
0:31
How to use JWT with RSA key-pair in micro-services. (JWKS.JSON)
40:05
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 473 М.
MySQL vs MongoDB
5:30
IBM Technology
Рет қаралды 148 М.
#da1 part 4 of making Edith
2:13
Bhavy Sharma
Рет қаралды 2
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 18 МЛН