No video

Here's why you need Nginx as a Reverse Proxy for your Node.js app

  Рет қаралды 21,545

Software Developer Diaries

Software Developer Diaries

8 ай бұрын

Using Nginx with Node.js as a Reverse Proxy brings a lot of benefits such as Load Balancing, SSL encryption, buffering, caching and much more. Let's learn why everyone uses it and why you should too.
======⚡⚡⚡======
Consider becoming a member of the channel by joining me ❤️
/ @softwaredeveloperdiaries
👉 Try Eraser: www.eraser.io
======⚡⚡⚡======
🙌 Become my Patreon and get exclusive perks: / softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: / gusgadirov
💻 Also, let's connect on GitHub: github.com/gusgad
📚 Resources:
My video on Load Balancers: • The Ultimate Guide to ...
My video on Caching: • Deep Dive into HTTP Ca...
Advanced Node.js playlist: • Advanced Node.js
My System Design and Architecture playlist: • System Design and Arch...
Code: github.com/gusgad/youtube-tut...
Nginx docs: nginx.org/en/docs/
Slowloris attack: www.cloudflare.com/learning/d...
And don't forget to subscribe for more videos like this 😊

Пікірлер: 25
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 8 ай бұрын
Are you using a reverse proxy too? 🤔
@KinoPM2
@KinoPM2 Ай бұрын
Modlishka
@darrenpierre9903
@darrenpierre9903 8 ай бұрын
Loving this video series , learning a ton from it . I'm a recent computer science graduate and I want to get more into system design . Your videos have been helping me so much
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 8 ай бұрын
Great to hear mate, best of luck!
@AdityaParmar-dr7gu
@AdityaParmar-dr7gu Ай бұрын
You are great ! thanks for content almost seeing all video of advance nodejs of yours
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries Ай бұрын
Glad you like them! 😎
@chrisalexthomas
@chrisalexthomas 8 ай бұрын
FYI: the action of serving https to nginx, but then http upstream, is called "SSL(or TLS) Termination", it's very common for edge or gateway like setups, also SSL communications is cpu intensive to encrypt all the traffic, so you just don't want that internally since it's a waste of resources
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 8 ай бұрын
Thanks for the hint mate! Very useful ❤️
@guseynismayylov1945
@guseynismayylov1945 7 ай бұрын
If you use Cluster API on a machine with 8 or 16 cores (which is more than enough for average project), you would have just one https server with built in load balancer.
@DigitalAlchemyst
@DigitalAlchemyst 6 ай бұрын
Slowloris still to this day is one of the nastiest exploits in ddos. With proper configuration the right hacker can take down rather beefy servers with just one machine, no bot net, no hacker army DDOSing, just one machine with 1-4 slowloris scripts and its lights out and bills up
@guseynismayylov1945
@guseynismayylov1945 7 ай бұрын
If you ever tried to build your app with Node.js Cluster API and did in a proper way, there is no way back to reverse proxy. It's amazing how many people who use RP are not even aware of Cluster API, I am glad that the author of this video at least knows about it. Cluster API can handle enterprise solutions, even some benchmarks show that Node.js is better than NGNIX. I just don't understand this attitude, if you can build something without external dependency or a service, why at least not try it? This is why we have microservices, because people don't understand the cost of bringing external dependencies into the system.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 7 ай бұрын
Thanks for your comment! I haven't used the Cluster mode in production yet, so wasn't able to give a direct comparison in the video 🙂
@adwaitbokade2890
@adwaitbokade2890 8 ай бұрын
Good One, I liked you videos, I would love if you make custom video on nginx load Balancing using Nodejs, just like how enterprise loading balancing is done !!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 8 ай бұрын
I'll consider it, thanks for the idea! :)
@brickstv3156
@brickstv3156 7 ай бұрын
does render do this for you ?
@shamstabrez2986
@shamstabrez2986 6 ай бұрын
DO A IN DETAIL SESSION ON PM2 DONT CREATE SHORT SESSION PLZ HOWPM2 WORKS IN WHAT SCENARIO IT CAN HELP AND WHICHALL LANGUAGE I CAN USE PM2
@shaiknadeen
@shaiknadeen 8 ай бұрын
nice mustache
@edhahaz
@edhahaz 4 ай бұрын
it's because node doesn't have all the features, got it... but now we got nextjs
@KinoPM2
@KinoPM2 Ай бұрын
looked for copper found gold
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries Ай бұрын
Let’s goo 🔥
@AliSajidCS
@AliSajidCS 8 ай бұрын
get rid of the mustache
@andrewandrosow4797
@andrewandrosow4797 6 ай бұрын
An embedded proxy server for Nginx - is in Moscow, in the FSB. Because it is a russian software
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 6 ай бұрын
Hasbulla confirms
@-boiadeiro-
@-boiadeiro- 6 ай бұрын
Да, это так. Мы следим за вами. Хорошего дня.
@andrewandrosow4797
@andrewandrosow4797 6 ай бұрын
@@-boiadeiro- напиши отчет начальнику отдела - "напугал украинца до смерти".😂
How to use "Streams" to improve performance in Node.js?
12:22
Software Developer Diaries
Рет қаралды 20 М.
Node.js Security Best Practices: JWT blacklisting, rate limiting, schema validation
12:02
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 30 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 45 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 38 МЛН
Proxy vs Reverse Proxy (Real-world Examples)
5:17
ByteByteGo
Рет қаралды 535 М.
Mastering Memory Management in Node.js: Tips and Tricks for Better Performance
16:06
Software Developer Diaries
Рет қаралды 30 М.
How to structure a JS/TS monorepo (From Zero to Turbo - Part 1)
11:58
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 209 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 638 М.
Node.js Project Structure and Architecture Best Practices
7:38
Software Developer Diaries
Рет қаралды 27 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 275 М.
What is NGINX and how reverse proxies work?
10:16
Mehul - Codedamn
Рет қаралды 68 М.