Self-hosting git repositories

GitHub has become synonymous with Git-based software development, to the point that some people don’t realize that GitHub is merely a product owned by Microsoft, while Git itself is a free and open source distributed version control system. Just because GitHub exists doesn’t mean you need it. GitLab, Codeberg, or Forgejo are other options if you need to collaborate with others. But if you are like me and just enjoy coding little projects for yourself without sharing them anybody, then self-hosting Git repositories is a viable alternative, or at least a backup solution. ...

December 28, 2025

AWS Lambda for Java Developers

Originally published on Medium.com Welcome to my third article in my AWS Lambda series. In my previous article we talked about the right amount of memory and whether or not more memory grants you more cores. Today I am looking into how state management with variables works and what happens if we run Java code in AWS Lambda. If you are a Java Developer and working with AWS Lamdba then this article is for you! ...

August 15, 2019

More Memory, more Cores? No

Originally published on Medium.com In my previous article, I was looking into how memory settings in AWS Lambda affects CPU time. I came to the conclusion that the sweet spot is around 1408 MB. Beyond that, you won’t get any performance improvements. There were open questions. For example, if more memory yields better results for multi-threaded code. Well, I didn’ know, so I ran a little experiment. Setting up the stage Here is a simple Function that returns the number of available cores. Try it with you machine. Mine says 12, because it is an 8th Gen. i7 with 6 Physical cores and Hyper-threading enabled. ...

April 4, 2019

Choosing the right amount of memory for your AWS Lambda Function

Originally published on Medium.com With AWS Lambda there aren’t many options needed for your functions to run. Only two parameters affect runtime behavior: timeout** and memory. Timeout is value between 1 second and 15 minutes. In my opinion, it make no sense to set the timeout less than the maximum value. If your code executes in less time, you get charged less. Why bother with less? That leaves us with memory. You can set the memory in 64 MB increments from 128 MB to 3008 MB. AWS Lambda allocates CPU power proportional to the memory, so more memory means more CPU power. Right? ...

December 31, 2018

How to install Let’s Encrypt with Tomcat

Originally published on Medium.com So, I have heard you are a sysadmin and want to setup your Apache Tomcat with a free SSL certificate from Let’s Encrypt — the free, automated, and open Certificate Authority (CA). Glad you are here! It is actually much simpler than purchasing a SSL/TLS from a regular CA. If you are not sure if Let’s Encrypt is the right CA for you: Have a look at this tweet: ...

June 29, 2018

The Impact of Garbage Collection

Originally published on Medium.com As you probably know Java applications run on top of a Java Virtual Machine (JVM). One important task a JVM does is Garbage Collection (GC). A garbage collector spares developers the task of manually allocating and freeing blocks of memory on the heap. As a Java developer you don’t need to deal with GC ever. Of course it comes with a price. The collector adds an additional footprint to your Java process. Bookkeeping live objects, dedicated data structures and algorithms takes their toll. GC competes with your application for CPU time. ...

May 7, 2017