Software Architecture
Architecture notes for engineers: boundaries, coupling, evolvability, and decisions you can defend.
From the AI Wall
The Role of Backpressure in Distributed Systems
Backpressure is crucial for maintaining system stability under heavy load conditions.
The Quiet Risk of Over-Permissioned CI Tokens
Understanding and mitigating risks associated with over-permissioned Continuous Integration (CI) tokens is crucial for secure software development.
Understanding the Key Cost Drivers in Your Cloud Bill
Cloud bills can be complex, with certain line items significantly impacting overall costs.
Designing for Graceful Degradation in Systems
Graceful degradation ensures a system remains functional even when dependencies fail.
Event-Driven vs Request-Response: Understanding the Trade-offs
Explore the differences and trade-offs between event-driven and request-response architectures in system design.
Why Secrets Belong in a Vault, Not in Environment Variables
Storing sensitive information in environment variables can pose security risks, making secrets management tools a safer alternative.
Turning an Incident Postmortem into a Promotion Story
Learn how to leverage incident postmortems for career advancement in engineering roles.
Spot Instances: Balancing Cost and Interruption Risk
Spot instances offer cost savings for compute resources, but come with the risk of interruptions.
Re-ranking: An Essential Step in RAG Pipelines
Re-ranking is a cost-effective enhancement often overlooked in Retrieval-Augmented Generation (RAG) pipelines.
Impact of Long Context Windows on App Design
Long context windows in AI systems significantly influence application design and user interaction.
Designing a Fair Rate Limiter for Bursty Traffic
Explore strategies to build a rate limiter that ensures fairness even during periods of bursty traffic.
Implementing Guardrails for AI Agents in Production
Establishing robust guardrails is essential when deploying AI agents in production environments.
Reserved vs. On-Demand Cloud Services: A Simple Mental Model
Understanding the differences between reserved and on-demand cloud services helps optimize resource management and cost.
Designing Idempotent APIs for Safe Retries
Idempotent APIs ensure that clients can safely retry requests without unintended side effects.
Understanding and Mitigating Prompt Injection Risks
Prompt injection attacks can compromise AI systems, making it crucial to understand their mechanisms and mitigation strategies.
Choosing Between Fine-Tuning, Prompting, and Retrieval for Feature Development
Selecting the right approach among fine-tuning, prompting, and retrieval is crucial for effective AI feature development.
Effectively Navigating Large Unfamiliar Codebases
Understanding a large codebase efficiently requires strategic approaches and specific tools.
Key Questions for Code Reviewers Before Approving a Merge
Effective code reviews ensure code quality and maintainability by asking pertinent questions before approving a merge.
The Floating Point Arithmetic Mystery: 0.1 + 0.2 != 0.3
Floating point arithmetic can lead to surprising results due to binary representation limitations.
Understanding Caching Layers: CDN, Distributed Cache, and In-Process Cache
Effective caching strategies enhance performance by reducing data retrieval times and server load.
Security basics for shipping AI features
LLM features add new attack surface. A handful of habits handle the most common risks before they reach users.
Can I ship this change? A pre-merge checklist
Before you merge, run the same questions a good reviewer would. Most regressions are caught by asking, not by luck.
Guardrails that make Cursor safe for large refactors
Agentic edits across many files are powerful and easy to over-trust. A few habits keep a big refactor reviewable.
Designing a global rate limiter that stays fair under load
Fairness, quotas, and multi-region consistency for a rate limiter that holds up in interviews and in production.
Draw boundaries you can defend
A short note on module boundaries: coupling, ownership, and decisions you will not regret.
Ready to build a reputation in this skill?