Technology
Go
A language for high-performance services and microservices: concurrency via goroutines, low latency, simple deployment.
About the technology
I have used Go for five years where performance, low memory consumption and predictable latency under high load are critical. The language is deliberately minimalist, and that simplicity is its strength: the code is easy to read, review and maintain as a team, and the barrier to entry for new developers is low. The main thing I value about Go is its built-in concurrency model based on goroutines and channels. Thousands of lightweight goroutines let you serve a huge number of simultaneous connections with minimal overhead, while channels and the sync package provide clear synchronization primitives. I design concurrent code carefully: I use contexts (context.Context) for cancellation and timeouts, errgroup to manage groups of goroutines, watch for races with the built-in -race detector, and avoid goroutine leaks. In Go I have written high-load HTTP and gRPC services, gateways, event-stream handlers from Kafka and NATS, background workers and command-line utilities. Static compilation into a single binary with no external dependencies radically simplifies delivery: the container is tiny, startup is instant, and deployment to Kubernetes is trivial. Strict typing, explicit error handling and the absence of hidden magic make service behavior predictable in production. I follow the idiomatic style, format code with gofmt, check it with golangci-lint, and organize the project on clean-architecture principles with layer separation and dependency inversion through interfaces. Testing is an integral part: I write table-driven tests, benchmarks for hot paths, and use pprof profiling to find CPU and memory bottlenecks. For observability I add structured logging, Prometheus metrics and OpenTelemetry tracing. Paired with PHP/Laravel, Go perfectly covers tasks that need maximum throughput and minimal latency: I move the performance-critical parts of the system into it, leaving product logic in the more expressive PHP ecosystem. This division gives the best of both worlds.
Experience
Projects using this technology
There are no published projects with this technology yet. See all projects.
Articles
- PostgreSQL and Elasticsearch: Building a Real-Time Data Synchronization Pipeline with Logical Replication and Go How to build a reliable CDC pipeline between PostgreSQL and Elasticsearch in Go using WAL logical replication and pglogrepl — without polling or complex ETL processes.
- PHP and Go Microservices in a Single Kubernetes Cluster: Unified CI/CD, Routing, and Inter-Service Communication How to build a heterogeneous microservices architecture with PHP (Laravel) and Go in a single Kubernetes cluster: unified CI/CD, API Gateway, OpenAPI contracts, and observability.
- Building an Internal Service Registry with Go and Redis: Dynamic Service Discovery Without Consul or Etcd Build your own Service Registry for a microservices architecture using Go and Redis: registration, heartbeat, client-side load balancing, and Docker deployment — no Consul, Etcd, or ZooKeeper required.
- Elasticsearch and Go: Building a High-Performance Indexing Pipeline with Bulk API and Backpressure Management How to build a production-ready indexing pipeline in Go with Elasticsearch Bulk API, backpressure management, circuit breaker, and monitoring. Practical code examples included.
- Building a Dynamic Request Routing System in Go Microservices with Redis and Kubernetes A practical guide to building a dynamic routing system in Go microservices using Redis as a route store and Kubernetes for orchestration. Covers canary routing, A/B routing, hot reload, and monitoring.
- Building a Distributed Locking System with Redis and Go: Redlock Algorithm, Failure Handling, and Real-World Cases A deep dive into distributed locks with Redis and Go: from simple SET NX to the Redlock algorithm, Kleppmann's critique, fencing tokens, and real production use cases.
- Building an Idempotent REST API in Go with PostgreSQL: Strategies, Idempotency Keys, and Duplicate Handling A complete guide to implementing an idempotent REST API in Go with PostgreSQL: idempotency key architecture, middleware, duplicate handling, concurrent access, and a production checklist.
- Go Microservices with PostgreSQL: Database per Service Pattern, Schema Management, and Cross-Service Queries Without JOIN An in-depth look at the Database per Service pattern for Go microservices on PostgreSQL: data isolation, migrations in Kubernetes, replacing JOINs with API Composition and CQRS, connection pooling, and OpenTelemetry.
- CI/CD for Go and Docker: Building a Fast and Secure Pipeline with Multi-Stage Images and Vulnerability Scanning How to build a professional CI/CD pipeline for Go applications with multi-stage Docker builds, Trivy vulnerability scanning, image signing, and Kubernetes deployment.
- Declarative Elasticsearch Infrastructure Management via Kubernetes Operator: ECK and Custom CRDs A complete guide to managing Elasticsearch in Kubernetes using the ECK Operator and developing custom CRDs in Go for production scenarios in 2026.
- Advanced MySQL Query Caching Techniques: Query Cache, ProxySQL, and Redis Together Exploring MySQL caching strategies in 2026: from the deprecated Query Cache to ProxySQL and Redis. Cache-Aside patterns, binlog invalidation, PHP and Go examples, benchmarks.
- Building Self-Healing Microservices with Go and Kubernetes: Automatic Recovery Without Operator Intervention A practical guide to designing self-healing microservices in Go on Kubernetes: health checks, circuit breaker, bulkhead, Redis state persistence, and recovery monitoring.
- PostgreSQL and Row-Level Security in 2026: Fine-Grained Data Isolation in Multi-Tenant Applications A complete guide to Row-Level Security in PostgreSQL for multi-tenant applications: policies, Go and Laravel integration, pitfalls, and benchmarks.
- Building an A/B Testing System with Go and Redis: User Segmentation, Metrics Collection, and Results Analysis A complete guide to building your own A/B testing system with Go and Redis: deterministic traffic splitting, metrics collection via Redis Streams, and statistical analysis of results.
- Redis Sentinel vs Redis Cluster in 2026: When to Choose Each High Availability Mode An in-depth comparison of Redis Sentinel and Redis Cluster: architecture, failover, sharding, configuration examples, and selection criteria for DevOps engineers and architects.
- Building a Distributed Full-Text Search System with Elasticsearch and Go: Sharding, Routing, and Fault Tolerance A comprehensive guide to building distributed full-text search with Go and Elasticsearch: sharding, custom routing, circuit breakers, and fault tolerance strategies for production systems.
- Docker and REST API: Building a Local Development Environment with Mock Services, Proxy, and Hot Reload for Microservices A practical guide to setting up a local microservices development environment with Docker Compose, WireMock, Traefik, hot reload for Go and PHP/Laravel, test data management, and faster builds.
- Go and MySQL: Building a High-Load Data Access Layer with Connection Pooling, Prepared Statements, and Migrations A complete guide to building a high-performance MySQL data access layer in Go without ORM: connection pooling, prepared statements, migrations, testing, and observability.
- Building Your Own CI/CD Engine in Go: Pipelines, Artifacts, and Kubernetes Deployment Without GitHub Actions How to build a minimalist in-house CI/CD engine in Go: a DAG-based pipeline scheduler, step execution in Docker, artifact storage in S3, and deployment to Kubernetes.
- Redis 8.x in 2026: New Data Structures, Improved Streams, and Performance Under Load A deep dive into Redis 8.x: new data types, Streams improvements, vector search, benchmarks, and practical patterns for microservice architectures with Go and PHP examples.
- Building a Zero-Trust Microservices Network on Kubernetes: Policies, mTLS, and Identity Without a Service Mesh Implementing zero-trust security in Kubernetes without Istio or Linkerd: NetworkPolicy, SPIFFE/SPIRE, mutual TLS authentication between Go services, and event auditing.
- Go and gRPC in Kubernetes: Building High-Performance Inter-Service Communication with Load Balancing and Observability A comprehensive guide to gRPC in Go and Kubernetes: proto files, load balancing, observability with Prometheus and OpenTelemetry, mTLS, and microservice testing.
- Kubernetes Admission Controllers in 2026: Writing Custom Go Webhooks for Cluster Policy Enforcement A complete guide to writing Kubernetes Admission Webhooks in Go: ValidatingWebhook, MutatingWebhook, TLS, policy examples, deployment, and CI/CD integration.
- Building an Internal API Gateway with Docker and Go from Scratch: Routing, Load Balancing, and Circuit Breaker A step-by-step guide to building your own API Gateway with Go and Docker: routing, round-robin load balancing, circuit breaker, and monitoring — no third-party frameworks required.
- Implementing the Saga Pattern in Go Microservices: Orchestration and Choreography with PostgreSQL and Redis A deep dive into the Saga pattern for distributed transactions in Go microservices: orchestration via PostgreSQL and choreography via Redis Streams, with code examples and anti-patterns.
- PostgreSQL Logical Replication in 2026: CDC, Change Streaming, and Microservices Integration A deep dive into PostgreSQL Logical Replication: replication slot architecture, Change Data Capture via pgoutput and Debezium, microservices integration, and CDC implementation in Go.
- Elasticsearch as an Analytics Engine: Aggregations, Dashboards, and a ClickHouse Alternative for Mid-Scale Data A deep dive into Elasticsearch as a full-featured analytics engine in 2026: aggregations, index design, comparison with ClickHouse and PostgreSQL, Kibana integration, and Go/PHP pipelines.
- Profiling and Optimizing Go Services in Production: pprof, trace, and Real-World Cases A comprehensive guide to profiling Go services in production using pprof and runtime/trace: CPU, memory, goroutine leaks, flame graphs, and real optimization cases for high-load systems.
- Dynamic Microservice Configuration in Kubernetes: ConfigMaps, Hot Reload, and a Centralized Config Server A complete guide to managing microservice configuration in Kubernetes: from ConfigMaps to hot reloading without pod restarts and building a centralized Config Server in Go.
- Data Validation and Transformation in Go: Building a Reliable Input Layer for REST APIs Without Frameworks How to properly organize incoming data validation in a Go REST API: separation of concerns, the DTO pattern, custom validators, RFC 7807, and table-driven tests.
- Vector Search in PostgreSQL with pgvector: Semantic Search Without External Services in 2026 A complete guide to pgvector: installation, embedding generation, HNSW indexes, hybrid search, and comparison with Elasticsearch. Practical examples in Go, PHP, and Laravel.
- Building a Multilingual CI/CD Pipeline for a Monorepo with Go and PHP Services in Kubernetes A practical guide to building a CI/CD pipeline for a monorepo with Go and PHP services: path filtering, parallel builds, Helm deployment to Kubernetes, and secrets management.
- Building a GraphQL Gateway in Go on Top of Existing REST APIs: Architecture and Practice How to build a GraphQL gateway in Go that aggregates data from REST API microservices without rewriting them: gqlgen, DataLoader, Redis, Kubernetes, and monitoring.
- Redis as an Event Broker: Pub/Sub and Streams Patterns for Microservices Without Kafka A deep dive into Redis Pub/Sub and Redis Streams as a Kafka alternative for event-driven microservices in 2026: mechanics, comparison, Go code examples, and real-world use cases.
- Horizontal Scaling of Go Services in Kubernetes: From HPA Configuration to Custom Metrics A comprehensive guide to horizontal scaling of Go microservices in Kubernetes: HPA, custom metrics via Prometheus Adapter, KEDA, resource management, and common production pitfalls.
- Testing Go Microservices in 2026: Test Pyramid, Mocks, and Integration Tests with Docker A complete guide to testing Go microservices: unit tests, mocks with mockery, integration tests with testcontainers-go, Docker, CI/CD pipelines, and common anti-patterns to avoid.
- Building a Reliable Data Pipeline with Go, PostgreSQL, and Elasticsearch: From Raw Data to Real-Time Search A practical guide to building a data pipeline with Go, PostgreSQL, and Elasticsearch: CDC, logical replication, batch indexing, delivery guarantees, and Kubernetes deployment.
- The Strangler Fig Pattern in Practice: Gradually Migrating a PHP Monolith to Microservices via REST API How to apply the Strangler Fig pattern to migrate a PHP monolith to microservices: mapping service boundaries, configuring an API Gateway, splitting the database, and a real case of extracting authentication from Laravel into Go.
- Elasticsearch in 2026: Building Smart Search for High-Load REST APIs in Go A practical guide to integrating Elasticsearch with a Go REST API: client setup, index design, full-text search, aggregations, performance optimization, and Docker deployment.
- Building a Fault-Tolerant Queue System with Redis Streams and Kubernetes: Scaling Workers Under Load A practical guide to designing a fault-tolerant queue on Redis Streams with horizontal scaling of Go workers in Kubernetes, HPA based on custom metrics, and monitoring.
- Building an Internal Developer CLI in Go for Kubernetes Environment Management: From Idea to Distribution A practical guide to building an internal CLI tool in Go with Cobra and client-go for managing Kubernetes environments: architecture, commands, CI/CD integration, secrets handling, and distribution.
- Implementing CQRS in Go with PostgreSQL and Redis: Separating Commands and Queries in High-Load Services A practical guide to implementing the CQRS pattern in Go: write side with PostgreSQL, read side with Redis, event-driven synchronization, testing, and Docker deployment.
- eBPF and Observability in Kubernetes: Deep Microservice Monitoring Without Code Changes How eBPF transforms observability in Kubernetes: syscall tracing, network monitoring, and Go microservice profiling without sidecar agents or code modifications.
- Building a Reliable PostgreSQL Job Queue: SKIP LOCKED, Partitioning, and Monitoring Without Redis How to implement a production-ready PostgreSQL job queue with SKIP LOCKED, partitioning, Go and Laravel workers, Grafana monitoring, and Kubernetes deployment — no Redis required.
- Canary Deployment on Kubernetes with Automatic Rollback via CI/CD and Prometheus Metrics A detailed guide to canary deployment on Kubernetes: architecture, YAML manifests, GitHub Actions integration, Prometheus monitoring, and automatic rollback on error rate spikes.
- Securing Microservices: JWT, mTLS, and Centralized Authorization via REST API in Kubernetes A comprehensive guide to microservice security: JWT authentication, mTLS between services, Open Policy Agent, and certificate management in Kubernetes for Go and Laravel.
- Kubernetes Operators in Go: Automating Custom Resource Management in 2026 A complete guide to building Kubernetes Operators in Go with kubebuilder and controller-runtime: CRDs, reconciliation loop, PostgreSQL operator, testing, and deployment.
- Go Worker Pool and Concurrent Task Processing: Patterns for High-Load Systems An in-depth look at worker pool patterns in Go: from basic implementation to dynamic scaling, graceful shutdown, PostgreSQL integration, and monitoring with Prometheus.
- PostgreSQL Connection Pooling in 2026: PgBouncer, pgpool-II, and Built-in Mechanisms Under Load An in-depth technical breakdown of PostgreSQL connection pooling: PgBouncer, pgpool-II, built-in pools in pgx and Laravel, sidecar deployment in Kubernetes, benchmarks, and diagnostics.
- Rate Limiting and REST API Protection: Redis-Based Strategies with Go and Laravel Examples Exploring rate limiting algorithms for REST APIs, implementing Sliding Window and Token Bucket with Redis in Go and Laravel, and solving distributed rate limiting in Kubernetes.
- Optimizing Docker Images for Go: Multi-Stage Builds, Distroless, and Minimal Attack Surface A complete guide to building minimal, secure Docker images for Go applications: multi-stage builds, distroless, BuildKit, Trivy, and a production-ready checklist.
- Building a Developer Platform on Kubernetes: An Internal PaaS for Engineering Teams How to build an Internal Developer Platform on Kubernetes: Backstage, Crossplane, ArgoCD, preview environments, and DORA metrics. A practical guide for platform engineers.
- PostgreSQL JSONB in 2026: When a Relational Database Replaces MongoDB A deep dive into PostgreSQL JSONB as a MongoDB alternative: indexes, operators, performance, Laravel and Go integration, and an honest look at the limitations.
- Chaos Engineering for Go Microservices: How to Intentionally Break Your System to Make It More Reliable Exploring Chaos Engineering for Go microservices in Kubernetes: Chaos Mesh and LitmusChaos tools, failure scenarios, circuit breaker patterns, CI/CD integration, and observability metrics.
- Service Mesh Without Istio: Building a Service Network in Go with Envoy and Kubernetes A practical guide to building a service mesh in Go with Envoy and Kubernetes without Istio: sidecar configurations, mTLS, tracing, metrics, and a comparison with Linkerd and Cilium.
- Building a High-Performance REST API in Go with Fiber: Routing, Middleware, and Docker Deployment A complete guide to building a high-performance REST API in Go with Fiber: routes, JWT, rate limiting, PostgreSQL, Redis, testing, and Docker deployment.
- Distributed Tracing in Microservices: End-to-End Request Tracing with OpenTelemetry, Jaeger, and Go A practical guide to implementing distributed tracing in Go microservices using OpenTelemetry SDK and Jaeger. Real code examples, integration with Redis, PostgreSQL, REST API, and gRPC.
- Go and PostgreSQL: Advanced Techniques with pgx, Connection Pooling, and Transactions An in-depth guide to working with PostgreSQL in Go: configuring pgxpool, transactions with savepoints, batch queries, custom types, and performance monitoring.
- Building an Event-Driven System in Go with Redis Pub/Sub and PostgreSQL A complete guide to implementing event-driven architecture in Go: Redis Pub/Sub as the event bus, PostgreSQL for audit logging, delivery guarantees, and testing.
- PostgreSQL Full-Text Search vs Elasticsearch: When Built-in Search Is Enough in 2026 A deep dive into PostgreSQL Full-Text Search vs Elasticsearch: architecture, performance, Go and Laravel examples, and a decision matrix for real-world projects.
- CI/CD for Go Microservices: From Commit to Kubernetes in Minutes with GitHub Actions A complete guide to building a CI/CD pipeline for Go microservices: GitHub Actions, Docker, Kubernetes, secrets management, rollback strategies, and DORA metrics.
- Building an API Gateway in Go from Scratch: Routing, Authentication, and Rate Limiting A practical guide to building an API Gateway in Go: routing requests to microservices, JWT authentication, rate limiting with Redis, and deployment to Kubernetes.
- Monitoring and Observability for Go Services: Metrics, Tracing, and Logs in a Unified Ecosystem A complete guide to building an observability stack for Go microservices: Prometheus, OpenTelemetry, structured logging, Grafana, and Kubernetes deployment.
- Secrets and Sensitive Data in Kubernetes: Secure Management with Secrets, Vault, and Sealed-Secrets How to protect sensitive data in a Kubernetes cluster: native Secrets, HashiCorp Vault, sealed-secrets, and External Secrets Operator — practical guides, YAML examples, and a security checklist.
- State Management Patterns in Distributed Systems: Saga, Outbox, and Event Sourcing with PostgreSQL A deep dive into Saga, Transactional Outbox, and Event Sourcing with PostgreSQL: architectural patterns for guaranteed consistency in microservices, with Go code examples.
- gRPC vs REST API: What to Choose for Inter-Service Communication in 2026 A detailed comparison of gRPC and REST API for microservices: architecture, performance, Go examples, Docker and Kubernetes deployment. Practical recommendations for backend developers and architects.
- Redis Streams as a Message Queue Replacement: A Practical Guide with Examples A comprehensive guide to Redis Streams: core concepts, comparison with RabbitMQ and Kafka, Go and Laravel examples, delivery guarantees, scaling, and monitoring.
- Kubernetes in 2026: Autoscaling, HPA, and Resource Management for Go Services A practical guide to configuring HPA, managing requests/limits, and deployment strategies for Go microservices in Kubernetes 2026. YAML manifests, kubectl commands, and a checklist.
- Microservice Architecture in Go: Design, Communication, and Deployment in 2026 A practical guide to building microservices in Go in 2026: architecture, gRPC and REST, Kubernetes deployment, observability, and common pitfalls with code examples.
- Microservices in Go: lessons from production When microservices are justified, how to draw boundaries and why asynchronous events matter more than synchronous calls.