~/Log Aggregator From Scratch in Go (Read full article)
Build a log aggregator in Go from scratch. Tail files with inotify, survive log rotation, parse syslog and JSON, and shut down gracefully in 200 lines.
Build a log aggregator in Go from scratch. Tail files with inotify, survive log rotation, parse syslog and JSON, and shut down gracefully in 200 lines.
Learn nginx log analysis step by step — start with grep and awk one-liners for quick answers, then build a Go log parser. Extract response times, find slow …
Learn AWS automation step by step. Start with AWS CLI commands for S3, EC2, and IAM, then build the same thing in Go with the AWS SDK. List instances, sync …
Learn config templating step by step: start with envsubst for simple variable substitution, then build the same thing in Go with text/template. Handle missing …
Learn process management step by step. Start with ps, kill, and systemctl, then build the same thing in Go. Send signals, manage child processes, build a mini …
Learn Linux access control step by step, starting with sudo and file permissions, then build the same thing in Go. Parse /etc/sudoers, audit file permissions, …
Learn timezone handling step by step — start with date and timedatectl, then build the same thing in Go. Hit the DST parsing bug, fix it, build a log timestamp …
Learn CPU monitoring step by step — start with lscpu and nproc, then build the same thing in Go. Read /proc/stat, get confused by jiffies, fix it with the delta …
Discover underrated Unix commands that solve real production problems. Start with basic pipes, build up to xargs parallelism, then write a Go tool that monitors …
Build a Go API and put it behind Nginx step by step. Start with a bare HTTP server, hit the port 80 permission problem, add a reverse proxy, lose the client IP, …