Hello, 
I am a bit confused regarding setting the optimal connections pool size 
(dataSource.setMaximumPoolSize(maxPoolSize)).
Correct me if my judgement is wrong. Instances on AppEngine have only a 
single core. Given that, the optimal max number of threads is 2 per 
instance (i.e. 2 per core). Since the optimal number of connections in a 
connection pool should be equal to the number of threads, this means the 
maximumPoolSize per instance should be 2? 
The maximum we can set with AppEngine is 12, though. 
My instance type is B4 and it is scaled. i am using HikariDataSource and 
Cloud SQL. What is the optimal poolSize or how can this be computed?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f12ac2ed-d20a-4eb8-9c44-4e65515fb061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to