Skip to content

How many requests the api can respond to per second? #2992

Answered by mtmail
emiao0 asked this question in Q&A
Discussion options

You must be logged in to vote

20 should be possible on 8 core CPU. On https://nominatim.org/release-docs/latest/admin/Deployment/ look at the php-fpm software. php-fpm also works with Apache not just nginx. It allows to run many parallel processes that keep listening and processing incoming requests in an event-queue and is superior to starting and stopping processes. You'll need to experiment with the settings (https://www.php.net/manual/en/install.fpm.configuration.php) on how many processes should to match your number of CPU cores.

More RAM will always help, then Postgres can cache more indices. For full planet you'll need 32GB for the import, 64GB is better. That's for the osm2pgsql step which is in the first 2-3 …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@emiao0
Comment options

@lonvia
Comment options

Answer selected by emiao0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants