[category]/writing/infra
infra.
Filtered public notes from the archive.
[01]
entries
15 2026-04-12 What Happened When I Tried to Use S3 Like Dropbox on macOS I mounted an S3 bucket as a local folder in Finder with rclone and FUSE-T, auto-mounted on login. This is the full setup, the flags that make it behave, and where it falls over. → 2025-08-27 AWS Cloud Infra Gotchas You can run AWS Batch jobs as pods in your Kubernetes cluster. Pretty cool actually. As expected the AWS tutorial is reliable, you follow it step by step... → 2025-08-27 Dropbox download to your VM Handy script to download all your business from dropbox This script had to undergo a lot of iterations, it failed a lot of times after download for hours on... → 2025-08-27 Geofence validation on Google Maps JS API Note: This post reflects my 2019 exploration of geofence validation. Today, libraries like Turf.js or GEOS handle these cases more efficiently. Suppose you... → 2025-08-27 Incident - 20th Feb, 21st Feb 2017 I can write about the whole incident in detail because this was my own startup. I was the one man tech team here for about 2 years. What happened = 20th Feb... → 2025-08-27 K8s DNS fail Let the service name be ‘banana’ Let the pods be of the service ‘pineapple’ There was a rise in 502s accompanied by cannot lookup banana and interestingly... → 2025-08-27 Kubernetes, Terraform, Kafka and others Kubernetes: TIL in a k8s pod when you define env vars, if you define the same env var twice, the latter one takes precendence how resource quotas work in... → 2025-08-27 WebRTC What a joy! It was a breath of fresh air when I came across the requirement of implementing live streaming. It was quite a learning curve to understand how... → 2025-08-27 When OpenTelemetry Auto-Instrumentation Meets Python PEX, A Debugging Journey OpenTelemetry auto-instrumentation worked in a Python REPL but not in the actual FastAPI server. The reason was PEX running Python with -sE flags, which ignore PYTHONPATH. How I found it, and two ways to fix it. → 2025-08-27 cpu ram disk Explaining CPU, RAM, and disk to juniors with a kitchen analogy: chef, counter, pantry. Covers iowait, steal time, throttling, overcommit, and IOPS vs bandwidth. → 2025-08-27 VPS vs VM vs Containers VPS, VM, and containers get used interchangeably. They solve the same problem - packing more workloads onto fewer machines - at different abstraction levels. The breakdown I give juniors. → 2025-02-08 data store How I explain data storage choices to juniors. The questions to ask about your data first, then the usual suspects: relational databases, object stores, warehouses, NoSQL, and file systems. → 2025-02-08 encryption, compression, encoding, hashing, checksums, and error correction Encryption, compression, encoding, hashing, checksums and error correction, explained as tools in a toolbox for juniors. What each one is for and the mix-ups to avoid. → 2025-02-08 networking My mental model of networking from IP packets to HTTP, written down for juniors with a postal-system analogy. IP is the address, TCP/UDP the postage, DNS the phone book, TLS the sealed envelope, HTTP the letter. → 2023-12-09 Mac Utilities April 1, 2019 I’ll keep updating this post as I come across new stuff. The external hard drive is detected.. but won’t mount? grep for the fsck process,... →