Hacker News new | past | comments | ask | show | jobs | submit login

I don't think latency is the primary issue here, as you're probably really far from your users and the hop is a mild cost compared to transiting the internet.

In my mind the bigger issue is limited throughput, packets per second are fundamentally limited by this approach (tun devices, at least in linux, are generally limited to a single packet per read). Ted even alludes to a 25% reduction in traffic, though it's unclear to me what the link speed is (likely 100M or 1G). In my experience, even with the latest and greatest in linux, you're not going to see reasonable packet rates, and you're still better off doing this type of stuff in the kernel.

That said, tun devices are super cool, and a great tool for anyone to have if they need to do weird stuff like low-level network testing, so I think this is a really cool post. You can read more about it for linux here: https://www.kernel.org/doc/Documentation/networking/tuntap.t...




Why does Linux make a difference here? The example uses OpenBSD, does OpenBSD have the same limitations?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: