Top all-time · #5383
Benjamin Cane
Personal blog · bencane.comsystemsprogramming
Benjamin Cane's personal blog at bencane.com covers systems and programming. Since 2014, 14 different Hacker News readers have linked it 26 times, most often “How I Structure Go Packages”. It has a working feed you can follow.
Too few sampled comments (5) to say how often HN recommends it.?
Why HN links it
HN readers link Benjamin Cane's posts on Linux and infrastructure tooling, such as simulating network latency with tc, sysdig troubleshooting and Redis SSL. Comments mostly cite them as how-to references.
Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Practical engineering notes from Benjamin Cane, usually shared on LinkedIn first and kept readable on the open web.
Most-linked posts?
- How I Structure Go Packages2 people · 2 mentions · first linked 2020-07-06
- Using sysdig to troubleshoot2 people · 2 mentions · first linked 2014-04-21
What Hacker News says?
Not sure how he did it, but my first guess would be just a bunch of virtual interfaces on a linux box with a->b->c->d->e->etc routing, and something like the tc command[1] to add enough latency to each one that traceroute sees them all. If he's scripted it to do all the virtual nic creation and dns ptr entries, it would be interesting to see. [1] https://bencane.com/2012/07/16/tc-adding-simulated-network-l...
Comment linking /2012/07/16/tc-adding-simulated-network-latency-to-your-linux-server/
on “Engineer distributes resume via IPv6 traceroute”Submitted Cell-Based Architecture Explained, with Zombies as a story · 38 points
HN discussionAt Google, I worked on a pure JS Speedtest. At the time, Ookla was still Flash-based so wouldn't work on Chromebooks. That was a problem for installers to verify an installation. I learned a lot about how TCP (I realize QUIC is UDP) responds to various factors. I look at this article and consider the result pretty much as expected. Why? Because it pushes the flow control out of the kernel (and possibly network adapt…
Comment linking /simulating-network-latency-for-testing-in-linux-environments-29daad98efcc
on “QUIC is not quick enough over fast internet”Submitted Using sysdig to troubleshoot as a story · 36 points
HN discussionI just use iptables to forward all traffic on port 80 to port 8080. You can just replace your /etc/rc.local with this: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080 iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080 exit 0 Simple enough to add to a configuration management workflow. I used to maintain a configurable reverse proxy, until I decided that w…
Comment linking /2011/12/30/when-its-ok-and-not-ok-to-use-rc-local/
on “Privileged Ports Are Expensive (2016)”Submitted A Quick and Practical Reference for Tcpdump as a story · 32 points
HN discussionSince you hadn't heard of sysdig before, you might also be interested in this article posted[1] a couple of weeks ago: http://bencane.com/2014/04/18/using-sysdig-to-troubleshoot-l... [1] https://news.ycombinator.com/item?id=7622121
Comment linking /2014/04/18/using-sysdig-to-troubleshoot-like-a-boss/
on “Fishing for Hackers: Analysis of a Linux Server Attack”Submitted Create Self-Managing Servers with Masterless Saltstack Minions as a story · 5 points
HN discussionFor the security-minded, SSL/TLS can be easily added to your Redis server ( http://bencane.com/2014/02/18/sending-redis-traffic-through-... ) and Redis Cloud offers SSL plans as well. Furthermore, Redsmin has SSL support and SSL-enabled clients for Python, Ruby, Java & PHP are also out there (we helped with that, so I can recommend them fully) - http://redislabs.com/blog/secure-redis-ssl-added-to-redsmin-...
Comment linking /2014/02/18/sending-redis-traffic-through-an-ssl-tunnel-with-stunnel/
on “RedisMonitor: Free Redis monitoring service”Submitted I Structure Go Packages as a story · 4 points
HN discussionSubmitted Generating code faster is only valuable if you can validate every change as a story · 3 points
HN discussionSubmitted Troubleshooting High I/O Wait in Linux as a story · 3 points
HN discussionSubmitted Best practices for managing BASH scripts as a story · 2 points
HN discussionSubmitted Creating a swap file for tiny cloud servers as a story · 2 points
HN discussionSubmitted Using Travis CI to Test Docker Builds as a story · 2 points
HN discussionSubmitted Tips to prevent duplicate cron job execution as a story · 2 points
HN discussionSubmitted Preventing duplicate cron job executions as a story · 2 points
HN discussionSubmitted Practical guide for tcpdump as a story · 2 points
HN discussionSubmitted Microblog: Performance Testing – Benchmarks vs. Endurance as a story · 1 points
HN discussionSubmitted Don't Log, Return Errors as a story · 1 points
HN discussionSubmitted "How I Structure Go Packages" as a story · 1 points
HN discussionSubmitted How I Structure Go Packages as a story · 1 points
HN discussionSubmitted Using Stunnel and TinyProxy to Obfuscate HTTP Traffic – Benjamin Cane as a story · 1 points
HN discussionSubmitted Using salt-ssh to install Salt as a story · 1 points
HN discussionSubmitted Getting Started with Docker by Dockerizing This Blog as a story · 1 points
HN discussionSubmitted Building Self-Healing Applications with Saltstack as a story · 1 points
HN discussion