Meteor threading style clarification

Viewed 2006

Meteor's documentation states:

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

Do they actually mean?

A) the server is running multiple threads in parallel (which seems unusual within the Node.js ecosystem)

or

B) There is still only a single thread within an evented server and each request is processed sequentially, at least until it makes calls to resources outside the server - like the datastore, at which point the server itself is handling the callbacks while it processes with other requests, so you don't have to write/administer the callbacks yourself.

1 Answers
Related