Concurrency
-
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 » -
Core Java
Remembering to Reset Thread Context Class Loader
I’m having a difficult time thinking of anything I like less about working with Java than working with class loaders.…
Read More » -
Software Development
A Beginner’s Guide to Addressing Concurrency Issues
Inserts, updates and deletes. Every framework tutorial starts with these and they are seen as the most basic functionality that…
Read More »