Serverless cluster slow write causing h12 error in Heroku

Hello, I am having issues with my serverless cluster having writes taking over 2-5 minutes. This is causing an h12 error in my Heroku node js app.

2022-05-12T03:45:13.627451+00:00 heroku[router]: at=error code=H12 desc=“Request timeout” method=POST path=“redactedbyme” host=redactedbyme request_id=238dc2a1-ef82-45ee-8a01-5d66bbee2f38 fwd=“” dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https

The serverless instance is using GCP /us-central1
the average document size is 211 bytes

What can I do to reliably get the write speed below 30 seconds. Should I upgrade to a dedicated server? This is a production app but the writes are very infrequent at the moment (Less than once a week).

Hey Asim,

Thank you for providing this feedback. Your experience with serverless instances is definitely not one we want, nor something that I would expect. I will reach out privately so that we can dig deeper.

-Atlas product team

1 Like