phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: Upsert is EXTREMELY slow
Date Thu, 12 Jul 2018 12:46:36 GMT
Phoenix does not recommend connection pooling because Phoenix 
Connections are not expensive to create as most DB connections are.

The first connection you make from a JVM is expensive. Every subsequent 
one is cheap.

On 7/11/18 2:55 PM, alchemist wrote:
> Since Phoenix does not recommend connection pooling.  Then even if we have
> multiple threads and processes, each thread will take time to get connection
> to Phoenix server, execute upsert operation then commit the operation.  This
> whole process will take sometime.  And no matter what level of threading we
> have creating connection will take time.  Not sure if my understanding is
> correct.
> --
> Sent from:

View raw message