79214226

Date: 2024-11-22 08:45:12
Score: 1.5
Natty:
Report link

I think that is not good idea for handle request by using Executor service. Because Embedded tomcat which is included spring-boot-starter-web dependency can handle thread pool itself. You can just configure on application properties / yaml file.

If you want to use multiple thread, use or test another use cases for example processing huge file (at least more than 2GB).

For handle requests asynchronously, I will recommend spring-boot-flux project.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nyamkhuu B