Tagged articles
Buffering
24 articles · Page 1 of 1
The article presents a reproducible Nginx performance‑tuning workflow that starts with defining a baseline and acceptance criteria, measures CPU, file‑descriptor, upstream and disk limits, then incrementally adjusts worker settings, systemd limits, keepalive, buffering and compression, while using gray‑scale deployment and safe rollback.
BufferingGZIPLinux
0 likes · 18 min read

This comprehensive guide explains Linux I/O fundamentals, the multi‑layer buffering architecture, buffering modes, tuning parameters, and practical code examples, helping developers and system administrators dramatically improve read/write performance and resource utilization on Linux servers.
BufferingI/OLinux
0 likes · 59 min read

In embedded systems, when an interrupt service routine takes too long, rapid successive interrupts can be lost, prompting questions about hardware flag buffering, software alternatives, and practical techniques to emulate a small interrupt cache without sacrificing real‑time responsiveness.
BufferingISRReal-time
0 likes · 5 min read

This article explains the fundamentals of buffering, demonstrates how Java I/O streams and Logback logging use buffers to improve performance, explores synchronous and asynchronous buffering strategies, and discusses Kafka producer buffering with practical code examples and optimization guidelines.
BufferingJava I/OKafka
0 likes · 17 min read

This article explains how to boost PHP web application performance by using output buffering, gzip compression, HTTP caching headers, and asynchronous cURL requests, providing code examples for each optimization technique in real-world scenarios.
BufferingHTTP cachingPHP
0 likes · 5 min read

This tutorial explains the difference between \r and \n, the role of line buffering in C, and shows step‑by‑step code—including a countdown and a full‑screen progress bar—using printf, fflush, sleep/usleep, and multi‑file project structure on Linux.
BufferingC++Linux
0 likes · 11 min read

This tutorial explains the difference between \r and \n, line buffering, and how to use fflush and usleep to create a live updating progress bar and countdown timer in a Linux C program, complete with multi‑file implementation and sample code.
BufferingC++Linux
0 likes · 11 min read

This tutorial explains the difference between newline and carriage‑return, the three buffering modes of stdio, and shows step‑by‑step C code that uses fflush, format specifiers, and a custom loop to create a live console progress bar and countdown timer.
BufferingC++Countdown
0 likes · 7 min read

This article explores the fundamentals and practical benefits of buffering in Java applications, covering file I/O streams, Logback asynchronous logging, and Kafka producer batching, while providing code examples, configuration tips, optimization strategies, and cautions to avoid data loss.
BufferingI/OJava
0 likes · 18 min read

This article explains the principle of buffering, illustrates its benefits with Java file I/O, Logback asynchronous logging, and Kafka producer batching, and provides practical optimization ideas, code examples, and cautions for both synchronous and asynchronous buffer designs.
BufferingJava I/OLogback
0 likes · 16 min read

This article explains how to implement a console progress bar and countdown timer in C by covering carriage returns, newline handling, output buffering strategies, and the use of fflush to force immediate screen updates, complete with sample code and visual demonstrations.
BufferingC++Countdown
0 likes · 5 min read

This guide explains the differences between carriage return and newline, explores C output buffering strategies, and provides step‑by‑step C code to create a countdown and a dynamic progress bar that updates smoothly in the terminal.
BufferingC++console
0 likes · 6 min read

This article explains the principles of disk I/O, covering read/write workflows, DMA acceleration, page cache, memory‑mapped files, buffering techniques, Linux kernel parameters and practical Java code examples to illustrate how to reduce CPU involvement and improve overall system performance.
BufferingDMALinux
0 likes · 12 min read

This article explains how Linux traditional read/write system calls work, detailing the CPU, DMA copies and context switches involved, and then explores high‑performance I/O techniques such as zero‑copy, multiplexing and PageCache, together with the Linux I/O stack and buffering layers.
BufferingDMAI/O
0 likes · 11 min read

The article explains Linux’s traditional system‑call I/O path, detailing how read() and write() trigger multiple CPU and DMA copies and context switches, describes read and write workflows, explores network and disk I/O, examines the Linux I/O stack, page cache, buffering strategies, zero‑copy, mmap and Direct I/O, and discusses performance trade‑offs.
BufferingDirect I/OI/O
0 likes · 13 min read

This article explains the layered design of Linux file I/O, describes how data moves from application buffers through libc, page cache, and kernel I/O queues to disk, discusses synchronization primitives, consistency issues, and performance factors such as scheduling algorithms and hardware characteristics.
BufferingI/OLinux
0 likes · 9 min read

This tutorial covers Python's comprehensive file I/O capabilities, including pathlib and os.path directory operations, tempfile usage, fnmatch pattern matching, open() modes and buffering, reading and writing techniques, fileinput streams, linecache random access, and practical code examples.
BufferingFile I/OPython
0 likes · 23 min read

This article explains how Linux pipes transmit data in real time, explores buffering modes, demonstrates practical experiments with Python scripts, and details read/write rules, including SIGPIPE handling, providing developers with essential insights for effective command-line pipeline usage.
BufferingInterprocess CommunicationLinux
0 likes · 11 min read


ITPUBApr 17, 2019 · Fundamentals
This article explains how Linux pipes transmit data in real time, why output may appear delayed due to buffering, how to control buffering with flush or large writes, and what the SIGPIPE signal means when a pipe’s read end is closed.
BufferingLinuxSIGPIPE
0 likes · 11 min read

Linux pipes transmit data between commands concurrently, not after one finishes, and their behavior depends on kernel buffering, I/O modes, and signals like SIGPIPE; this article explains pipe internals, real‑time data flow, buffering strategies, read/write rules, and practical tips with illustrative experiments.
BufferingLinuxSIGPIPE
0 likes · 8 min read

This article provides a comprehensive tutorial on Java I/O streams, covering byte streams, character streams, buffered streams, line‑oriented I/O, scanning and formatting APIs, command‑line I/O, data streams for primitive types, and object streams for serialization, with detailed code examples and best‑practice guidelines.
BufferingFormattingJava
0 likes · 26 min read

iQiyi monitors video buffering across millions of users, classifies anomalies into internal, server, operator, and user causes, uses a buffer perception system with clustering and SVM predictions, automates multi‑dimensional alerts, and resolves over 93% of non‑operator incidents within 15 minutes.
BufferingMonitoring SystemsOperations
0 likes · 18 min read


21CTOAug 17, 2015 · Backend Development
Learn how to improve Java application performance and achieve high throughput by understanding critical paths, using buffers for I/O, leveraging caching frameworks, implementing object reuse pools, and applying space‑time trade‑off techniques, all illustrated with practical code examples and performance comparisons.
BufferingJavaobject pool
0 likes · 21 min read


21CTOAug 10, 2015 · Backend Development
This article explains how to improve the throughput and response time of Java systems by using buffers, caches, object‑reuse pools, and time‑space trade‑off algorithms, providing concrete code examples and performance measurements for each technique.
BufferingJavahigh-throughput
0 likes · 20 min read
