Hi Josh,

Sorry for the late reply.

Unfortunately we haven't had time/prioritized to look into it further. For
the very few times when we've had to use the failover functionality, it has
recovered quickly enough (within two minutes or so).

Best,
Jonas

On Mon, Dec 21, 2015 at 9:19 PM Joshua Ma <j...@benchling.com> wrote:

> Hi Jonas,
>
> Just wondering if you were able to characterize the behavior and had any
> ideas for gracefully handling RDS failover. From what I'm seeing, RDS will
> not cause errors, but will simply hang, so SQLA doesn't hit its "optimistic
> disconnect handling" (
> http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-optimistic)
> handler.
>
> Have you found a simple method of identifying failover but not a slow
> query? Would be super useful for us and I'm guessing other folks using SQLA
> + RDS. (We're also using Postgres.)
>
> - Josh
>
> On Saturday, October 18, 2014 at 5:42:32 AM UTC-7, Jonas Oscarsson wrote:
>
>> Thanks for the tip, we haven't tried that yet although I think we would
>> have the same behavior as it seems to be the next connection after the
>> database is down that hangs (no matter if it's a SELECT 1 or an actual
>> query).
>>
> On Fri, Oct 17, 2014 at 5:38 PM, Jonathan Vanasco <jvan...@gmail.com>
>> wrote:
>>
> Have you tried a Pessimistic Disconnect strategy?
>>>
>>>
>>> http://docs.sqlalchemy.org/en/latest/core/pooling.html#dealing-with-disconnects
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sqlalchemy" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sqlalchemy/NANPH1QWgMM/unsubscribe.
>>>
>> To unsubscribe from this group and all its topics, send an email to
>>> sqlalchemy+...@googlegroups.com.
>>> To post to this group, send email to sqlal...@googlegroups.com.
>>>
>>
>>> Visit this group at http://groups.google.com/group/sqlalchemy.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sqlalchemy" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sqlalchemy/NANPH1QWgMM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to