foojay

A solution to the problem of cluster-wide CRDs

Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents A short intro to CRDsThe issue with cluster-wide CRDsThe separate clusters approachvCluster, a sensible alternativeConclusion I’m an average Reddit user, scrolling much more than reading or interacting. Sometimes, however, a post rings a giant red bell. When I stumbled upon If you could add one feature to K8s, …

Read More »

Project Loom: Structured Concurrency – Java

Author: Mahendra Rao B Original post on Foojay: Read More Table of Contents What is Structured Concurrency? How Structured Concurrency Works? Benefits of Strutured Concurrency ConclusionReferences In today’s era of cloud computing, where high-performance infrastructure is readily available, developers face a complex challenge in achieving efficient concurrency. While modern technological advancements have brought us closer to solving these challenges, we …

Read More »

Token Bucket Rate Limiter (Redis & Java)

Author: Raphael De Lio Original post on Foojay: Read More Table of Contents Index How It Works 1. Define a Token Refill Rate 2. Track Token Consumption 3. Refill Tokens 4. Rate Limit Check How to Implement It with Redis and Java 1. Retrieve current token count and last refill time 2. Refill tokens if necessary and update the bucket …

Read More »

Thinking differently about testing

Author: Steve Poole Original post on Foojay: Read More Table of Contents 10x Insights on a different view of quality assurance Bugs cost When’s the best time to find bugs? How should we really test? Changing the status quo Three challenges to overcome We have almost all the pieces Testing is multiI-dimensional Tortoise and the Hare vs the Feather and …

Read More »

Receiving Mails in Java with IMAP or POP3

Author: Jens Knipper Original post on Foojay: Read More Table of Contents Receiving mails Connecting to the Server Processing Mails Sanitizing received MailsUsageTesting I was recently in need to write some small demo project which was receiving and processing mails. There is a lot of documentation for sending mails, but gathering information about the receiving and processing part is less …

Read More »

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 »

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 »