Yep NIFs are awesome as hell. I've written a socket library and it works just beautifully. Once my streaming server is doing a few hundred mbit/s, it actually consumes less CPU than haproxy that sits in front of it. Sergej