OpenAI Agents SDK with Go: Tool Calling, Session Memory, and Error Recovery

Most teams can connect an LLM in a demo. The real pain starts in production: multi-step tasks, flaky tool calls, unclear retries, and rising cost. This guide gives you a pragmatic Go-first blueprint for shipping an Agent workflow that can survive real incidents. ...

February 25, 2026 · 3 min · mengboy

OpenAI Responses API Streaming in Go: Timeouts, Retries, and Observability

Production streaming fails in two predictable ways: users wait while the stream silently drops, and your logs say “timeout” without telling you where it actually broke. This guide gives you a practical Go pattern for OpenAI Responses API streaming with strict timeout boundaries, safe retries, and useful telemetry. ...

February 23, 2026 · 2 min · mengboy

A Stable FreshRSS + RSSHub Deployment on Linux (Docker Compose)

Getting FreshRSS + RSSHub running is easy. Keeping it stable is the hard part: lost state after restarts, repeated 403 errors, broken proxy headers, and risky upgrades. This guide gives a production-ready Linux baseline focused on long-term stability, observability, and safe upgrades. ...

February 20, 2026 · 3 min · mengboy

Redis Distributed Lock Best Practices (with Common Misuse Cases)

In high-concurrency scenarios, distributed locks are essential for ensuring data consistency. However, many developers’ understanding of Redis distributed locks stops at “SETNX”, leading to frequent production incidents. This article comprehensively covers the correct usage of Redis distributed locks from principles, implementation, common misuse cases to production-grade solutions. ...

February 19, 2026 · 3 min · mengboy

Nginx Reverse Proxy WebSocket Disconnects: 7 Common Traps and Reliable Fixes

If your WebSocket keeps reconnecting every few seconds, it’s usually not your app code. In most production incidents, the root cause is an incomplete reverse-proxy chain in Nginx (or one proxy layer before it). This guide gives you a copy-paste checklist to stabilize WebSocket connections fast. ...

February 18, 2026 · 3 min · mengboy

RAG Accuracy Playbook: Retrieval Recall, Re-Ranking, and Evaluation Loop

If your RAG system feels unreliable, switching to a more expensive LLM is usually the wrong first move. In most cases, the bottleneck is retrieval quality: weak recall, poor ranking, and no measurement loop. This guide gives a practical path: make recall broader, make ranking sharper, then close the loop with offline + online evaluation. ...

February 17, 2026 · 3 min · mengboy

Hugo Auto Deploy with GitHub Actions: Safe Config and Troubleshooting

Your local hugo build works, but GitHub Actions fails randomly. Classic. The root cause is usually not the workflow syntax. It is environment drift, missing permissions, and unstable dependencies. ...

February 16, 2026 · 2 min · mengboy

Claude Code + Codex for Multi-Model Development: Cost, Speed, and Quality (Practical Workflow)

If you still use one model for everything, you usually pay in one of three ways: higher cost, slower delivery, or more rework. A better setup is role-based collaboration: Claude Code for planning and quality gates, Codex for fast implementation and batch edits. ...

February 15, 2026 · 3 min · mengboy

Go Memory Leak Triage in Production: pprof + FlameGraph Step by Step

If your Go service RSS keeps climbing, drops after restart, then climbs again, you likely have a memory retention problem (or an actual leak pattern). Do not start with random code edits. Run a clean evidence chain: metrics trend check → pprof snapshots → FlameGraph comparison → object growth path → regression validation. ...

February 14, 2026 · 3 min · mengboy

OpenAI Responses API + MCP in Practice: From Function Calling to Agent Workflows

If you’ve already used function calling but keep writing glue code for every non-trivial task, you’re likely at the point where Responses API + MCP makes more sense. This guide is practical: how to move from single tool calls to a scalable agent workflow where retrieval, execution, validation, and write-back follow a consistent structure. ...

February 11, 2026 · 3 min · mengboy