Articles
Engineering notes, troubleshooting guides, and experiments. Browse by topic for a suggested reading path.
Limit Docker Log Size to Prevent Disk Exhaustion
·2 mins
A practical guide on how to limit Docker container logs to prevent errors such as 'No space left on device' and 'Cannot create directory'.
Nginx: Rewrite Path without normalizing URI in proxy_pass
·2 mins
This article provides a way to configure rewriting the path without normalizing the URI while using proxy_pass.
Optimizing Nginx Startup: How to Delay DNS Lookup in proxy_pass
·2 mins
Learn how to optimize Nginx startup by delaying DNS lookups for proxy_pass configurations until they are actually needed, thereby avoiding startup delays from unreachable domains. This article includes step-by-step configuration examples and DNS customization options.
Golang Error: missing Location in call to Time.In
·3 mins
Learn to fix the `missing Location in call to Time.In` error in Go, particularly for Docker containers on Alpine Linux. This guide offers solutions through code adjustments and Dockerfile configurations for seamless timezone handling.
Mastering OpenTelemetry with Uptrace: A Developer's Guide
·22 mins
Instrument an application with OpenTelemetry and explore traces, logs, and metrics in Uptrace using practical examples.
Setting Up Nginx with Self-Signed HTTPS in Docker Compose
·3 mins
In today’s digital age, securing web traffic with HTTPS is crucial for protecting data integrity and privacy. This guide demonstrates how to leverage Nginx, a powerful web server, within Docker Compose to create a secure and scalable environment.
gRPC vs RabbitMQ RPC: How Do They Compare for Microservices?
·10 mins
How do gRPC and RabbitMQ RPC compare for microservices? This article explores the differences between gRPC and RabbitMQ RPC, two leading frameworks in remote procedure calls (RPC) for microservices architecture.
RabbitMQ Auto Reconnect Node.js
·4 mins
Auto reconnect to RabbitMQ in Node.js on error
Golang Integer to String
·2 mins
How to convert an integer to a string in Golang
Git Pre-commit Hooks with Husky 9, ESLint, and lint-staged
··3 mins
Set up Husky 9, lint-staged, and ESLint 10 to check staged JavaScript files before a Git commit.