Keep-alive for serverless environments #2292
goncalo-oliveira
started this conversation in
Ideas
Replies: 2 comments
-
Isn't this the same issue as #2290? And then: If you are running osm2pgsql and the database is idle for 5 minutes than something is probably wrong with that setup. Osm2pgsql should keep the database busy more or less all the time. |
Beta Was this translation helpful? Give feedback.
0 replies
-
A flex table might go idle for 5 minutes if it has activity at the start and very end of processing. I'm not sure if that's very realistic. In any case, this can be done with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When working with serverless database environments, it's easy for a connection to get dropped while waiting for
osm2pgsql
to read a file. When that happens, we'll see something likeOne of such database providers is Neon
Naturally it's possible to workaround this by changing the default inactivity timeout to a bigger value on Neon compute settings. However, it would be nice if there was some sort of keep-alive mechanism to prevent the timeout from triggering, even if an additional option like
--keep-alive
for example, was necessary.Beta Was this translation helpful? Give feedback.
All reactions