I understand that nodejs is asynchronous, so under the covers there is a single thread that communicates with the operation system. The operating system manages when to wake up and send a signal to that thread about a response etc.
The issue is which I don't understand, how is concurrency handled if there is only 1 thread?
e.g. say in nodejs the server has an endpoint that saves large xml files
If you get 100 requests at the same time, won't it block since these calls are fairly heavy and it may take a long time to parse and save the xml file to the db?