News for hackers. Stuff that matters.
Re:Do C10K testing with gevent by metabrew on Friday March 04, 2011 @11:11AM (#2288496)
C1M is the new C10K.

C10K is not even close to being a real problem any more. I expect my phone can handle 10K connections.

Making a million outbound connections, on the other hand, requires a little more care. Mostly because you need 16+ IPs. I ended up writing a small tool in C with libevent to make 1M http connections: http://www.metabrew.com/article/a-million-user-comet-applica...

Re:Do C10K testing with gevent by svlla on Friday March 04, 2011 @02:30PM (#2289418)
you're only going to need 16+ IPs if you're making those outbound connections to the same destination IP & port... which seems unlikely.
Re:Do C10K testing with gevent by nivertech on Friday March 04, 2011 @03:58PM (#2289760)
You can do TCP listen on 0.0.0.0:80 (any IP on port 80), but I never saw TCP listen on XXX.XXX.XXX.XXX:* (specific IP with any port) ;)