Considering the huge load that I am getting for authentication, using multiple threads and Connectionpool
will be a best solution to handle the load. However I have two design options in my mind
Pass Connectionpool to individual threads as argument and get a connection to do the bind request from ConnectionPool
Pass connection to threads rather than passing Connectionpool to threads and do bind request
Which Design would you prefer most and what are the reasons for them?