Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the effect of load-blancing, and clustering on the number of Jdbc connections ?

clustering JDBC
0
Posted

What is the effect of load-blancing, and clustering on the number of Jdbc connections ?

0

Jdbc pools are created per partition (ie JVM) process. If you have multiple partition processes running, it is important to note that each partition will open a separate set of connections. So, the total number of Jdbc connections would be the summation of connections in each of the pools in different partitions. In general, it is best to deploy your tightly coupled EJBs as part of a single J2EE application. This will guarantee good performance, better resource utilization, and also can avoid a two-phase commit protocol where it may not be needed . Please note that, the Jdbc connections are opened only when they are needed; hence if an application is replicated for fail-over, the connections would be created when that replica is actually used.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123