Tag

ringbuffer

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Dec 19, 2024 · Backend Development

Optimizing Log4j2 Asynchronous Logging: Configuration, Diagnosis, and Load‑Testing

This article presents a detailed case study of a severe service outage caused by Log4j2 asynchronous logging bottlenecks, explains step‑by‑step diagnostics of JVM, disk, and RingBuffer metrics, and demonstrates how adjusting log4j2.asyncQueueFullPolicy and log4j2.discardThreshold dramatically improves recovery time during load testing.

ConfigurationJavaPerformance Tuning
0 likes · 14 min read
Optimizing Log4j2 Asynchronous Logging: Configuration, Diagnosis, and Load‑Testing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 23, 2024 · Backend Development

Understanding the Disruptor Framework: Core Concepts, Wait Strategies, and Usage Examples

This article introduces the open‑source Disruptor framework, explains its ring‑buffer architecture, sequencer, wait‑strategy options, and provides complete Java code examples to demonstrate how to build high‑performance producer‑consumer pipelines without locks.

ConcurrencyDisruptorJava
0 likes · 12 min read
Understanding the Disruptor Framework: Core Concepts, Wait Strategies, and Usage Examples
Sohu Tech Products
Sohu Tech Products
Jan 25, 2023 · Backend Development

Introduction to LMAX Disruptor: High‑Performance Java Memory Queue and Its Core Concepts

The article introduces the open‑source LMAX Disruptor, explains why it won the 2011 Duke's Choice Award, compares it with traditional JDK queues, details its core components such as Event, RingBuffer, Producer, and WaitStrategy, and provides a complete Java example that builds a producer‑consumer pipeline using Disruptor.

ConcurrencyDisruptorHighPerformance
0 likes · 12 min read
Introduction to LMAX Disruptor: High‑Performance Java Memory Queue and Its Core Concepts
Code Ape Tech Column
Code Ape Tech Column
Dec 9, 2022 · Backend Development

Disruptor: Simple Usage and Core Components of a High-Performance Lock-Free Queue in Java

This article introduces Java's Disruptor framework as a high-performance, lock-free queue, explains its core components such as RingBuffer, Sequencer, and WaitStrategy, provides sample code for producers and consumers, and discusses how it avoids lock contention and false sharing.

ConcurrencyDisruptorJava
0 likes · 12 min read
Disruptor: Simple Usage and Core Components of a High-Performance Lock-Free Queue in Java
Selected Java Interview Questions
Selected Java Interview Questions
Dec 7, 2022 · Backend Development

Understanding Java Disruptor: Queues, Core Components, and High‑Performance Lock‑Free Design

This article introduces various Java queue implementations, explains the Disruptor framework’s architecture, demonstrates its usage with complete code examples, and analyzes core components such as RingBuffer, Sequencer, and WaitStrategy while addressing performance issues like false sharing and multi‑producer coordination.

Concurrent QueueDisruptorJava
0 likes · 12 min read
Understanding Java Disruptor: Queues, Core Components, and High‑Performance Lock‑Free Design
Top Architect
Top Architect
Apr 25, 2022 · Backend Development

Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java

This article introduces the high‑performance Disruptor library, explains its background, core concepts such as RingBuffer, Sequence, Sequencer, and WaitStrategy, and provides a step‑by‑step Java implementation with Maven dependencies, event factories, handlers, producers, and a runnable test case.

ConcurrencyDisruptorHighPerformance
0 likes · 12 min read
Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 30, 2021 · Backend Development

How to Integrate a High‑Performance Snowflake UID Generator into Spring Boot

This guide explains how to integrate the Java‑based Snowflake UIDGenerator into a Spring Boot 2.3 application, covering algorithm fundamentals, RingBuffer optimization, database setup, Maven dependencies, configuration beans, and a test case to generate high‑throughput unique IDs.

Distributed SystemsJavaSpring Boot
0 likes · 9 min read
How to Integrate a High‑Performance Snowflake UID Generator into Spring Boot
Refining Core Development Skills
Refining Core Development Skills
May 12, 2021 · Fundamentals

Linux Network Packet Sending Process: Deep Dive into Kernel Implementation

This comprehensive article provides an in-depth analysis of how Linux kernel sends network packets, covering the complete process from user-space send() call through protocol stack processing to hardware transmission, with detailed source code examination and performance considerations.

DMALinux kernelSoftIRQ
0 likes · 28 min read
Linux Network Packet Sending Process: Deep Dive into Kernel Implementation