phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serega Sheypak <>
Subject Phoenix JDBC in web-app, what is the right pattern?
Date Thu, 03 Sep 2015 19:19:03 GMT
Hi, I'm using  phoenix in java web-application. App does upsert or select
by primary key.
What is the right pattern to do it?
- I create new connection for each request
- prepare and execute statement
- close stmt
- close connection

Does phoenix caches connections internally? What is the right way to batch
upserts in current case?

View raw message