Skip to main content

39 docs tagged with "backend"

View all tags

Cookies vs Sessions vs JWT

Deep-dive into web authentication mechanisms — Cookies, Sessions, and JWTs — for senior engineering interviews and production systems.

Distributed Lock

Implementation of Distributed Locks using Redis, Redisson, and the Redlock algorithm for senior engineers.

Rate Limiting

A complete guide to rate limiting — from beginner fundamentals to senior-level distributed design. Covers all algorithms, Redis implementations, decision frameworks, failure modes, and production patterns.

Redis as Distributed Cache

Distributed caching patterns with Redis — cache-aside, write-through, write-behind, read-through — and production concerns like stampede, warming, invalidation, and Spring Cache integration.

Redis as In-Memory Database

Redis as a primary in-memory database — persistence mechanisms (RDB, AOF), durability guarantees, data modeling patterns, and when to use Redis as your primary store vs cache.

Redis Data Types & Value Types

Complete guide to Redis data types — Strings, Hashes, Lists, Sets, Sorted Sets, Bitmaps, HyperLogLog, Geospatial, and Streams — with senior-level use cases and encoding internals.

Redis Eviction Policies

Comprehensive guide to Redis maxmemory algorithms (LRU, LFU, Random) and how Redis approximates caching algorithms at scale for senior engineers.

Redis Interview Questions & Answers

Senior-level Redis interview questions covering data structures, persistence, clustering, cache patterns, distributed systems, and production failure scenarios.

Redis Pipeline, Transactions & Lua Scripts

Deep dive into Redis pipelining for throughput optimization, MULTI/EXEC transactions, optimistic locking with WATCH, and atomic Lua scripting — with production patterns and pitfalls.

Redis Pub/Sub

Redis Pub/Sub messaging — channels, patterns, fire-and-forget semantics, delivery guarantees, and production comparison with Redis Streams.

Redis Streams

Complete guide to Redis Streams — append-only logs, consumer groups, message acknowledgement, and comparison with Kafka for senior engineers.

Redis: Overview & Architecture

Redis architecture internals, single-threaded model, I/O multiplexing, and use case decision guide for senior engineers.

Session Management

Managing distributed sessions with Redis and Spring Session, including security best practices and programmatic control.

Spring Batch — Complete Guide

A complete guide to Spring Batch — Job architecture, Chunk-oriented processing, ItemReader/Processor/Writer, fault tolerance, scaling patterns, transaction boundaries, and production monitoring.

Spring Boot — Advanced Topics

Advanced Spring Boot topics covering security, performance tuning, reactive systems, deployment, and production-ready design.

Spring Boot: Interview Questions

Curated Spring Boot interview questions and answers spanning fundamentals, advanced topics, and real-world production scenarios.

Spring Cloud — Microservices Ecosystem

Complete guide to Spring Cloud, covering Service Discovery (Eureka), Config Server, API Gateway, Circuit Breakers, Distributed Tracing, internal workings, integration patterns, pros/cons, and interview questions.

Spring Data JPA: Custom Queries with @Query

A complete guide to custom JPQL, Native SQL, SpEL, projections, and senior-level internals — persistence context mechanics, N+1 prevention, memory optimization, and connection pool management.

Spring Framework: Deep Dive

Advanced Spring Framework guide covering bean lifecycle, AOP, data access, reactive programming, and batch processing.

Spring Framework: Overview

Foundational overview of the Spring Framework, including IoC, dependency injection, modules, and enterprise application development.

Spring Knowledge Base Overview

A comprehensive reference covering Spring Boot, Spring Framework, security, data access, web layer architecture, and interview preparation.

SQL Interview Questions

Common SQL interview questions on ranking queries, indexing, and practical query optimization.

Virtual Threads (Project Loom)

A comprehensive deep dive into Java 21 Virtual Threads, Carrier Threads, continuations, and avoiding synchronized pinning for senior engineers.