Spring-Boot: Handle multiple requests concurrently

前端 未结 1 1547
野性不改
野性不改 2020-12-08 11:44

I am using Spring Boot to build a RESTful web service. My IDE is Eclipse Oxygen.

I send multiple HTTP get requests in every 2 seconds

1条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 12:28

    By default Spring Boot web applications are multi-threaded and will handle multiple requests concurrently.

    This might be a browser specific quirk. On Windows 10, Chrome & Firefox do seem to queue multiple requests to the same URL, while IE, Edge, & curl do not.

    0 讨论(0)
提交回复
热议问题