Adetayo Akinsanya unkletayo.dev
Engineering / Tags / #Performance
#Performance 26 Articles

Articles tagged with #Performance

A curated list of engineering series, deep dives, and notes related to #Performance.

Engineering Java Collections From Scratch • Part 25 2026-11-10

Building a Custom In-Memory Data Store in Java: The Collections Capstone

Build a production-grade in-memory key-value database in Java from scratch using custom data structures: HashMaps, LRU caches, priority queues, and SkipLists.

Read →
Engineering Database Internals from First Principles • Part 19 2026-10-20

Advanced SQL Performance Tuning: Window Functions, Recursive CTEs, and Partitioning

Master advanced SQL optimization: Window function framing, recursive CTE tree traversals, and table partitioning with partition pruning.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 19 2026-10-20

Experimentation Architecture: Feature Flag Engines, Statistical A/B Testing, and Zero-Latency Evaluation

Master Experimentation Architecture. Learn zero-latency feature flag evaluation, deterministic MurmurHash3 user bucketing, and layout flicker prevention.

Read →
Engineering Java Collections From Scratch • Part 19 2026-10-20

High-Performance Java: How EnumSet and EnumMap Achieve Zero-Allocation Speed

Discover why EnumSet and EnumMap are the fastest collections in Java. Learn how 64-bit long bitmasks execute set operations in 1 CPU cycle.

Read →
Engineering Database Internals from First Principles • Part 17 2026-10-13

MySQL vs PostgreSQL MVCC: Heap Tuple Versions vs Undo Log Segments

Compare MySQL InnoDB and PostgreSQL MVCC implementations: Undo log version chains vs in-page heap tuples, HOT optimizations, and VACUUM engines.

Read →
Engineering Vitest Internals & Modern Testing Architecture • Part 10 2026-10-13

In-Source Testing & Zero-Overhead Production Dead Code Elimination

Learn how to use Vitest in-source testing to co-locate code and tests without inflating bundle size.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 16 2026-10-09

Edge Rendering & Server Components: SSR Hydration, Static Regeneration (ISR), and React Server Components

Master Edge Rendering & React Server Components (RSC). Learn SSR hydration, Incremental Static Regeneration (ISR), and RSC stream protocols.

Read →
Engineering Docker & Container Internals from First Principles • Part 15 2026-10-06

Storage Drivers Deep Dive: OverlayFS Layering and Copy-On-Write (CoW) Performance Overhead

Deep dive into Docker OverlayFS storage drivers: lowerdir image layers, upperdir writable layers, mergedir unified views, and Copy-on-Write (CoW) latency.

Read →
Engineering Spring & Spring Boot Core Internals from First Principles • Part 15 2026-10-06

Hibernate ORM and Spring Data JPA: Entity Management and N+1 Query Traps

Dissect Hibernate ORM and Spring Data JPA internals. Master the Persistence Context, entity states, lazy loading proxies, and solutions for N+1 queries.

Read →
Engineering Database Internals from First Principles • Part 14 2026-10-02

InnoDB Primary Clustered Indexes vs Secondary Index Lookups (The Double Lookup Cost)

Explore InnoDB clustered index architectures, secondary index lookup mechanics, double lookup costs, and why UUID v4 primary keys degrade database insertion performance.

Read →
Engineering System Design & Distributed Systems from First Principles • Part 13 2026-09-29

Distributed Caching Patterns: Cache-Aside, Write-Through, Write-Back, and Cache Stampedes

Master distributed caching patterns. Learn Cache-Aside, Write-Through, Write-Back, Cache Penetration, Cache Breakdown, and Thundering Herd mitigation.

Read →
Engineering Database Internals from First Principles • Part 12 2026-09-25

Composite & Covering Indexes: Maximizing Index-Only Scans and Avoiding Table Lookups

Master multi-column composite indexes in MySQL: leftmost prefix rules, range predicate traps, Index Condition Pushdown (ICP), and covering indexes.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 10 2026-09-18

Web Performance Engineering: Optimizing Core Web Vitals (LCP, INP, CLS) and Frame Budgeting

Master Web Performance Engineering. Learn Core Web Vitals optimization (LCP, INP, CLS), main-thread task yielding, and frame budgeting.

Read →
Engineering Vitest Internals & Modern Testing Architecture • Part 3 2026-09-18

Worker Thread Pool Isolation: How Tinypool & Worker Threads Execute Tests in Parallel

Understand Vitest's process and thread isolation model powered by tinypool and Node worker_threads.

Read →
Engineering Vitest Internals & Modern Testing Architecture • Part 1 2026-09-11

Why Jest Slows Down at Scale: Dual Module Graphs & ESM Interop Bottlenecks

Examine the technical causes of Jest test suite slowdowns: CommonJS transformations, custom module resolution, and memory leaks.

Read →
Engineering Kafka from First Principles • Part 7 2026-09-08

Kafka Producer Internals: Tuning RecordAccumulator, batch.size & linger.ms

Deep dive into KafkaProducer mechanics. Learn how RecordAccumulator, batch.size, linger.ms, and ZSTD batch compression maximize streaming throughput.

Read →
Engineering Vitest Internals & Modern Testing Architecture • Part 0 2026-09-08

Vitest Architecture & Modern Testing Systems: Series Introduction

Master Vitest from first principles: Vite transform pipelines, tinypool isolation, module hoisting, fake timers, and custom reporters.

Read →
Engineering Docker & Container Internals from First Principles • Part 6 2026-09-04

Dockerfile Instructions and Layer Mechanics: How Build Caching Works Under the Hood

Master Dockerfile build caching: cache invalidation cascades, COPY content checksums, instruction ordering optimization, and Exec vs Shell forms.

Read →
Engineering Kafka from First Principles • Part 6 2026-09-04

Kafka Storage Internals: Log Segments, Sparse Indexes & Log Compaction

Learn how Kafka locates any message in microseconds using sparse memory-mapped index files (.index) and prunes stale keys using Log Compaction.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 5 2026-09-01

React Architecture Under the Hood: Fiber Tree Reconciliation, Priority Scheduling, and Concurrent Mode

Deconstruct React Fiber architecture from first principles. Learn double buffering, priority lane scheduling, concurrent rendering, and hydration.

Read →
Engineering Kafka from First Principles • Part 5 2026-09-01

Kafka Zero-Copy Optimization: How sendfile() Streams Millions of Events/Sec

Discover how Kafka uses Java NIO transferTo() and Linux sendfile() Zero-Copy optimization to stream gigabits of data per second with minimal CPU load.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 4 2026-08-28

Modern Web Networking: HTTP/2 Multiplexing, HTTP/3 QUIC, WebSockets, and Server-Sent Events

Master modern web networking protocols. Compare HTTP/2 multiplexing, HTTP/3 QUIC over UDP, WebSockets, and Server-Sent Events (SSE).

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 2 2026-08-21

JavaScript V8 Engine Internals: JIT Compilation, Hidden Classes, and Event Loop Mechanics

Master V8 engine internals from first principles. Learn Ignition bytecode, TurboFan JIT compilation, Hidden Classes (Maps), and GC generational collectors.

Read →
Engineering Kafka from First Principles • Part 2 2026-08-21

Kafka Performance Secrets: Why Sequential Disk I/O Beats Random RAM Access

Learn why Kafka stores all events on disk. Understand how sequential disk writes and Linux OS Page Cache bypass JVM Garbage Collection pauses.

Read →
Engineering Frontend Web Architecture & Performance from First Principles • Part 1 2026-08-18

How Browsers Work: DOM Parsing, CSSOM Construction, and the Critical Rendering Path

Deconstruct browser rendering engines from first principles. Learn DOM parsing DFAs, CSSOM selector matching, layout reflows, and GPU layer compositing.

Read →
Engineering Java Collections From Scratch • Part 0 2026-08-14

Mastering Java Collections from First Principles: Series Introduction & Learning Roadmap

Discover what you will learn in this 25-part series on Java Collections internals. Build data structures from scratch and master memory mechanics.

Read →