2 months ago
I have a service which takes a few seconds before its available (typesense), the health check works great during deployment of new versions but when waking up from serverless it starts serving traffic ASAP, which my services responds 500 to (simply because its not ready yet) I expected the health check to be respected after serverless wakeup as well am I missing a toggle is it not a feature yet?
5 Replies
2 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
2 months ago
P.S.: I know I can configure a traefik proxy or something in front of my service and ask it to do the health check but then I'll be paying extra compute and extra complexity kinda defeats the purpose or a PaaS 
Besides I know railway's serverless tech is in house doesn't seem like it would be too hard to implement :/
2 months ago
Hello,
This isn't something we have plans to implement. Currently, we wait for any successful TCP connection so that the feature also automatically works with databases. Having the proxy use the configured health check path would require the proxy to know about service-level configuration, which is something that is not plumbed in and would not be a trivial matter to implement.
2 months ago
Thanks for the reply I didn't knew about this implementation detail of how the proxy system was separated from services settings. Is there a wishlist I can vote for for this feature? Can I create the feature request? Should I close this thread?
2 months ago
You can search for this ask and then if you don't find a pre-existing feedback thread, you can create your own.
Status changed to Solved noahd • 2 months ago

