IT Blog

Go, Backend, AI and Modern Technologies

Go & Backend ~35 min read

Observability in Go: What Goes in a Metric, a Log, and a Trace

What belongs in a metric vs a log vs a trace, a measured cost of getting it wrong on a real Prometheus, dashboards and alerting that don't cause fatigue, and PII discipline - not another setup tutorial.

golang observability prometheus grafana tracing
Go & Backend 12 min read

Cutting JSON Parsing CPU Cost in Go

encoding/json, jsoniter, easyjson, sonic, and Go 1.27's encoding/json/v2 benchmarked head to head on the same payload, on an Apple M5 and a Hetzner VPS - including a jsoniter decode result that only holds up on one of the two machines.

golang performance json optimization benchmarks
Go & Backend Updated 18 min read

Writing Cache-Friendly Go: Data Layout, False Sharing, and Memory Access

Updated with real go test -bench numbers from two machines, after Hacker News pushed back on several unverified claims. False sharing turned out bigger than claimed; sorting for branch prediction and "branchless is faster" didn't hold up.

golang performance cpu-cache optimization benchmarks
Go & Backend 18 min read

Production GraphQL Server in Go: Complete Guide

Build production-ready GraphQL servers in Go. N+1 problem solutions, query complexity, caching strategies, security, and performance optimization techniques.

golang graphql api performance
Go & Backend 22 min read

gRPC Gateway and REST API Bridge: Unified API Layer

Build production gRPC Gateway handling 100K+ requests/day. Bridge gRPC services to REST APIs with authentication, validation, and real implementation lessons.

golang grpc rest-api gateway
Go & Backend 22 min read

Event Sourcing in Go: From Zero to Production

Event sourcing: append-only log as database. No UPDATE, no DELETE. Complete audit trail built-in. PostgreSQL event store with CQRS implementation.

golang event-sourcing cqrs architecture
Go & Backend 14 min read

Docker for Go Developers: From Zero to Production

Everything Go developers actually need to know about Docker. Multi-stage builds, image optimization, security scanning, and production patterns.

golang docker devops containers
Go & Backend 12 min read

Change Data Capture with Debezium and Go

Building real-time data pipelines with Debezium CDC and Go. Production patterns, performance optimization, and handling millions of events per day.

golang cdc debezium kafka
security 25 min read

End-to-End Encryption: How Your Messages Stay Private

Complete guide to E2E encryption implementation. How WhatsApp, Signal, and modern apps protect your data. Real code examples and simple explanations.

security encryption e2e privacy
Go & Backend 16 min read

Building a Web Application Firewall in Go

Building a production-grade WAF in Go. Real-time threat detection, rate limiting, and advanced security patterns that blocked 99.7% of attacks.

golang waf security firewall
tutorials 15 min read

Microservices in Go: From Idea to Deployment

Complete guide to building microservices in Go. gRPC, Docker, Kubernetes, and production best practices.

golang microservices kubernetes grpc
Go & Backend 26 min read

Building a CDN in Go: Edge Computing and Content Delivery

Build production CDN in Go handling 100GB+ daily traffic. Edge caching, origin shielding, and content delivery optimization with real implementation code.

golang cdn caching distributed-systems
Go & Backend 22 min read

API Gateway in Go: From Zero to Production

Built production API Gateway in Go handling 1M+ requests/day. Rate limiting, authentication, load balancing, and real implementation lessons.

golang api-gateway microservices production
Go & Backend 25 min read

AiBsCleaner: Fighting the Performance Crisis in Modern Go Code

Why your Go code is slow: AI writes over-engineered solutions, humans copy-paste without understanding. AiBsCleaner finds performance killers that standard linters miss - from O(n³) algorithms to goroutine leaks.

golang code-quality static-analysis ai-tools
ai 10 min read

GPT-4 in Production: Real Implementation Experience

Practical experience integrating GPT-4 into backend services. Rate limits, costs, caching and best practices for reliable OpenAI API operations.

ai gpt-4 backend production