#Backend
12 posts
-
7 Practical java.util.concurrent Patterns: From Thread Pools to Concurrency Control
ExecutorService, CompletableFuture, CountDownLatch, ConcurrentHashMap, BlockingQueue, Semaphore, ReentrantLock — 7 commonly used java.util.concurrent classes with real-world patterns and working code.
-
Spring Boot Practical Guide Part 7: Logging Strategy and Practice
From SLF4J, Logback, Log4j2 comparison to structured logging, MDC, and centralized log management
-
Spring Boot Practical Guide Part 6: Monitoring and Observability
Real-time system monitoring with Prometheus, Grafana, and custom metrics
-
Spring Boot Practical Guide Part 5: Database Optimization
Handling large-scale data with index design, cursor-based pagination, and Read Replicas
-
Spring Boot Practical Guide Part 4: Resilience Patterns
Building fault-tolerant systems with Circuit Breaker, Rate Limiter, and Bulkhead
-
Spring Boot Practical Guide Part 3: Event-Driven Architecture
Building a reliable event system with Kafka and the Outbox pattern
-
Spring Boot Practical Guide Part 2: Caching Strategy and Redis
A complete caching guide from Cache-Aside pattern to cache problem resolution, ready to apply in production
-
Spring Boot Practical Guide Part 1: Concurrency Control and Inventory Management
A practical guide to solving concurrency issues with atomic UPDATEs and idempotency keys
-
Spring Boot Pre-Interview Guide: Comprehensive Assignment
Spring Boot-based online marketplace REST API comprehensive assignment — from product, order, and member domain design to testing and deployment
-
Spring Boot Pre-Interview Guide Part 3: Documentation & AOP — Swagger · MDC · Aspect
SpringDoc setup and annotation discipline, MDC-based request tracing and sensitive-data masking, AOP for cross-cutting concerns — all the documentation, logging, and AOP decisions that separate a passing submission from a scoring one.
-
Spring Boot Pre-Interview Guide Part 2: Database & Testing — Environment Split · Test Pyramid · Testcontainers
Environment-specific DB selection and ddl-auto policies, Memory Repository pitfalls, Test Pyramid annotation choices, choosing between test doubles (Dummy, Stub, Spy, Mock, Fake), and using Testcontainers to catch bugs that H2 dialect differences hide — the second most-flagged area in Spring Boot pre-interview submissions, covered in one post.
-
Spring Boot Pre-Interview Guide Part 1: Core Application Layer — Controller, Service, Repository, Domain
The four-layer design points evaluators repeatedly flag in Spring Boot pre-interview assignments — Controller/Service/Repository/Domain responsibility split, Request → Command conversion, what @Transactional(readOnly=true) actually does, and the three-tier priority of GlobalExceptionHandler. Series Part 1.