You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "Caravaggio, Kevin" <ke...@lowes.com> on 2019/12/11 20:32:10 UTC

Re: [EXTERNAL] Re: Connection Pooling in v4.x Java Driver

Hi Alexandre,


Thank you for the explanation. I understand that reasoning very well now.

Jon, appreciate the link, and will follow up there for this sort of thing then.


Thanks,


Kevin
From: Alexandre Dutra <al...@datastax.com>
Reply-To: "user@cassandra.apache.org" <us...@cassandra.apache.org>
Date: Wednesday, December 11, 2019 at 3:33 AM
To: "user@cassandra.apache.org" <us...@cassandra.apache.org>
Subject: [EXTERNAL] Re: Connection Pooling in v4.x Java Driver


*EXTERNAL SENDER*

Hi,

In driver 4.x, pools do not resize dynamically anymore because the ratio between concrete benefits brought by this feature and the maintenance burden it caused was largely unfavorable: most bugs related to connection pooling in driver 3.x were caused by the dynamic pool resizing. Having a fixed pool size made driver 4.x pool implementation much more straightforward and robust.

Thanks,

Alex Dutra


On Tue, Dec 10, 2019 at 7:13 PM Jon Haddad <jo...@jonhaddad.com>> wrote:
I'm not sure how closely the driver maintainers are following this list. You might want to ask on the Java Driver mailing list: https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__groups.google.com_a_lists.datastax.com_forum_-23-21forum_java-2Ddriver-2Duser%26d%3DDwMFaQ%26c%3Dadz96Xi0w1RHqtPMowiL2g%26r%3D-4a_H5oaBvlvMCJS3nMc0tpTTKGn9aXRaK9-aUPruik%26m%3DJx5gtMMrBVRkCsov03DMaauB_eEaFXAH27tt5P92ocs%26s%3D33hNmSDIOrCXZpQkgaLrhmG1_PiiZtq6A9cU21_QvYg%26e%3D&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C0%7C637116607802385179&sdata=%2FEf1yJvaSBqFymYKqxYW9TN7wxjWqsQB5YWikmemMEk%3D&reserved=0>




On Tue, Dec 10, 2019 at 5:10 PM Caravaggio, Kevin <ke...@lowes.com>> wrote:
Hello,


When integrating with DataStax OSS Cassandra Java driver v4.x, I noticed “Unlike previous versions of the driver, pools do not resize dynamically”<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.datastax.com%2Fen%2Fdeveloper%2Fjava-driver%2F4.2%2Fmanual%2Fcore%2Fpooling%2F%23configuration&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C1%7C637116607802395172&sdata=LcEwc6uu4ZqajzYG0fUTuRNLzzldH48vfT0ae7ARkco%3D&reserved=0> in reference to the connection pool configuration. Is anyone aware of the reasoning for this departure from dynamic pool sizing, which I believe was available in v3.x?


Thanks,


Kevin

________________________________
NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you.


--

Alexandre Dutra  |  Technical Manager, Drivers

alexandre.dutra@datastax.com<ma...@datastax.com>  |  datastax.com<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.datastax.com%2F&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C1%7C637116607802395172&sdata=eCb2ZtUikUUxrzbrkaLxXxtKg5g8tEksCWhhF6PKfcA%3D&reserved=0>

[Image removed by sender.]<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Falexandredutra%2F&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C1%7C637116607802405166&sdata=VarX7YEU%2Br6eH3mtC56K6ZhaeQWn7Yb6Sh5yEPtCPkQ%3D&reserved=0>[Image removed by sender.]<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fdatastax&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C0%7C637116607802405166&sdata=y9r%2B2fgD6B16sBx5Cz%2FI2UU0Tcr1pSCCGKuk16gRKXs%3D&reserved=0>[Image removed by sender.]<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fdatastax&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C0%7C637116607802415156&sdata=ykWuzDrstkT00Qgn4y0uroujo6CdFaBPNohQUA%2BmkEM%3D&reserved=0>[Image removed by sender.]<https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdatastax&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C1%7C637116607802415156&sdata=hZtobpEUWSbINVeQhAFHFAdKRJPpsQ4mOXicyhzGN8k%3D&reserved=0>[Image removed by sender.]<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatastax%2F&data=02%7C01%7Ckevin.caravaggio%40lowes.com%7C12db624b9feb427e36d708d77e2ddee1%7Cbcfa3e87841e48c7983b584159dd1a69%7C0%7C1%7C637116607802415156&sdata=mMB3UeZh%2B%2Bzflh1xEwSMqg5SDqrcSIBeJEFRWsaSGYM%3D&reserved=0>

[Image removed by sender.]

________________________________
NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you.