Introduction to Java coroutines

— 10 min read


Many times I find an ExecutorService with 400 threads in Java code and I always got that’s-not-ok feeling of that. This is usually introduced as necessary evil to retain application responsiveness while being blocked by downstream. However there is another way of achieving responsiveness, which is couroutines (alternatively known also as green threads and non-blocking threads in another languages). Java doesn’t support coroutines at language level, so for this example we will use almost exclusive Java implementation of coroutines - Quasar.

Read more

Hello World!

— 1 min read

Well, I’ve finally made it! Every big boy must have a blog they say, and now I have one as well. Let’s see how it goes…