In my web application, we are using oracle database. my question is connection pool based on web application. Our application end user around 500. for these which connection is better i) create new connection for every request of user. ii) single connection pool via singleton object of the class iii) session based connection pool ( each user has separate connection pool)
which principle is using for web application? can please give suggestion or valuable link to me
If you get a lot of people connecting. Specfic pool for specfic guy is not an good thing because it whould cost too expensive resource usage.
The ideal solution is one link conducting many database links. In my project. One or serveral thread are only conducting database connecting and sql processsing. When finished the sql it will send data to others.
Last Visit: 31-Dec-99 18:00 Last Update: 24-Jun-16 6:26