Sleeping Webhook API Gateway 502
sevron-gil
PROOP

2 months ago

So im trying to setup an alerts pipeline for my landing page.

Railway Webhooks dont have integration with MS Teams,

So i made an api gateway to handle sending the webhook to it, which then throws the alert to Teams.

Im wanting to cut on costs because this is just going to run whenever.

Under normal instances, the webhook testing works.

However when i enable serverless for this api gateway, and then the service sleeps, when i test the gateway, im getting 502... after cold start, it works.

Anyway i can keep the webhook working with serverless would be fine!

$10 Bounty

2 Replies

2 months ago

Does the application boot up within 10 seconds?


Status changed to Awaiting User Response Railway about 2 months ago


sevron-gil
PROOP

2 months ago

how do i measure cold start? i believe 10 second boot should be an easy target cus its just a node+hono service whose only endpoint is to link up to the railway project webhook system


Status changed to Awaiting Railway Response Railway about 2 months ago


Loading...