Tagged articles
25 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Nov 28, 2025 · Backend Development

Boosting C++ Thread Pool Performance: Queue and Memory Optimizations

This article explains why C++ thread pools often hit bottlenecks in high‑concurrency scenarios and provides practical techniques—such as lock‑granularity tuning, lock‑free queues, object‑pool reuse, and pre‑allocation—to improve task scheduling and memory management without relying on external frameworks.

C++concurrencylock-free queue
1 likes · 44 min read
Boosting C++ Thread Pool Performance: Queue and Memory Optimizations
Java Architect Essentials
Java Architect Essentials
Jul 21, 2025 · Backend Development

Boost Java Object Creation Speed: 3 Proven Techniques to Cut Overhead

This article explains why using the plain new operator is far faster than reflection, shows how an object pool can dramatically reduce memory usage and allocation time, and demonstrates a factory‑plus‑cache pattern that eliminates most repetitive new calls, delivering up to three‑fold performance gains.

BackendFactory PatternJava
0 likes · 6 min read
Boost Java Object Creation Speed: 3 Proven Techniques to Cut Overhead
Code Ape Tech Column
Code Ape Tech Column
Dec 27, 2024 · Backend Development

Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases

This article explains the object pool design pattern, its working mechanism, advantages and disadvantages, and provides step‑by‑step Java code using Apache Commons Pool along with real‑world examples for web servers and game development to improve performance and resource management.

Apache Commons PoolResource Managementdesign pattern
0 likes · 14 min read
Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases
Yum! Tech Team
Yum! Tech Team
Apr 9, 2024 · Backend Development

Optimizing High‑Concurrency Menu Services with Go sync.Pool Object Pool

This article explains the principles of object pools, details the internal implementation of Go's sync.Pool, and demonstrates through benchmarks how using an object pool can dramatically reduce memory allocation and latency for high‑traffic menu services in a restaurant ordering application.

BenchmarkGoMemory Management
0 likes · 13 min read
Optimizing High‑Concurrency Menu Services with Go sync.Pool Object Pool
FunTester
FunTester
Mar 26, 2024 · Backend Development

Building a Simple Java Object Pool with LinkedBlockingQueue and Factory Interface

This article describes how to build a lightweight custom object pool in Java using a LinkedBlockingQueue and a factory interface, detailing its design, implementation, code examples, and a test script that demonstrates borrowing, returning, and size control of pooled objects.

Factory Patternconcurrencylinkedblockingqueue
0 likes · 7 min read
Building a Simple Java Object Pool with LinkedBlockingQueue and Factory Interface
FunTester
FunTester
Mar 5, 2024 · Backend Development

Building a Lightweight Java Object Pool Without Commons‑Pool2

This article walks through the design and implementation of a simple, thread‑safe object pool in Java using a LinkedBlockingQueue, explains the underlying concepts such as factory pattern and queue trimming, and provides a complete code example with a test script and output analysis.

BackendJavaconcurrency
0 likes · 7 min read
Building a Lightweight Java Object Pool Without Commons‑Pool2
Architect
Architect
Dec 1, 2023 · Backend Development

Implementing a Process Pool with Apache Commons GenericObjectPool in Java

This article explains how to use Apache Commons GenericObjectPool to implement a reusable process pool in Java, covering the underlying concepts, required dependencies, custom factory implementation, pool configuration, and example code for borrowing and returning pooled objects.

BackendGenericObjectPoolJava
0 likes · 9 min read
Implementing a Process Pool with Apache Commons GenericObjectPool in Java
FunTester
FunTester
Oct 30, 2023 · Backend Development

How to Build a High‑Performance Object Pool for Multithreaded Systems

This article explores the motivation, design, implementation, and performance testing of a high‑performance object pool that reduces allocation overhead in multithreaded environments by using thread‑local storage, freelists, and lock‑optimized global resources.

CMemory ManagementPerformance Optimization
0 likes · 25 min read
How to Build a High‑Performance Object Pool for Multithreaded Systems
Senior Tony
Senior Tony
Aug 9, 2023 · Backend Development

Why Netty Powers Modern Java Back‑ends: A Deep Dive into Its Architecture

This article explains what Netty is, why it’s essential for Java back‑end development, details its core components and high‑performance mechanisms such as the Reactor model, Zero‑Copy and object pooling, and shows how Netty handles TCP framing issues with practical decoding solutions.

JavaNettyNetwork programming
0 likes · 9 min read
Why Netty Powers Modern Java Back‑ends: A Deep Dive into Its Architecture
Bin's Tech Cabin
Bin's Tech Cabin
Apr 4, 2023 · Fundamentals

Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools

This article revisits Linux memory allocation, then dives deep into the slab allocator—explaining its relationship with the buddy system, its internal layout, the differences between slab, slub and slob, and how the kernel uses slab caches, per‑CPU caches, and NUMA nodes to efficiently allocate and free small memory objects.

KernelLinuxSLUB
0 likes · 66 min read
Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools
Python Programming Learning Circle
Python Programming Learning Circle
Dec 12, 2022 · Fundamentals

Pond: An Efficient Python Object Pool Library

The article introduces Pond, a high‑performance Python object‑pool library that reduces memory consumption and GC pressure by reusing objects, explains its design components, automatic eviction strategy, thread‑safe borrowing and returning mechanisms, and provides detailed usage examples with code snippets.

Libraryconcurrencyobject pool
0 likes · 11 min read
Pond: An Efficient Python Object Pool Library
IT Architects Alliance
IT Architects Alliance
Aug 8, 2022 · Backend Development

Why Object Pools Boost Java Performance: Deep Dive into Commons Pool 2 and HikariCP

This article explains the motivation behind object pooling in Java, walks through the core classes of Commons Pool 2 with a Jedis example, details key configuration parameters, presents JMH benchmark results that show a five‑fold throughput gain, and analyzes HikariCP’s design tricks and common interview questions about pool tuning.

Commons Pool 2Database ConnectionHikariCP
0 likes · 16 min read
Why Object Pools Boost Java Performance: Deep Dive into Commons Pool 2 and HikariCP
FunTester
FunTester
Jun 7, 2022 · Backend Development

Performance Testing of Apache Commons Pool2 GenericKeyedObjectPool in Java

This article demonstrates how to implement and benchmark Apache Commons Pool2's GenericKeyedObjectPool in Java, including factory creation, pool configuration, multithreaded performance tests with and without wait times, and analysis of results highlighting scalability limitations.

Apache Commons Pool2GenericKeyedObjectPoolJava
0 likes · 6 min read
Performance Testing of Apache Commons Pool2 GenericKeyedObjectPool in Java
Sanyou's Java Diary
Sanyou's Java Diary
Jan 16, 2022 · Backend Development

Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools

This article examines why Netty has become the preferred high‑performance server framework over Tomcat, covering Java I/O models, zero‑copy techniques, off‑heap memory usage, and Netty’s custom object‑pooling, and explains how these features enable handling thousands of concurrent connections efficiently.

IO ModelJava networkingNetty
0 likes · 8 min read
Why Netty Beats Tomcat: IO Models, Zero‑Copy, Off‑Heap Memory & Object Pools
Tencent Cloud Developer
Tencent Cloud Developer
Mar 11, 2021 · Fundamentals

High-Performance Object Pool Design and Implementation

The article presents a high‑performance, thread‑safe object pool that combines thread‑local freelists, a global pool, and cache‑line‑aligned structures to reuse expensive objects, dynamically expand capacity, and achieve 50‑70% lower allocation latency than standard malloc/free and existing pool implementations.

Clock optimizationobject pool
0 likes · 23 min read
High-Performance Object Pool Design and Implementation
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Mar 6, 2020 · Backend Development

Understanding Go's sync.Pool: Implementation, Usage Scenarios, and Evolution from Go 1.12 to 1.13

This article explains what a sync.Pool object pool is, when it should be used, details the Go 1.12 implementation with its internal structures and algorithms, describes the enhancements introduced in Go 1.13, and analyzes the resulting performance improvements for high‑concurrency backend applications.

Goconcurrencyobject pool
0 likes · 18 min read
Understanding Go's sync.Pool: Implementation, Usage Scenarios, and Evolution from Go 1.12 to 1.13
Meitu Technology
Meitu Technology
Aug 15, 2018 · Backend Development

Design and Performance Analysis of the Zap Logging Library in Go

The article examines Uber’s high‑throughput Go logging library zap, detailing its structured‑logging design, separation of concerns, copy‑on‑write filtering, extensive sync.Pool object reuse, reflection‑free type‑specific encoding, dynamic HTTP level control, and supplemental features such as a sugar API and log‑rotation, which together deliver superior performance over traditional libraries.

GoZAPconcurrency
0 likes · 18 min read
Design and Performance Analysis of the Zap Logging Library in Go
21CTO
21CTO
Aug 17, 2015 · Backend Development

Boosting High‑Throughput Java Systems: Buffers, Caches, and Object Pools

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
Boosting High‑Throughput Java Systems: Buffers, Caches, and Object Pools