I have two genserver implementations, both of which perform a lookup by making a http request and both return the same information, they use different providers in order to do so.
I would like to figure out a way that I could have the first process run and upon failure or validation failure this process would then fail over to the second genserver which makes use of a different provider.
Basically what I'm trying to accomplish is a process failover of sorts: Try process A and if A fails try process B.
What would you recommend would be the best way to go about doing this in Elixir?