1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Recent Posts

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 »