Hi everyone!
I would like to create SCGI server library, that would be completely based on asynchronous IO. I have been wandering around the internet for a few weeks now, but have not found suitable solution. I need asynchronous io implementation, that would be fast and be able to work with sockets at the same time.
Currently, i have read the following:
- Posix aio is slow, because glibc implements it by putting every request to a separate thread and it doesn't support sockets by specification anyway, only "seekable file desciptors".
- Linux native aio doesn't support sockets too.
- There are some options on C10K problem's page The C10K problem, but that info is 10 years old and most of the links are dead.
Please correct me if I'm wrong in any of these statements.
Portability is not an issue for me - i target only linux.
Anyone can suggest anything suitable?
Thanks in advance!