Articles

Tech Articles

In-depth articles on AI, web development, cloud native, and indie hacking.

@admin·5 min read·Cloud Native

AI Agent Observability: Loops, Tool Calls, and Budget Guardrails

Agent failures are usually not service crashes, but wrong tool selection, stalled loops, permission waits, or runaway budgets. This article designs a replayable Agent observability solution around task traces, step status, toolchains, manual confirmation, and runtime budgets.

#AI Agent #DevOps♥ 180 comments
@admin·12 min read·Cloud Native

Prometheus + Grafana: Building Observability

Your service is running, but is it healthy or slow? This guide explains the classic Prometheus + Grafana stack: metric types, the pull model, PromQL fundamentals, application instrumentation, Grafana dashboards and alerts, and how logs and traces complete the three pillars of observability.

#DevOps♥ 300 comments
@admin·9 min read·Cloud Native

Nginx Reverse Proxying in Practice

Nginx is the most common reverse proxy and gateway in deployments, yet many developers only know how to copy a configuration snippet. This guide covers location matching, proxy_pass, X-Forwarded-* headers, load balancing, HTTPS/TLS, worker/buffer/gzip tuning, and common WebSocket, large-upload, and streaming pitfalls.

#DevOps♥ 310 comments
@admin·11 min read·Web Development

System Design: Building a URL Shortener from Scratch

A URL shortener is a classic system design interview problem spanning reads, writes, uniqueness, redirects, caching, and scaling. This article covers requirements, short-code generation, storage, 301 vs. 302 redirects, caching, sharding, and how to explain design tradeoffs during an interview.

#TypeScript #DevOps♥ 320 comments
@admin·6 min read·AI Coding

AI Coding Tool Exit Drill: Portability of Rules, Task State, and Audit Evidence

Being able to export chat JSON doesn't mean you can leave a coding tool. This article defines a content-addressed exit package covering repository rules, task checkpoints, approvals, tool configuration, and audit receipts, and uses a cold start with an alternative tool to prove migration and revocation are truly complete.

#AI Agent #DevOps #Open Source♥ 300 comments
@admin·11 min read·Web Development

System Design: Social Media Feeds (WeChat Moments, Twitter, and Weibo)

Feed systems are a demanding design problem: high read and write volume, ranking, real-time delivery, and scalability. This article explains push, pull, and hybrid models; timeline storage; popular content; pagination and end-of-feed behavior; and what to choose at tens of thousands versus hundreds of millions of users.

#DevOps♥ 330 comments