We are using HikariCP in our work project. Now there are sometimes problem with spikes of need for connection from JobScheduler component and the main app can't get any. Is it better to create another HikariCP for same database or just limit the JobScheduler component jobs so that the main app can get connections also? I appreciate if you can clarify this.
The question in nutshell is there any sense to have many connection pools per one database?
How does it help or does it help anyway?
Most importantly how this looks from performance point of view?