On Wednesday, January 14, 2015 at 4:41:33 PM UTC-8, Adam G wrote:
>
> I've read through the sharding documentation but didn't see anything 
> specifically about failover. I'm working on an app that has a master and 
> multiple read slaves. I was wondering if Sequel had the capability to 
> automatically fail over and attempt a different read only database in the 
> event that the first one tried was unavailable? If not, what is the best 
> practice?
>

Sequel doesn't currently have specific support for failover.  However, 
assuming that you are using a proc for the :read_only shard as shown in the 
documentation, if you use the connection_validator extension with the 
timeout set to -1, it should handle failing slaves transparently.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to