Skip to content
Discussion options

You must be logged in to vote

With shell you'd compile and initialize (database connection etc) the Python script (nominatim) for each request. Gunicorn app server has the advantage that the Python script is loaded once and stays in memory. That'll be faster.

If you web app is already written in Python then an alternative is to load Nominatim as python library https://nominatim.org/release-docs/latest/library/Getting-Started/

Most people with web apps use the Gunicorn approach.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hadjiprocopis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants