I will try to be concise. The background for this issue is that I’m familiar with Python, however I am BRAND NEW to django. This book is my first exposure to it and I’ve come to find the more I work through the book that online Q/A’s for django are not very general, thus making it harder to “just google
Tag: model
Why boost::aio is asynchronous when its implementation is based on epoll(synchronous)
We know: (1) epoll is synchronous, based on user query/system notify. A while loop is used to call all woke up fds. (2) boost::asio declares itself to be “asynchronous”, but its implementation on linux is using epoll. My question is: how can you implement “asyn” using a “syn” system call? Unless you use some kernel/system supported aio interface, right? Please
“Linux aio” and “Linux native aio” are the same thing?
I’m recently digging into linux io model, and I frequently hear that like windows IOCP, linux has its own aio model implementation: Glibc aio and kernel aio. Question: (1) when people say “linux native aio”, which model is indicated? (2) I hear 2 different terms, “linux aio” and “linux native aio”. Are they the same thing, or indicating different implementations?