Patent ID: 9563475
Date: 2017-02-07
CPC Classifications: G06F,H04L

Claim:
1. A method for efficiently utilizing connections in connection pools, the method comprising: identifying a period of time a first application running on a first virtual machine needs a greater number of resource connections to a resource than allocated in its first pool of connections of a first fixed size; identifying a connection factory object involved with said first application of said first virtual machine which will be part of a resource reference declaration; clustering said identified connection factory object with a second connection factory object connecting to said resource to be accessed by a second virtual machine; and merging, by a processor, said first pool of connections with a second pool of connections of a second fixed size utilized by a second application of said second virtual machine to access said resource to form a logical pool of connections to be shared by said first and second applications of said first virtual machine and said second virtual machine, respectively, during said period of time, wherein said first and second pools of connections contain resource connections to said resource, wherein said identified connection factory object and said second connection factory object are used to create said first and second pool of connections, respectively, wherein said first and second pool of connections are able to be merged by clustering said identified connection factory object with said second connection factory object.