Tag

GenericObjectPool

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2024 · Backend Development

Using Apache Commons GenericObjectPool for Process Pooling in Java

This article explains how Java developers can leverage Apache Commons Pool's GenericObjectPool to implement custom process pooling, covering the required factory interface, configuration options, and practical code examples for creating, borrowing, and returning pooled process objects to improve performance.

Apache CommonsBackendGenericObjectPool
0 likes · 8 min read
Using Apache Commons GenericObjectPool for Process Pooling in Java
Top Architect
Top Architect
May 28, 2024 · Backend Development

Implementing Process Pooling in Java with GenericObjectPool

This article explains how Java developers can use thread pools and Apache Commons Pool2's GenericObjectPool to create a reusable process pool, covering the underlying concepts, required interfaces, Maven dependencies, configuration options, and practical code examples to improve performance.

BackendGenericObjectPoolJava
0 likes · 11 min read
Implementing Process Pooling in Java with GenericObjectPool
DeWu Technology
DeWu Technology
Dec 25, 2023 · Databases

Jedis Connection Pool: Principles, Configuration, and Troubleshooting

Jedis uses Apache Commons’ GenericObjectPool to manage Redis connections, with Spring‑Data‑Redis creating a JedisConnectionFactory that holds a configurable pool where borrowObject and returnObject handle idle queues, eviction and validation settings (testOnBorrow, testWhileIdle, etc.) can be tuned, and JMX metrics aid troubleshooting.

ConnectionPoolGenericObjectPoolJava
0 likes · 10 min read
Jedis Connection Pool: Principles, Configuration, and Troubleshooting
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