Home > Back-end >  Why can't SpringBoot controller is executed in parallel
Why can't SpringBoot controller is executed in parallel

Time:02-08

Multiple HTTP request arrives at the controller, is a different thread processing, it should be parallel,
Not parallel scenario:
Chrome: same browser continuous multiple access the same url can create multiple access relationship into a serial, if the request is blocked, following the same request will be blocked,
Firefox and Safari: continuous access to the same url for many times, in parallel,

CodePudding user response:

Opens the long connection? Is keep alive - request header, after open will use the same connection
  • Related