# Tag

Code Snippets

13 essays

Learning PathAug 4, 2026

Graph Algorithms: The Backend Engineer's Guide to Connected Systems

Graph algorithms are fundamental to managing interconnected data in backend systems. This article explores their practical applications in dependency resolution, pathfinding, and network analysis, contrasting storage approaches and detailing production-grade performance considerations.

Youssef El Hejjioui·10 min
Learning PathJul 9, 2026

Algorithms That Actually Matter When Your Backend Is Burning

Forget competitive programming. This deep dive covers the practical algorithms that fundamentally impact the scalability, reliability, and performance of distributed backend systems – from consistent hashing for caching to rate limiting and probabilistic data structures that keep services alive at 3 AM. It's about preventing pages, not solving puzzles.

Youssef El Hejjioui·9 min
career pathJul 7, 2026

Mastering Problem Analysis: Beyond the Coding Challenge Tutorial

This isn't about solving leetcode; it's about how to actually break down a complex system failure or an opaque coding problem. Learn systematic analysis, identify cognitive biases, and apply real-world debugging tactics to get to the root cause, whether it's a tricky algorithm or a production incident.

Youssef El Hejjioui·12 min
Learning PathJul 6, 2026

Sliding Window Algorithm: Backend Systems & Production Realities

The sliding window algorithm is a technique for processing a contiguous subsegment of data or events over time, crucial for backend systems tackling problems like rate limiting, real-time analytics, and anomaly detection. This article dissects its mechanics, common implementations (sliding log vs. sliding counter), performance trade-offs, and critical production considerations.

Youssef El Hejjioui·10 min
Learning PathJul 2, 2026

JVM Memory Tuning: Avoiding Production Heartbreak

JVM memory tuning isn't about magical flags; it's about understanding application behavior, garbage collection, and native memory. This guide covers heap configuration, GC algorithm selection, off-heap memory issues, and essential observability practices to keep your Java services stable under load, without resorting to black magic or cargo culting JVM arguments.

Youssef El Hejjioui·5 min
Code SnippetsJun 28, 2026

CI/CD Beyond the Green Checkmark: What Actually Stops the 3 AM Pager

Forget the hype. This isn't another tutorial. It's a debrief on CI/CD, how it breaks in the real world, and what skills actually matter when you're staring down a production fire at 3 AM. It's about delivering quality, not just green builds.

Youssef El Hejjioui·5 min
Learning PathJun 26, 2026

The Reluctant 'Handbook' to the Managed Configuration Processor (MCP)

After surviving another config cascade, someone asked for an MCP handbook. Fine. Here's a 'guide' to the Managed Configuration Processor: what it pretends to be, how to poke it, and why it'll still eat your weekend.

Youssef El Hejjioui·5 min
Learning PathJun 25, 2026

The Outbox Pattern: When 'Commit and Publish' Just Isn't Cutting It Anymore

We've all been there: a critical business event vanishing between a database commit and a message broker publish. The outbox pattern, born from distributed system pain, ensures your microservices don't lie about their state.

Youssef El Hejjioui·8 min
career pathJun 25, 2026

Cache Stampede: The Thundering Herd at 3 AM

Remember that sickening feeling when your database lights up like a Christmas tree, not from new traffic, but from expired cache keys? Yeah, that's the cache stampede. Let's talk about surviving it without losing more sleep.

Youssef El Hejjioui·5 min
Code SnippetsJun 18, 2026

Surviving the Microsecond War: Inside High-Frequency Trading Systems

Peeling back the layers of high-frequency trading applications isn't about fancy UIs or abstract cloud principles. It's about brutal optimization, network physics, and debugging systems where milliseconds cost millions. This is how the real game is played.

Youssef El Hejjioui·8 min
Code SnippetsJun 17, 2026

When 'Just Add Threads' Turns into a 3 AM Pager Duty Nightmare

Peeling back the layers of C++ threads, from CPU context switching to the brutal realities of cache coherency and false sharing that turn textbook concurrency into a production incident.

Youssef El Hejjioui·8 min
Code SnippetsMay 16, 2026

PostgreSQL Peer Authentication Failed Fix

Learn how to install PostgreSQL and fix the “Peer authentication failed for user postgres” error on Linux systems using simple configuration changes and proper user setup.

Youssef El Hejjioui·7 min
Code SnippetsMay 14, 2026

Oracle Free ARM VM Capacity Error Fix

Automatically create Oracle free VMs when regions are saturated. Use GitHub Actions and scheduled retries to keep attempting instance creation until capacity becomes available.

Youssef El Hejjioui·5 min