Will multiple request mysql with nodejs access the database in parallel because of blocking?

I just came into contact with using node as a project. There are some things I don"t understand about its database operation, such as the following requirements:

when multiple users access an article at the same time and read the information of the article from the database, will the multiple requests access the database in a certain order or in parallel due to the non-blocking IBO operation of node?

Nov.19,2021

you can send a request pool. Createpool only connects the pipe once, and then you can be responsible for information transmission. You are talking about the asynchronous problem of node. But now I usually use promise to solve the callback problem. Now, if you use node to connect to the database, you usually use createpool,. I also have articles about this. If you want, I can share it with you

.
Menu