5 results for:

"Node.js"
Let’s Handle 1 Million Requests per Second, It’s Scarier Than You Think!
2h 40m
104

Let’s Handle 1 Million Requests per Second, It’s Scarier Than You Think!

intermediate

Let's see what it's like to handle 1 million HTTP requests per second! In this video, we will set up a powerful infrastructure on AWS and handle more than a million requests per second. We will deal with Node.js, C++, PostgreSQL and Redis. Understanding Node.js Core Concepts Course: https://www.cododev.ca/uncc ------------------------------- SOURCE CODES: ------------------------------- Node.js Source Code: https://github.com/agile8118/node-1m-rps C++ Source Code: https://github.com/agile8118/cpp-1m-rps Tester Source Code: https://github.com/agile8118/1m-rps-tester ------------------------------- CHAPTERS: ------------------------------- Introduction 00:00 CPU Utilization & Threads 8:23 Getting Started 16:32 More on AutoCannon 20:30 Utilizing More CPU with Clustering 24:01 Moving to AWS 34:24 Adding a Storage-Based Database 1:01:50 Speeding Up with a Memory-Based Database 1:24:10 Redis Cluster Mode 1:36:18 C++ with Drogon and RapidJSON 1:51:52 The Final Colossal Tests 2:09:01 Outro 2:35:18 ------------------------------- LINKS: ------------------------------- AutoCannon: https://www.npmjs.com/package/autocannon Fastify: https://www.npmjs.com/package/fastify Cpeak: https://www.npmjs.com/package/cpeak AWS IAM 10th Anniversary: https://aws.amazon.com/blogs/apn/iam-10th-anniversary-top-recommendations-for-working-with-iam-from-our-aws-heroes-part-1/ AWS EC2 Price Calculator: https://calculator.aws/#/createCalculator/ec2-enhancement AWS RDS Price Calculator: https://calculator.aws/#/createCalculator/RDSPostgreSQL AWS Load Balancer LCU Calculator: https://exampleloadbalancer.com/ondemand_capacity_reservation_calculator.html www.cododev.ca ------------------------------- PVCFVTSY1BWZE4HP

Cododev
Learn Docker - DevOps with Node.js & Express
5h 22m
236

Learn Docker - DevOps with Node.js & Express

intermediate

Learn the core fundamentals of Docker by building a Node/Express app with a Mongo & Redis database. We'll start off by keeping things simple with a single container, and gradually add more complexity to our app by integrating a Mongo container, and then finally adding in a redis database for authentication. We'll learn how to do things manually with the cli, then move on to docker compose. We'll focus on the challenges of moving from a development environment to a production environment. We'll deploy and Ubuntu VM as our production server, and utilize a container orchestrator like docker swarm to handle rolling updates. ✏️ Course developed by Sanjeev Thiyagarajan. Check out his channel: https://www.youtube.com/channel/UC2sYgV-NV6S5_-pqLGChoNQ ⭐️ Course Contents ⭐️ 0:00:14 Intro & demo express app 0:04:18 Custom Images with Dockerfile 0:10:34 Docker image layers & caching 0:20:26 Docker networking opening ports 0:26:36 Dockerignore file 0:31:46 Syncing source code with bind mounts 0:45:30 Anonymous Volumes hack 0:51:58 Read-Only Bind Mounts 0:54:58 Environment variables 0:59:16 loading environment variables from file 1:01:31 Deleting stale volumes 1:04:01 Docker Compose 1:21:36 Development vs Production configs Part 02: Working with multiple containers 1:44:47 Adding a Mongo Container 2:01:48 Communicating between containers 2:12:00 Express Config file 2:21:45 Container bootup order 2:32:26 Building a CRUD application 2:51:27 Sign up and Login 3:06:57 Authentication with sessions & Redis 3:34:36 Architecture Review 3:40:48 Nginx for Load balancing to multiple node containers 3:54:33 Express CORS Part 03: Moving to Prod 3:57:44 Installing docker on Ubuntu(Digital Ocean) 4:03:21 Setup Git 4:05:37 Environment Variables on Ubuntu 4:14:12 Deploying app to production server 4:18:57 Pushing changes the hard way 4:25:58 Rebuilding Containers 4:27:32 Dev to Prod workflow review 4:30:50 Improved Dockerhub workflow 4:46:10 Automating with watchtower 4:56:06 Why we need an orchestrator 5:03:32 Docker Swarm 5:16:13 Pushing changes to Swarm stack -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

freeCodeCamp.org
Full Stack JavaScript Complete Course 2023 🔥
3h 30m
204

Full Stack JavaScript Complete Course 2023 🔥

beginner
HuXn WebDev
[In-Depth] Nest.JS Tutorials
5h 50m
301

[In-Depth] Nest.JS Tutorials

intermediate

Learn NestJS core fundamentals, basics, and all the way to authentication with passport, and writing unit tests and end-to-end tests!

Anson
Express JS Full Course
7h 56m
274

Express JS Full Course

beginner

This 8 hour course teaches you all of the core fundamentals you need to learn how to build server applications using Express JS. You will learn how to implement the basic HTTP request methods, validate request bodies, implement sessions, save data to a database, manage user authentication, integrate OAuth2, and writing automated unit & integration tests! Code: https://github.com/stuyy/expressjs-full-course Support the Channel: Become a Member: https://www.youtube.com/ansonthedeveloper/join Become a Patreon: http://patreon.com/stuyy Buy me a Coffee: http://ko-fi.com/anson Donate on PayPal: https://paypal.me/ansonfoong Connect with me: Twitter: https://twitter.com/ansonthedev Discord: https://discord.gg/MDHGJsAsXA GitHub: http://github.com/stuyy Twitch: http://twitch.tv/stuy 0:00 Intro & Setup 11:01 Get Requests 20:40 Route Params 30:08 Query Params 42:54 Post Requests 56:07 Put Requests 1:10:02 Patch Requests 1:19:00 Delete Requests 1:26:47 Middleware 1:48:24 Validation 2:19:52 Routers 2:38:59 Cookies 2:58:59 Sessions 3:15:24 Sessions Pt. 2 3:38:02 Passport.js & Authentication 4:15:39 Databases & MongoDB 4:42:10 Hashing Passwords 4:54:45 Session Store 5:11:58 OAuth2 5:49:38 Unit Testing & Jest 7:14:12 E2E Testing

Anson