[Geocoding] Optimize Execution Time of Geocoding.
Sarah Hoffmann
lonvia at denofr.de
Fri Jan 4 20:32:38 UTC 2019
Hi,
On Fri, Jan 04, 2019 at 10:54:35AM +0530, parsis presswala wrote:
> Hello,
> I am using github code for reverse Geocoding and it is working fine.The
> github link is as following.
> https://github.com/openstreetmap/Nominatim
> When I use geocoding service it takes 10 mili seconds to run. How can I
> optimize execution time?
10ms sounds already reasonable, given that each query involves a couple
of database lookups. I don't think there are any low hanging fruits like
tuning the configuration of PostgreSQL.
Depending on what you want to do, you can try to
improve this a bit by upgrading your hardware or making the database
smaller. For hardware: with more CPUs, you can run more queries in parallel.
More RAM will also help as less IO is needed. And faster disks (preferably
NVMe is always goood). On the database side you can restrict yourself to
country extracts, if you are only interested in a specific reason.
But as I said, all depends on what your exact use case is and what kind
of reverse queries you want to execture.
Kind regards
Sarah
More information about the Geocoding
mailing list