What is the best way to configure my (golang) client that uses DAX to fallback to DynamoDB if DAX has issues?
During initialization my service checks if DAX is available and if it is it will init its configuration to send requests to DAX. If DAX is unavailable when I init then it will just skip DAX and do straight DynamoDB.
However if DAX becomes unavailable after the service has initialized requests will start failing. I don't trust DAX to have 100% uptime, so what is the recommended way to handle DAX failures after the service has initialized with DAX?