Cassandra Performance: Throughput, Responsiveness, Capacity, and Cost

For scalable data workloads like Cassandra, performance and capacity are simply a matter of cost. JVM choice and configuration can dramatically impact that cost. The Azul Platform Prime JVM significantly improves Cassandra performance and reduces the cost of Cassandra clusters. Background We set off to characterize the impact of JVM choice and configuration on Cassandra load carrying capacity: the capacity …

Read More »

Confusing Java Strings

In this article, I would like to show you a couple of confusing things in connection with Java Strings. I would also like to give you a few suggestions to avoid issues with them. I also prepared a GitHub repo for you where you can find some code that you can use to try the examples out on your own: …

Read More »

Back to Basics: Accessing Kubernetes Pods

Kubernetes is a colossal beast. You need to understand many different concepts before it starts being useful. When everything is set up, you’ll probably want to expose some pods to the outside of the cluster. Kubernetes provides different ways to do it: I’ll describe them in this post. Setup For the sake of the demo, I’ll be using Kind: kind …

Read More »

Effectively Bridging the DevOps – R&D Gap without Sacrificing Reliability

DevOps culture revolutionized our industry. Continuous Delivery and Continuous Integration made six sigma reliability commonplace. 20 years ago we would kick the production servers and listen to the hard drive spin, that was observability. Today’s DevOps teams deploy monitoring tools that provide development teams with deep insight into the production environment. “O brave new world That has such people in’t!” …

Read More »

Faster Integration Tests with Reusable Testcontainers

In my job, I often need integration tests against a Neo4j database. My software is written in Java, and so is Neo4j. Neo4j is embeddable, too. So, in theory, I could just depend on the embedded version, open a connection, test my stuff and call it a day. It would not be a different engine, it would be – at …

Read More »

Java Bytecode Simplified: Journey to the Wonderland (Part 2)

Our previous article introduced Bytecode and discussed what it includes. This article will delve a bit deeper into ConstantPool. Highlights: Bytecode is a representation that is abstract in nature. They are fictitious codes for a fictitious machine known as the Java Virtual Machine. The Java virtual machine is a piece of software that interprets Bytecode. The JVM is a stack-based …

Read More »

Backend-for-Frontend: The Demo

In one of my earlier posts, I described the Backend-for-Frontend pattern. In short, it offers a single facade over multiple backend parts. Moreover, it provides each client type, e.g., desktop or mobile, exactly the data that it needs and not more in the format required by this client type. The use-case Imagine the following use-case. In an e-commerce shop, the …

Read More »

When Disaster Strikes: Production Troubleshooting

Tom Granot and myself have had the privilege of Vlad Mihalcea’s online company for a while now. As a result we decided to do a workshop together talking about a lot of the things we learned in the process. This workshop would be pretty informal ad-hoc, just a bunch of guys chatting and showing off what we can do with …

Read More »

Building Secure CI/CD Pipelines with GitHub Actions for Your Java Application

This article was originally post at Snyk.io and is used with permission GitHub Actions has made it easier than ever to build a secure continuous integration and continuous delivery (CI/CD) pipeline for your GitHub projects. By integrating your CI/CD pipeline and GitHub repository, GitHub Actions allows you to automate your build, test, and deployment pipeline. You can create workflows that …

Read More »