Skip to main content

25 docs tagged with "performance"

View all tags

Bloom Filters

A comprehensive guide to Bloom filters, covering probabilistic data structures, implementation details, use cases, interview questions, and real-world applications.

Caching Strategies

In-depth guide to caching strategies including cache-aside, write-through, write-behind, eviction policies, cache stampede prevention, hotkeys, Redis data structures, and multi-level caching.

CPU Scheduling

CPU scheduling algorithms, metrics, multilevel queues, real-time scheduling, and how the Linux CFS scheduler works.

Database Connection Pooling

A complete guide to database connection pooling — how connections work, pool mechanics, HikariCP tuning, pool sizing formulas, failure modes, PgBouncer, RDS Proxy, and production observability. Beginner through senior depth.

Indexing & Query Optimization

Deep dive into database indexing mechanisms — covering disk I/O, B-Trees, hash indexes, composite index design, geospatial indexing, inverted indexes, EXPLAIN analysis, and Spring/JPA performance.

Kafka Broker — Complete Guide

A complete guide to Kafka brokers — what they are, how storage works, partition leadership, replication, ISR, KRaft vs ZooKeeper, log compaction, performance internals, and production monitoring. Beginner through senior depth.

Kafka Throughput Optimization

A deep-dive into techniques for improving Kafka throughput — covering compression, batching, partitions, consumer parallelism, tuning configs, and their trade-offs.

Network Performance & Optimization

Latency, bandwidth, throughput, connection pooling, keep-alive, HTTP/2 multiplexing, QUIC, compression, and practical tuning techniques.

Parallel Consumer Deep Dive

Deep dive into the Confluent Parallel Consumer model for decoupling thread concurrency from partition counts safely.

Performance & Monitoring

Identifying slow queries, profiling tools, key metrics, connection pooling, and practical optimization workflow.

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.

Rate Limiting Algorithms

A comprehensive guide to rate-limiting algorithms, including Token Bucket, Leaky Bucket, Fixed Window, Sliding Window Log, and Sliding Window Counter. Covers workflow mechanics, trade-offs, and distributed scaling.

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 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.

Scaling Reads

Strategies for handling high read QPS including caching layers, read replicas, CDN, CQRS, and database indexing. Covers Redis patterns, cache invalidation, consistency models, fan-out strategies, and senior-level deep dives into coherence, hot keys, and tail latency.

Scaling Writes

Deep-dive into high write throughput techniques — sharding, partitioning, WAL internals, LSM trees, async pipelines, batching, backpressure, idempotency, and distributed transactions — with production Java/Spring code and failure mode analysis.

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.

Virtual Memory — Deep Dive

A comprehensive guide to virtual memory — covering address spaces, paging mechanics, swap, OOM killer, huge pages, NUMA, and practical Linux/JVM tuning for senior engineers.