Concurrency
-
Core Java
Java Thread-per-Connection vs Thread-per-Request
This article explores how Java uses threads to manage client connections and process incoming requests. We will compare the thread-per-connection…
Read More » -
Core Java
Why Java Developers Are Switching to Go (And Why They’re Wrong)
Java has been the backbone of enterprise software for decades, but in recent years, Go (Golang)—created by Google—has gained traction, especially…
Read More » -
Software Development
Scalable Concurrency with Async/Await in Rust
Rust’s async/await syntax offers developers a powerful way to build concurrent systems without the traditional overhead of multithreading. Unlike synchronous…
Read More » -
Core Java
Using Executors.newVirtualThreadPerTaskExecutor() in Java
Java introduced virtual threads with Project Loom to simplify concurrency and improve the scalability of applications. Virtual threads are lightweight…
Read More » -
Software Development
Threadless Wonders
Before going into detail on this subject, I should point out that one experience does not itself make for a…
Read More » -
Core Java
Idiomatic concurrency: flatMap() vs. parallel() – RxJava FAQ
Simple, effective and safe concurrency was one of the design principles of RxJava. Yet, ironically, it’s probably one of the…
Read More » -
Software Development
Go: Multi-threaded writing to a CSV file
As part of a Go script I’ve been working on I wanted to write to a CSV file from multiple…
Read More » -
Core Java
Small scale stream processing kata. Part 1: thread pools
Once again I prepared a programming contest on GeeCON 2016 for my company. This time the assignment required designing and…
Read More » -
Core Java
The Java Syncrhonisers
Threads communication happens primarily by sharing access to fields and objects. Although extremely efficient, this form of communication is prone…
Read More »