raza.build
Systems Lab
5
Writing
Contact
search
Search...
⌘K
light_mode
menu
Systems Lab
5 Labs
Writing
Contact
search
Search & Commands
⌘K
GitHub
↗
RSS Feed
↗
home
Home
/
Tags
Tags
Explore topics and technologies I write about.
#Performance
5
#Backend
4
#Concurrency
4
#Go
3
#Security
2
#Developer Tools
2
#JavaScript
1
#Node
1
#Git
1
#Shell
1
#Kafka
1
#MongoDB
1
#Debugging
1
#Redis
1
#AI
1
#SQLite
1
#Architecture
1
search
Type a command or search
ESC
Quick Actions
contrast
Toggle Dark / Light Theme
Action
link
Copy Current Page URL
Action
Navigation
home
Home
Navigation
article
All Articles
Navigation
science
Systems Lab (All Topics)
Interactive
router
Lab // API & Database Limits
Interactive
hub
Lab // Kafka Partitions & Skew
Interactive
receipt_long
Lab // Transactional Outbox Pattern
Interactive
database
Lab // Database Indexes & Scans
Interactive
speed
Lab // Big-O & Hardware Limits
Interactive
mail
Contact & Consulting
Navigation
code
GitHub Profile
External
rss_feed
RSS Feed
External
Articles (8)
Building a Safe SQLite MCP Server in Go — Why Agents Shouldn't Have Raw Database Access
Exposing raw SQL or shell access to AI agents is an operational disaster waiting to happen. Here is how to build a single-binary Model Context Protocol (MCP) server in Go with immutable database guardrails.
Go
The Hidden Cost of Overfetching — How a NAT Gateway Spike Led Us Down a Rabbit Hole
A NAT gateway inbound traffic spike of 100MB/s with no deployment changes. The culprit wasn't the network — it was two overfetching bugs hiding in a Kafka consumer and a MongoDB query, exposed by moving to new infrastructure.
Go
Dependency Pinning in JavaScript — Why It Matters More Than You Think
Loose version ranges feel convenient until a patch update ships malware or breaks your build on a fresh clone. Here's the honest tradeoff between pinning and automatic updates, and where to land.
JavaScript
Git + Shell: Run Tooling Only on Files You Actually Changed
A simple but powerful shell pattern — pipe git log into your tooling so you're only formatting, linting, testing, and scanning the files that changed, not your entire codebase.
Shell
Build a Rate Limiter in Go — Part 4: Redis-Backed Distributed Rate Limiting
In-memory rate limiters break the moment you scale horizontally. In Part 4 we move state into Redis, introduce a Store interface for flexibility, and implement both sliding window and token bucket algorithms that work correctly across multiple instances.
Go
Build a Rate Limiter in Go — Part 3: The Token Bucket Algorithm
The sliding window isn't the only way to rate limit. In Part 3 we implement the token bucket algorithm — a different mental model that handles bursts more gracefully.
Go
Build a Rate Limiter in Go — Part 2: Scaling with Map Sharding
In Part 1 we built a correct sliding window rate limiter. In Part 2 we fix its biggest weakness — a global lock that blocks real traffic during cleanup at scale.
Go
Build a Rate Limiter in Go — Part 1: The Sliding Window
A practical guide to building a correct, concurrent, memory-safe rate limiter in Go using the sliding window algorithm — with honest tradeoffs included.
Go
No matching results found
↑↓
Navigate
↵
Select
ESC
Close
raza.build