Mar 14 · 4 min read · One of the most common misunderstandings when debugging Java applications running on the JVM is this: High memory usage does not necessarily mean there is a memory leak. Many engineers immediately s
Join discussion
Feb 14 · 4 min read · Understanding JVM memory is one of those topics that appears deceptively simple but is frequently explained with a mixture of intuition and myth. Many developers hear statements like “the heap stores addresses” or “objects contain methods,” which sou...
Join discussion
Feb 13 · 4 min read · 1. Introduction: The Architect’s Dilemma Imagine this, you are tasked to initialize a project from scratch. You are given the business requirements and the freedom to choose your tech stack. Which language do you choose? Do you choose a language with...
Join discussion
Feb 10 · 14 min read · TLDR: Java memory is split into two main areas: the Stack for method execution frames and primitives, and the Heap for all objects. Understanding their differences is essential for avoiding stack overflow errors, memory leaks, and garbage collection ...
Join discussion
Feb 3 · 19 min read · For the past two years, Otoroshi has had a Web Application Firewall powered by Coraza, the excellent Go implementation of ModSecurity. To achieve that, we compiled Coraza to WebAssembly (wasm) and ran it inside Otoroshi using our wasm virtual machine...
Join discussion
Feb 2 · 17 min read · Source: Series of Interview Questions for Backend Developers Part 1 1. Question 1: How does the JVM work? From class loading to initialization When you hit “Run” on a Java program, a lot of machinery spins into action before main is even touch...
Join discussion
Jan 19 · 5 min read · ExecutorService is a Java framework that manages a pool of worker threads to execute your tasks asynchronously. Instead of manually creating and managing threads, you submit tasks to the executor and it handles all the threading complexity for you. A...
Join discussionJan 17 · 3 min read · Garbage Collection (GC) is one of the most important components of the Java Virtual Machine (JVM). It automatically manages memory by reclaiming objects that are no longer in use. While GC simplifies memory management for developers, it also has a si...
Join discussion