5 ms·
Surely some enterprising hacker can optimize Nyancat so that a normal server can saturate a gigabit connection without killing the CPU.
by adrianN 9y ago
Surely some enterprising hacker can optimize Nyancat so that a normal server can saturate a gigabit connection without killing the CPU.
- swiley 9y ago"Line Rate Nyan via Direct Networking"
- jwilk 9y agoncfd = open("/dev/nyancat", O_RDONLY); while (...) { sendfile(sockfd, ncfd, ...); }
- nobodyorother 9y agoNo way you can open the nyancat device as read-only. Clearly, it only opens as O_ORLY.
- dsl 9y agoI can't seem to edit my post anymore, but the machine in question was a tiny little VM used as an SSH jump host. The specs were minimal. It was the only machine that wasn't firewalled to hell and back, which is why I did the Nyancat there. I'm working on deploying an enterprise grade NaaS solution across a large cluster of servers, stay tuned!
- Pxtl 9y ago>> NaaS Snrrrrrrk