Tag

pooling

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
Ctrip Technology
Ctrip Technology
Dec 12, 2019 · Backend Development

Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy

The article analyzes why a round‑robin load‑balancing approach caused severe response‑time spikes in Ctrip's compute‑intensive international ticket query engine and demonstrates how switching to a proactive pooling model using a Redis‑backed queue eliminated the spikes and reduced average latency by about 20%.

BackendLoad BalancingRedis
0 likes · 6 min read
Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy
High Availability Architecture
High Availability Architecture
Oct 17, 2019 · Fundamentals

Memory Allocation vs. Pooling: Performance Analysis Across Java, G1, ZGC, and C++

This article investigates whether to allocate new memory for each incoming message or to reuse memory from a pool, analyzing the impact on throughput and latency in batch and soft‑real‑time applications, and presenting extensive benchmark results for various garbage collectors, JVM options, and native C++ implementations.

C++Garbage CollectionJava
0 likes · 31 min read
Memory Allocation vs. Pooling: Performance Analysis Across Java, G1, ZGC, and C++