Server is single thread? Server Question


I read a meteor document.

meteor document an extract.

'In Meteor, your server code runs in a single thread per request, not in the asynchronous callback style typical of Node. ’

If single thread works per request and there is a million responses, is it handled sequentially ?

Thank you for reading my question.!


It’s not a thread. It’s something call Fibers. It’s mimic thread like behaviour but behind the scene it’s all NodeJS and eventloop.

See here: Fibers, Meteor and Eventloop