Socket SO_REUSEPORT and Kernel Implementations

Way back when I was at NGINX I worked with several people on integrating a kernel patch for SO_REUSEPORT in Linux to work with NGINX for something I termed “socket sharding“. In hindsight I should have maybe called it “socket load balancing” but the term “sharding” has stuck with that option across the industry now. Whilst this option is a standard option in many *nix kernels it behaves very differently in them. So I thought I would note some details down in this blog post

Continue reading Socket SO_REUSEPORT and Kernel Implementations

Making WiFi Great Again

TL;DR: Ubiquity UniFi gear is awesome!

When I moved into my current house one of the bigger technical challenges has been to get WiFi that works throughout my house reliably. Since we can only get regular phone lines here I’m on a VDSL2 internet connection which runs at 80/20mbit. The problem is this comes in via my office which is in the corner of the house. My kids bedrooms are in the opposite corner of the house so getting WiFi to reach that far becomes a technical challenge.

Continue reading Making WiFi Great Again