Skip to content
Tagged articles

Thread Pool Configuration

2 articles · Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Nov 1, 2026 · Backend Development

Spring's Hidden Async Alternative to MQ: Built-in Events for In-Process Decoupling

This article explains how Spring's built-in event mechanism provides a lightweight alternative to message queues for in-process asynchronous decoupling, covering synchronous vs asynchronous handling, transactional event listeners, thread pool configuration, lifecycle events, and when persistent solutions are needed.

Application Lifecycle EventsAsynchronous ProgrammingIn-Process Decoupling
0 likes · 7 min read
Spring's Hidden Async Alternative to MQ: Built-in Events for In-Process Decoupling
Senior Brother's Insights
Senior Brother's Insights
Nov 26, 2019 · Backend Development

Why Executors Should Be Avoided for ThreadPool Creation in Java

This article explains the definition of thread pools, the pitfalls of using Executors factory methods, details the ThreadPoolExecutor constructor parameters, compares different Executors implementations, demonstrates OOM tests, and offers guidelines for configuring thread pool parameters and rejection policies.

ConcurrencyExecutorsJava
0 likes · 10 min read
Why Executors Should Be Avoided for ThreadPool Creation in Java