Martin Smelt

Challenge yourself with Application Observability Code Challenges

Author: Cees Bos Original post on Foojay: Read More Table of Contents What are the Application Observability Code Challenges?GoalsWhat do the code challenges look like?Your own stackOnline environment(s)The first challenge How to Get StartedChallenge details Code challenges are a nice way to challenge yourself with programming, resulting in some great challenges like #1brc and the yearly Advent of Code (#AoC). …

Read More »

How JVM handles exceptions

Author: Nataliia Dziubenko Original post on Foojay: Read More Table of Contents Example Exception table Bytecode instructions Try-catch-finally flow Less nice flow Summarized flow It’s interesting to know how the JVM runs bytecode instructions… But do you know what is going on when an exception is thrown? How does the JVM handle the delegation of control? What does it look …

Read More »

Fixed Window Counter Rate Limiter (Redis & Java)

Author: Raphael De Lio Original post on Foojay: Read More Table of Contents IndexHow It Works 1. Define a Window Interval 2. Track Requests 3. Reset Counter: 4. Rate Limit Check: How to Implement It with Redis and Java 1. Use the INCR command to increment the counter in Redis each time a request is allowed 2. Set the key …

Read More »

Hexagonal architecture met Java en Gradle

Artikel uit Java magazine 3 2021 Alle code is geschreven volgens impliciete of expliciete richtlijnen. Hoe explicieter en consequenter, hoe eerder je kunt spreken van een daadwerkelijke architectuur, in plaats van een serie van ad hoc beslissingen.   Dit artikel gaat in op een architectuur met de naam ‘hexagonal architecture’: de filosofie en een voorbeeld implementatie. De verklaring voor de naam …

Read More »

Foojay Podcast #65: Boost Your Career in 2025!

Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (audio only)GuestsSouJava (JUG Brazil)Content With the first Foojay podcast of 2025, we want to help you to boost your career! By now, you’ve likely had your year-end performance review with your manager and set some goals to advance in the coming year. Are you ready to take …

Read More »

The slow Death of the onjcmd Debugger Feature

Author: Johannes Bechberger Original post on Foojay: Read More Table of Contents JCmd triggered debuggingSummaryProblemSolutionConclusion Almost to the day, one and a quarter years ago, I published my blog post called Level-up your Java Debugging Skills with on-demand Debugging. In this artucle, I wrote about multiple rarely known and rarely used features of the Java debugging agent, including the onjcmd …

Read More »

Java 17

Java 17 – Artikel uit JAVA magazine 3 2021   Oracle heeft sinds Java SE 10 een 6 maanden releaseschema geïnstalleerd, in tegenstelling tot de (zo ongeveer) 3 jaars releases daarvoor. De deadline voor nieuwe features in Java is fixed gemaakt. Dit betekent dat het aantal JDK Enhancement Proposals (JEP) dat geïmplementeerd kan worden per release variabel is geworden. Eens …

Read More »

An Example of HACS: Adaptive Lighting

Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The Home Assistant Community Store Adaptive Lighting Conclusion In the previous post of this focus, we replaced Philips Hue automation with the one from Home Assistant. One significant gap we noticed was that Home Assistant doesn’t automatically adjust the brightness according to the time of the day, a …

Read More »

Rate limiting with Redis: An essential guide

Author: Raphael De Lio Original post on Foojay: Read More Table of Contents Why Redis for Rate Limiting?Popular Rate-Limiting Patterns Leaky Bucket Token Bucket Fixed Window Counter Sliding Window Log Sliding Window Counter Choosing the Right Tool for the Job Understand Your Traffic Patterns Assess the Level of Precision Needed Consider Resource Constraints Account User Experience Stay curious! This article …

Read More »