@Abhishek From Doc process.nextTick - On the next loop around the event loop call this callback. This is not a simple alias to setTimeout(fn, 0), it's much more efficient. Which event loop does this refer to? V8 event loop?
@Raynos libuv aims to make sure its x-platfousing multiple libraries . Right ? hence using libuv is a good idea
I have been personally reading the source code of node.js & v8.
Is there a way to 'see' this event que? Id like to be able to see the order of calls on the stack and see new functions being pushed there to better understand what is happening... is there some variable that tells you whats been pushed to the event que?
Of course libuv is a good idea
To see how libeio is used with node.js in order to create async modules you should see this example.
What I am posting here is my understanding of node.js and this might be a bit off track as well.
Which appears in all modules is usually calling the function Task in the threadpool. When it's complete, it calls the AfterTask function in the main thread. Whereas Eio_REQUEST is the request handler which can be a structure / object whose motive is to provide communication between the threadpool and main thead.