You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by "bchapuis (via GitHub)" <gi...@apache.org> on 2023/09/07 10:00:30 UTC

[GitHub] [incubator-baremaps] bchapuis commented on issue #775: Set number of event loop threads

bchapuis commented on issue #775:
URL: https://github.com/apache/incubator-baremaps/issues/775#issuecomment-1709868548

   You do have a lot of cores... Is it an Ampere server?
   
   We currently initialize the connection pool to twice the number of cores as recommended in the postgresql [documentation](https://wiki.postgresql.org/wiki/Number_Of_Database_Connections).
   
   https://github.com/apache/incubator-baremaps/blob/be499e3d8aaec78a4ea3fa277f05a8d66b0bc8bd/baremaps-core/src/main/java/org/apache/baremaps/utils/PostgresUtils.java#L52
   
   Given that this default value is not always sound, I think we should allow the user to set this parameters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org