Tag

Buffer

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
May 22, 2025 · Operations

Understanding Buffers and Cache in Linux Memory Management

This article explains the concepts, working principles, and system parameters of Linux buffers and cache, compares their roles in read/write operations, and provides practical vmstat and dd command examples to illustrate how they affect memory usage and I/O performance.

BufferMemory ManagementPerformance Tuning
0 likes · 19 min read
Understanding Buffers and Cache in Linux Memory Management
JD Tech Talk
JD Tech Talk
Mar 27, 2025 · Backend Development

Deep Dive into Caffeine Cache: getIfPresent, ReadBuffer, and Maintenance Mechanisms

This article explains the inner workings of Caffeine's cache, covering the getIfPresent method, the design of ReadBuffer and StripedBuffer, eviction policies, the maintenance cycle, and the climb algorithm that dynamically adjusts window and protected partitions for optimal performance.

BufferConcurrencyEviction
0 likes · 31 min read
Deep Dive into Caffeine Cache: getIfPresent, ReadBuffer, and Maintenance Mechanisms
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 20, 2024 · Databases

How MySQL Writes Binlog Logs: Buffer Management and trx_cache Reading

This article explains MySQL 8.0.32's binlog log file structure, the 8 KB in‑memory buffer (IO_CACHE), how binlog entries are written from trx_cache to the binlog file, and the detailed steps and code involved in reading from memory or temporary files and flushing to disk.

BufferDatabase InternalsIO_CACHE
0 likes · 10 min read
How MySQL Writes Binlog Logs: Buffer Management and trx_cache Reading
Selected Java Interview Questions
Selected Java Interview Questions
Aug 8, 2021 · Backend Development

Understanding Java NIO Buffers: Creation, Core Properties, and Operations

This article explains Java NIO buffers, covering how to create them with allocate() and allocateDirect(), describing their four core properties (position, limit, capacity, mark), and detailing essential methods such as put(), get(), flip(), rewind(), clear(), mark(), reset(), hasRemaining() and remaining() with code examples.

BufferByteBufferNIO
0 likes · 12 min read
Understanding Java NIO Buffers: Creation, Core Properties, and Operations
New Oriental Technology
New Oriental Technology
Jul 5, 2021 · Backend Development

Introduction to Java NIO: Buffers, Channels, and Selectors

This article provides a comprehensive overview of Java NIO, explaining the differences between BIO and NIO, the concepts of synchronous/asynchronous and blocking/non‑blocking I/O, and detailing the usage and implementation of Buffers, Channels, and Selectors with code examples.

BufferNIOSelector
0 likes · 10 min read
Introduction to Java NIO: Buffers, Channels, and Selectors
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 11, 2021 · Databases

Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms

This article provides a comprehensive guide to Redis high‑availability through master‑slave replication, covering the underlying architecture, step‑by‑step setup, full and partial synchronization processes, buffer management, practical pitfalls, and how the mechanism fits into broader Redis HA solutions.

BufferFull SyncHigh Availability
0 likes · 18 min read
Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms
Code Ape Tech Column
Code Ape Tech Column
Mar 2, 2021 · Backend Development

A Quick Introduction to Java NIO with Practical Examples

This article explains Java NIO fundamentals—including Channels, Buffers, and Selectors—compares them with traditional IO, and provides multiple runnable code examples such as FileChannel, SocketChannel, Selector loops, memory‑mapped files, scatter/gather, transferTo/From, Pipe and DatagramChannel to illustrate non‑blocking and high‑performance I/O.

BufferNIOSelector
0 likes · 31 min read
A Quick Introduction to Java NIO with Practical Examples
Beike Product & Technology
Beike Product & Technology
Jul 16, 2020 · Fundamentals

In-depth Source Analysis of Go Channels (Go 1.14)

This article provides a comprehensive source‑level examination of Go's channel mechanism—including usage examples, the internal hchan data structure, creation, read/write operations, closing behavior, and common pitfalls—based on the Go 1.14 runtime implementation.

BufferGochannel
0 likes · 14 min read
In-depth Source Analysis of Go Channels (Go 1.14)
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 13, 2019 · Fundamentals

Understanding Go Channels: Concepts, Implementation, and Practical Usage

This article explains what Go channels are, how they are implemented in the runtime, their data structures, creation, sending, receiving, closing semantics, common pitfalls, and includes detailed code examples to illustrate channel behavior in concurrent programs.

BufferConcurrencyGo
0 likes · 25 min read
Understanding Go Channels: Concepts, Implementation, and Practical Usage
Beike Product & Technology
Beike Product & Technology
May 23, 2019 · Backend Development

Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect

This article analyses why seemingly normal PHP‑FPM requests can cause Nginx to return 502 errors, revealing a FastCGI fastcgi_buffer_size bug triggered by warning output, describing the reproduction steps, detailed packet analysis, the underlying protocol mechanics, and practical recommendations for developers and operators.

502 errorBackend DevelopmentBuffer
0 likes · 17 min read
Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect
Beike Product & Technology
Beike Product & Technology
Dec 13, 2018 · Frontend Development

Understanding Uint8Array, TypedArray, Buffer, and Blob in JavaScript for PDF Rendering and Binary Data Handling

This article explains the evolution and usage of Uint8Array, TypedArray, Buffer, and Blob in JavaScript, demonstrates how to convert between strings, ArrayBuffers, and binary data, and shows practical code examples for rendering PDFs and handling files in both browser and Node environments.

Binary DataBufferJavaScript
0 likes · 12 min read
Understanding Uint8Array, TypedArray, Buffer, and Blob in JavaScript for PDF Rendering and Binary Data Handling
JD Tech
JD Tech
May 22, 2018 · Frontend Development

Dynamic Control of WebGL Shaders: Attributes, Uniforms, and Buffer Objects

This tutorial explains how to dynamically control WebGL vertex and fragment shaders by using attribute and uniform variables, assign values from JavaScript, manage buffer objects for large vertex datasets, and render multiple points with proper WebGL API calls.

BufferGLSLJavaScript
0 likes · 11 min read
Dynamic Control of WebGL Shaders: Attributes, Uniforms, and Buffer Objects
Java Captain
Java Captain
Mar 6, 2018 · Backend Development

Java NIO Basics: Channels, Buffers, and Selectors

This article introduces Java NIO fundamentals, explaining the key concepts of Channel, Buffer, and Selector, comparing them with traditional I/O streams, and providing code examples for file reading, writing with FileChannel, and illustrating how selectors enable single‑threaded multiplexed I/O handling.

BufferI/ONIO
0 likes · 8 min read
Java NIO Basics: Channels, Buffers, and Selectors
Java Captain
Java Captain
Jan 25, 2018 · Fundamentals

Understanding the Differences Between Java Byte Streams and Character Streams

This article explains how Java byte streams operate directly on files without buffering while character streams use an intermediate buffer, demonstrates the effects with code examples, and discusses when to use each stream type in practice.

BufferByte StreamCharacter Stream
0 likes · 8 min read
Understanding the Differences Between Java Byte Streams and Character Streams
Java Captain
Java Captain
Aug 22, 2017 · Backend Development

Understanding Java NIO: Channels, Buffers, Selectors and Example Code

This article explains Java NIO fundamentals—including synchronous vs asynchronous, blocking vs non‑blocking I/O—covers core components such as Channel, Buffer, and Selector, and provides complete example code for file operations and a single‑threaded server/client, comparing NIO with traditional I/O.

BufferNIONon-blocking I/O
0 likes · 16 min read
Understanding Java NIO: Channels, Buffers, Selectors and Example Code
Efficient Ops
Efficient Ops
Jul 5, 2016 · Operations

Mastering Web Cache: A Complete Layered Knowledge System

This article presents a systematic overview of web caching, detailing a seven‑layer cache hierarchy, clarifying the differences between buffer and cache, and explaining key cache metrics and design considerations for modern web architectures.

BufferOperationsPerformance
0 likes · 11 min read
Mastering Web Cache: A Complete Layered Knowledge System
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Apr 30, 2015 · Operations

Understanding and Tuning Linux TCP Queue and Buffer Parameters

This article explains the Linux TCP connection‑establishment, packet‑receive, and packet‑send paths, categorizes related kernel parameters such as backlog, SYN‑cookie, ring buffers, and socket buffers, and provides practical commands and guidelines for optimizing network performance on servers.

BufferTCPkernel parameters
0 likes · 13 min read
Understanding and Tuning Linux TCP Queue and Buffer Parameters