Tagged articles
3 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Mar 16, 2025 · Backend Development

Understanding Java Object Pooling with Commons Pool 2 and HikariCP: Concepts, Configuration, and Performance Testing

This article explains Java object pooling using Commons Pool 2 and HikariCP, covering their core classes, configuration parameters, practical examples with Redis and JDBC, interview questions, and JMH performance benchmarks that demonstrate significant throughput improvements.

Commons Pool 2Database Connection PoolHikariCP
0 likes · 14 min read
Understanding Java Object Pooling with Commons Pool 2 and HikariCP: Concepts, Configuration, and Performance Testing
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
Code Ape Tech Column
Code Ape Tech Column
Aug 1, 2022 · Backend Development

Understanding Object Pooling in Java: Commons Pool 2, Jedis, and HikariCP

This article explains how object pooling in Java—using Commons Pool 2, the Jedis Redis client, and the HikariCP database connection pool—can dramatically improve performance by reusing expensive resources, detailing key configuration parameters, benchmark results, and practical tuning advice.

Commons Pool 2HikariCPJava
0 likes · 13 min read
Understanding Object Pooling in Java: Commons Pool 2, Jedis, and HikariCP