since node is single-threaded, if ten users ask the server to query and modify the same data at the same time, node can only handle one request and execute it one by one.
let a="test"
router.get("/test/match",function(req,res){
/* a*/
}
so how does node manage to keep requests from interfering with each other? Because it is queued, after the above global variable an is modified, the value of the next request a variable has changed, which will affect the next request processing.