Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.64 KB

File metadata and controls

50 lines (31 loc) · 1.64 KB
layout default
title Buffers and Streams
url buffers-and-streams
author john
date 2019-11-14

The Node Application Developer Certification exam section for Buffers and Streams is worth 11% of the total and is broken into the following sections.

The topics that are covered include:

  • Node.js Buffer API’s
  • Incremental Processing
  • Transforming Data
  • Connecting Streams

Buffers and Streams Overview

The Node.js APIS Buffer and Stream are fundamentally seperate topics yet are intrinsically linked. This section will cover how these APIs work individually and with each other.

Buffer

The Node.js Buffer class implements buffers which are fixed size chunks of memory outside the V8 heap. Buffers are used to deal with binary data when dealing with TCP streams and reading/writing to the file system.

Buffers in depth

Stream

The Node.js Stream module provides an API for working with streaming data. Streams are a fundamental concept in, and are prevalent throughout applications built on, Node. Streams are an efficient way to handle sending and receiving data particularly for large or indeterminate amounts of data.

Streams in depth

Working with Buffers and Streams

Examples

Details

Summary

Exercise

Terminology

Buffer

In computer science, a data buffer (or just buffer) is a region of a physical memory storage used to temporarily store data while it is being moved from one place to another.

-- Wikipedia