4 ms·
> I just want an IPv4/IPv6 proxy that does nothing other than delay, rate-limit, and/or drop packets. Built-in into linux kernel, althought it's per interface
by adql 3y ago
> I just want an IPv4/IPv6 proxy that does nothing other than delay, rate-limit, and/or drop packets.
Built-in into linux kernel, althought it's per interface unless you get dirty with traffic shaping tools.
Also you probably dont want proxy as support for proxy servers can be pretty iffy across software stack.
> Your loopback adapter has a latency of 30 microseconds, but that same web-to-database connection might traverse multiple switches, routers, firewalls, and load balancers and have a latency of over 1,000 microseconds (1ms) in production. That's thirty times worse, and I'm not even talking about zone-redundant deployments, regional-to-region failover, or any such thing!
Reminds me of a time when COVID hit and the suddenly-remote developers were suprised the time to start of their application went from 5 to 30 minutes (they connected their app to DB server on dev environment to not carry big-ass database with them)...
> Ditto with web apps, where every developer mistakenly believes that their Angular or React monstrosity is "performant"... because it is... on their own machine. With loopback networking. Try that over a 3G connection... in rural India. Not Indiana. India.
And that reminds me of this time frontend developers loading 700MB of data to load the site and not noticing that, but sending ticket to ops "server is a bit slow, could you give it more cores?". Said developers were working in office that had direct connection to data center 500m away with sub-ms latency and plenty of bandwidth.
I had many times pondered traffic shaping frontend devs connection to like 10Mbit after that... maybe 56kbit for repeat offenders.