Tagged articles
28 articles
Page 1 of 1
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.

bufferddperformance tuning
0 likes · 19 min read
Understanding Buffers and Cache in Linux Memory Management
Bin's Tech Cabin
Bin's Tech Cabin
Aug 11, 2022 · Backend Development

Unlocking Netty’s ByteBuf: A Deep Dive into Java NIO Buffers and Byte Order

This article explores Netty’s low‑level data container ByteBuf by examining Java NIO Buffer design, its core attributes, view mechanisms, heap and direct implementations, byte‑order handling, and how to read and write primitive types, providing a comprehensive foundation for high‑performance network programming.

Byte OrderByteBufHeapByteBuffer
0 likes · 54 min read
Unlocking Netty’s ByteBuf: A Deep Dive into Java NIO Buffers and Byte Order
Liangxu Linux
Liangxu Linux
Jul 22, 2022 · Fundamentals

When Does Socket Buffer Size Actually Impact TCP Performance? A Practical Linux Experiment

This article builds a simple two‑VM testbed to explore how Linux socket buffer parameters affect TCP throughput, demonstrates baseline speeds, adds artificial network delay, analyzes the bandwidth‑delay product, and shows how tuning tcp_wmem, tcp_rmem and related sysctl settings can recover performance on high‑latency links.

Socketbuffersysctl
0 likes · 21 min read
When Does Socket Buffer Size Actually Impact TCP Performance? A Practical Linux Experiment
Open Source Linux
Open Source Linux
Jun 20, 2022 · Databases

Understanding Buffer vs Cache and MySQL’s Flush Strategies

This article explains the fundamental differences between buffers and caches, details MySQL’s multi‑layer buffer architecture, and examines how write‑through, write‑back, and Direct I/O affect data durability and performance through various InnoDB flush parameters.

CacheDatabase PerformanceFlush
0 likes · 12 min read
Understanding Buffer vs Cache and MySQL’s Flush Strategies
MaGe Linux Operations
MaGe Linux Operations
May 12, 2022 · Fundamentals

What’s the Real Difference Between Linux Buffers and Cache?

This article explains the definitions of Linux buffers and cache, how the free command reports them, and demonstrates through experiments that buffers can cache both reads and writes while cache primarily handles page caching for file reads and writes.

CacheLinuxMemory Management
0 likes · 6 min read
What’s the Real Difference Between Linux Buffers and Cache?
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.

BackendByteBufferJava
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.

ChannelNon-blockingasynchronous-io
0 likes · 10 min read
Introduction to Java NIO: Buffers, Channels, and Selectors
Programmer DD
Programmer DD
Mar 15, 2021 · Fundamentals

Master Java NIO: From Basics to High‑Performance I/O with Real‑World Examples

This article provides a comprehensive guide to Java NIO, covering its core components—Channel, Buffer, and Selector—explaining the differences from traditional IO, demonstrating file, socket, and server implementations with detailed code samples, and illustrating advanced features such as memory‑mapped files, scatter/gather, and pipe communication.

ChannelFileChannelJava
0 likes · 31 min read
Master Java NIO: From Basics to High‑Performance I/O with Real‑World Examples
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.

Full SyncMaster‑SlavePartial Sync
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.

ChannelJavaNetworking
0 likes · 31 min read
A Quick Introduction to Java NIO with Practical Examples
Open Source Linux
Open Source Linux
Nov 17, 2020 · Fundamentals

Cache vs Buffer: Clear Visual Guide to Their Core Differences

This article provides a concise, visual explanation of the fundamental differences between cache and buffer, illustrating their distinct roles—cache for speeding data retrieval and buffer for smoothing data flow—through real‑world analogies, hardware examples, and practical usage scenarios.

buffercomputer architecturestorage
0 likes · 5 min read
Cache vs Buffer: Clear Visual Guide to Their Core Differences
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.

ChannelGoGoroutine
0 likes · 14 min read
In-depth Source Analysis of Go Channels (Go 1.14)
Node Underground
Node Underground
Jul 27, 2019 · Backend Development

Mastering Node.js Buffer: From Basics to Performance Optimization

This comprehensive guide explores Node.js Buffer fundamentals, binary data handling, stream integration, memory allocation mechanisms, practical usage scenarios, and performance benchmarks, providing developers with the knowledge to efficiently manage binary streams and boost application speed.

Memory ManagementNode.jsbinary data
0 likes · 21 min read
Mastering Node.js Buffer: From Basics to Performance Optimization
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 errorNginxOperations
0 likes · 17 min read
Investigation of Nginx 502 Errors Caused by PHP‑FPM Warning Triggering a FastCGI Buffer Defect
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.

ShadersWebGLbuffer
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.

BackendChannelI/O
0 likes · 8 min read
Java NIO Basics: Channels, Buffers, and Selectors
ITPUB
ITPUB
Nov 29, 2017 · Databases

Understanding Oracle Wait Events: Buffer Busy Waits, Latches, and I/O Operations

This article explains the most common Oracle wait events—including buffer busy waits, buffer latch, control file parallel write/read, various DB file reads and writes, latch free, and library cache lock—detailing their causes, parameters, and how to query them for performance analysis.

Database I/OLatchOracle
0 likes · 15 min read
Understanding Oracle Wait Events: Buffer Busy Waits, Latches, and I/O Operations
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.

ChannelNon-blocking I/Obuffer
0 likes · 16 min read
Understanding Java NIO: Channels, Buffers, Selectors and Example Code
ITPUB
ITPUB
Jun 23, 2017 · Fundamentals

How to Free Linux Memory Cache and Understand Buffer vs Cache

This guide explains Linux memory reporting with the free command, the roles of buffer and page caches, and provides step‑by‑step instructions to manually release cached memory using /proc/sys/vm/drop_caches, including practical command examples and clarifications of key concepts.

CacheMemory Managementbuffer
0 likes · 11 min read
How to Free Linux Memory Cache and Understand Buffer vs Cache
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2016 · Information Security

How to Harden Nginx: Buffer Limits, Timeouts, and Security Best Practices

This guide walks through securing an Nginx web server by configuring buffer size limits, timeouts, concurrent connection controls, host and method restrictions, user‑agent blocking, hot‑link protection, directory access rules, SSL setup, PHP hardening, chroot isolation, and firewall‑level IP connection limits.

NginxSSLbuffer
0 likes · 14 min read
How to Harden Nginx: Buffer Limits, Timeouts, and Security Best Practices
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.

Cachebufferweb cache
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.

Kernel ParametersLinuxQueue
0 likes · 13 min read
Understanding and Tuning Linux TCP Queue and Buffer Parameters