2 years ago
I'm deploying a proxy that mainly handles ratelimits to an external service. I want to enable serverless, but I also do not want to worry that the proxy will enter sleep while it is waiting for the ratelimits to reset
I want to keep costs to the absolute minimum, so I don't want to make outbound requests to keep the server alive
Is there a specific IP I can ping instead? Or any other ideas?
8 Replies
2 years ago
N/A
2 years ago
Kindly ping me when you reply
2 years ago
if you don't want the server to sleep then you probably shouldn't have serverless enabled to be honest
if you need to keep it awake during a specific time then you can probably just fetch a health-check endpoint on your service, app sleeping is dependent on inbound requests so if you make an inbound request every 7 minutes or so then it won't fall asleep
2 years ago
2 years ago
The server is mainly a proxy that handles ratelimits, if a ratelimit were to be 10+ minutes, the server would sleep before it would forward the request
2 years ago
Would it be possible to do a HTTP request to itself on the private network? Would that prevent sleep?
2 years ago
going to give a big plus 1 to what fragly said, if you dont want something to sleep then dont enable serverless
2 years ago
!s
Status changed to Solved brody • over 1 year ago