StackPractices

Tag: streams

Browse 8 practical software engineering resources tagged with "streams". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving streams. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Streams and Real-Time Data

Streams are unbounded sequences of data that flow continuously. Stream processing enables real-time reactions, analytics, and event-driven behavior with low latency.

The resources below cover stream APIs, reactive streams, backpressure, windowing, and stream processing platforms. Each guide explains how to work with streams without losing data or overwhelming consumers.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Compress and Decompress Files with Gzip and Brotli

How to reduce file sizes for APIs, static assets, and log files using Gzip, Brotli, and zlib with...

File Upload Validation: Secure File Handling Guide

How to handle file uploads securely with size, type, and content validation.

Generate PDFs

How to generate PDF documents programmatically from HTML, templates, or raw data.

Image Optimization: Resize, Compress, Convert to WebP

How to resize, compress, and convert images to modern formats (WebP, AVIF) in Python, JavaScript,...

Import Data from CSV/Excel

How to parse and import data from CSV and Excel files with validation, streaming, and batch inserts.

Read Large Files in Node.js with Streams (5GB in 64KB RAM)

Process GB-sized files in Node.js with createReadStream, readline, Transform pipelines, and...

Read and Write Files in Python, Node.js & Bash

How to read and write files safely in Python, Node.js, Bash and Java, with atomic writes and...

Process Large Files with Streams

How to read, transform, and write large files efficiently using streams without loading entire...