We make calls to external services from functions and these calls by default gets run from all the servers. Is there any way we can avoid such calls.?
What I am thinking of trying is to have hostname configured in some config files and read those and check if those hosts are available then only make call if any one of those host is available. Is there any such API with which I can health of the node? Any better solution? With best regards, Ashish