a year 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
a year ago
N/A
a year ago
Kindly ping me when you reply
a year 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
a year ago

a year 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
a year ago
Would it be possible to do a HTTP request to itself on the private network? Would that prevent sleep?
a year ago
going to give a big plus 1 to what fragly said, if you dont want something to sleep then dont enable serverless
10 months ago
!s
Status changed to Solved brody • 11 months ago