Let's consider I have two Spring boot applications.
And say each configures 50 max-active
connections.
Say that both are deployed to external Tomcat container and embedded Tomcat container is disabled in both.
What will be the connection pool behavior?
- Will each application create its own connection pool with max 50 active connections?
- Will there be one common connection pool of max 100 active connections?
What is recommended for such connection pools in such multiple Spring boot application deployments to same Tomcat server container?