Async Patterns in Node.js

Node.js is built from the ground up to support asynchronous coding patterns. This course will teach you multiple techniques for writing modern, asynchronous JavaScript that helps you deliver fast and responsive Node applications.
Course info
Rating
(61)
Level
Intermediate
Updated
Feb 28, 2020
Duration
1h 26m
Table of contents
Description
Course info
Rating
(61)
Level
Intermediate
Updated
Feb 28, 2020
Duration
1h 26m
Description

Node.js was built to run on a single thread using non-blocking I/O calls. Building apps for this environment requires extensive use of asynchronous code. In this course, Async Patterns in Node.js, you'll learn multiple techniques to write efficient asynchronous code using modern JavaScript. First, you’ll explore how the Node event loop works and how to write asynchronous code with callbacks that adhere to conventions followed in the Node community. Next, you’ll discover how to use Promises and the async/await keywords to write asynchronous code that’s easier to read. Finally, you’ll learn how to write event-driven code with EventEmitters and use worker threads to tackle CPU-intensive tasks in your Node apps. When you’re finished with this course, you’ll have the skills and knowledge of asynchronous programming necessary to build performant Node apps using accepted best practices.

About the author
About the author

Brice has been a professional developer for over 20 years and loves to experiment with new tools and technologies. Web development and native iOS apps currently occupy most of his time.

More from the author
Debugging Sites Using Chrome DevTools
Intermediate
1h 46m
Jun 12, 2020
Creating and Using Generics in TypeScript
Intermediate
49m
Nov 12, 2019
More courses by Brice Wilson
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hey, everybody. My name is Bryce Wilson and welcome to my course, a sink patterns in Know Js I'm a server and client side Web developer. Note is an increasingly popular choice for developers that want to build fast, responsive server applications. The single threaded nature of the note event Luke makes writing a synchronous code, an essential skill for every no developer. The techniques for writing a synchronous code in JavaScript have evolved over the years, and I'll show you some classic syntax as well as all of the most modern approaches. Some of the major topics that will cover include using callback functions, promises and the A sinking away keywords, creating and responding to events with event emitters and taking advantage of worker threads. By the end of the course, you'll have a solid understanding of asynchronous programming patterns and node and when to use different techniques in your own projects. Before beginning this course, you should be familiar with the basics of Java script, but you certainly don't need to be an expert. I hope you'll join me on this journey to learn a synchronous programming with E a sink patterns in know Js course at Pluralsight.