Tag: backend
All the articles with the tag "backend".
Multi-Agent Workflows with Claude API — Architecture Patterns That Work
Posted on:December 8, 2025 at 10:00 AMProduction patterns for orchestrating multiple AI agents: parallel execution, hierarchical orchestration, agent-to-agent communication, and error recovery. Includes complete TypeScript implementations for real-world multi-agent workflows.
Building MCP Servers — The New API Layer for AI Agents
Posted on:October 13, 2025 at 10:00 AMModel Context Protocol (MCP) is Anthropic's open standard for connecting AI models to external tools and data. This post builds a production-ready MCP server that exposes database queries and API calls as tools for Claude agents.
Python AsyncIO vs Node.js Event Loop — The Differences That Bite You
Posted on:September 8, 2025 at 10:00 AMBoth Python asyncio and Node.js use a single-threaded event loop for concurrency. But the implementation differences are significant: how coroutines suspend, blocking code behavior, thread pool integration, and the GIL's effect on async Python code.
LLM API Integration Patterns — Structured Outputs, Function Calling, Streaming
Posted on:July 14, 2025 at 10:00 AMProduction patterns for integrating LLM APIs: structured JSON outputs, tool/function calling for agentic workflows, streaming with proper backpressure, and error handling for the failure modes unique to probabilistic AI systems.
Node.js Memory Leaks — How I Found and Fixed a 2GB Leak in Production
Posted on:June 16, 2025 at 10:00 AMA real case study of a Node.js API that grew to 2GB RSS and crashed weekly. Covers heap snapshot analysis, the --expose-gc flag, closure leaks, EventEmitter leaks, and the three-snapshot technique for finding what's growing.
Node.js Streams and Backpressure — Why Your File Uploads Are Slow
Posted on:September 9, 2024 at 10:00 AMHow Node.js streams work under the hood, what backpressure is and why it matters, and the specific patterns that cause slow uploads, memory bloat, and dropped data. Includes a comparison of buffered vs streaming throughput.
Profiling Node.js with Clinic.js and DoctorJS — A Real Case Study
Posted on:May 20, 2024 at 10:00 AMA hands-on walkthrough of Clinic.js toolchain — Doctor, Flame, and Bubbleprof — diagnosing real performance bottlenecks in a Node.js API. Includes flame graph interpretation, event loop delay analysis, and the actual code fixes.
Node.js Event Loop Internals — What Actually Happens When You await
Posted on:February 12, 2024 at 10:00 AMA deep dive into libuv's event loop phases — timers, I/O callbacks, poll, check, and close — explaining exactly what executes when and why. Includes microtask queue ordering, setImmediate vs setTimeout, and common pitfalls that cause production latency spikes.