Caching with Redis: TTL, Eviction, and Cache Stampede
Learn how to configure TTL, Redis eviction mechanisms, and how to prevent cache stampede when multiple requests miss the cache simultaneously.
Design patterns, system design, microservices and the building blocks of large systems.
Learn how to configure TTL, Redis eviction mechanisms, and how to prevent cache stampede when multiple requests miss the cache simultaneously.
Understand B-tree and GIN indexes in PostgreSQL, how to create them, read EXPLAIN, and choose the right index type for each scenario.
Explaining three fundamental Kafka concepts — topic, partition, offset — with producer/consumer examples using Spring Boot.
A comprehensive guide to common load balancing algorithms (Round Robin, Least Connections, Consistent Hashing...) with Java examples and selection criteria for different scenarios.
Analyze practical criteria to choose between monolith and microservices, with code examples demonstrating operational costs for each architecture.
A guide to building a rate limiter with Redis and Lua scripts, applied to Spring Boot APIs, with testing examples using Testcontainers.
A comprehensive guide to Redis's main data types (String, Hash, List, Set, Sorted Set) with Java examples and real-world use cases.
Guide to applying Strategy Pattern in Java/Spring Boot to eliminate long if-else chains and make code easier to extend and test.