blog podcast

Caching in Quarkus

Caching in itself doesn’t feel like a very complicated problem. You make some request, you save the result, and at some point you clear it again. Everytime I’ve had to use caching in the past though, I’ve always found the libraries more clunky and invasive than I’ve felt that they need to be.

Read More
02 Jul 2021

Vertx and Eventbus

Vertx uses an Eventbus, which is a neat way of decoupling different components inside a system. Instead of these components calling each other directly they simply send a message on the event bus and whatever system that is interested receives the message. The idea is pretty simple and not really a new one. There is a limitation though. Vertx has been built with cluster support at it’s core.

Read More
01 Jul 2021

Intellij on Ubuntu

The default mode of installing Intellij on Ubuntu seems to be as a Snap. There are definitely some advantages there, for example how easy it becomes to update the intellij version. What sometimes happens with Snaps though, which unfortunately was the case for me, is that they take a long time to startup.

Read More
18 Jun 2021

Quarkus, Netty and OpenSSL

Quarkus is built on top of Netty which is a library that can provide you with high performant asynchronous network code on JVM. One of the features that Netty supports is SSL termination. Now SSL, being cryptography, is actually quite demanding on the processor. For this reason Netty has provided two solutions. One that is using the JDK implementation for SSL and one that is utilizing JNI to call OpenSSL on your machine.

Read More
17 Jun 2021

Mocking and Kotlin

One of the good things with Kotlin is it’s accessible interoperability with Java. Being a new language though it has made some design decisions that are different from Java’s which sometimes can create boundaries in the usage across language boundaries and one of these decisions is what I want to talk about today.

Read More
16 Jun 2021

Kotlin Extension Methods

If you’ve worked for a while with Java and then take the step into Kotlin, it is easy to keep on writing code like you used to do it in Java but just using Kotlin’s more succinct syntax. That’s also a very good first step to getting into the world of Kotlin. Once you’ve gotten some experience there’s one feature I really advice you to adopt. That’s the Extension Methods.

Read More
15 Jun 2021

Quarkus and Randomness

Quarkus is a project in the JVM world which enables you to write “Supersonic Subatomic Java” programs. When one first starts looking into the project it can feel a bit fuzzy what it actually does. The end result though is pretty clear, you get java application that have a significantly smaller memory footprint and that startup a lot faster. These are two features that makes Quarkus great for the Native environment where you typically want you applications to be able to scale up and down quickly and not take more resources than necessary.

Read More
14 Jun 2021

Just Do It?

Are you the kind of developer that likes to know everything up front? Or are you the kind that like to just start hacking away at a problem and see where it takes you?

Read More
15 May 2021

Docker from Node

Wouldn’t it be awesome if you could use the power of Docker and docker containers together with the flexibility of NodeJs? Well it turns out you can and it’s not very difficult.

Read More
09 May 2021

What Drives Efficiency

The last couple of months I’ve analysed my working to try to see which techniques I find useful on a day to day basis and which not. I’ve compiled a small list of things which I think are highly useful to get more done in your day to day business. It’s of course a list that is under constant development as I test and evaluate new ways of approaching problems. As of today this is how the list looks though:

Read More
01 May 2021