I need to create a chat like facebook chat.
With Comet I need more memory to keep the connection.
With Ajax polling there is a latency problem if I send requ
@Vasil: "you can keep millions of opened connection"
Take a look to this problem
And regarding the false superiority of NIO over IO.
The iobound article just shows IO outperforms NIO and yes IO goes out of memory before NIO (by the way, the author has not tried to reduce the stack memory with a lower value).