Client side API failover handling
I have frontend web and mobile apps that connect to an API endpoint to communicate with the server. The app is being used globally so often we face issue where users from some specific country or some specific ISP are unable to connect to our server, sometimes the issue is DNS query, sometimes it is some blocking at ISP’s end, sometimes the connectivity is established but it is very slow for multiple reasons; either way, we have no way to fix this other than creating a new build of the app with API URL that points to a different domain name or different server and then rollout to thousands of users.
Client side API failover handling
I have frontend web and mobile apps that connect to an API endpoint to communicate with the server. The app is being used globally so often we face issue where users from some specific country or some specific ISP are unable to connect to our server, sometimes the issue is DNS query, sometimes it is some blocking at ISP’s end, sometimes the connectivity is established but it is very slow for multiple reasons; either way, we have no way to fix this other than creating a new build of the app with API URL that points to a different domain name or different server and then rollout to thousands of users.