Enable retries in the std.py backend. by ShaheedHaque · Pull Request #31 · poppyred/python-consul2 (original) (raw)

This repository was archived by the owner on May 30, 2024. It is now read-only.

Conversation3 Commits2 Checks2 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

ShaheedHaque

Resolves #30. This PR also:

@ShaheedHaque

…lso:

@codecov

@ShaheedHaque

@ShaheedHaque

Hi, is there any chance of a release with this PR incorporated? FWIW, there is a Celery fix (celery/celery#5605) which benefits from this, and which I had wanted to delay before this was available but I feel I need to pursue at this time.

ShaheedHaque added a commit to ShaheedHaque/celery that referenced this pull request

Jun 27, 2021

@ShaheedHaque

…ponses

from Consul with the outbound Celery request that caused it. This leaves it prone to mistaking the (final) response from an operation N as the response to an (early) part of operation N + 1.

This changes fix that by using a separate connection for each request. That of course has the downside of (a) being relatively expensive and (b) increasing the rate of connection requests into Consul:

Note that we have never seen (b) outside a test specifically trying to hammer the system, but we see (a) all the time in our normal system tests.

ShaheedHaque added a commit to ShaheedHaque/celery that referenced this pull request

Jun 28, 2021

@ShaheedHaque

…ponses

from Consul with the outbound Celery request that caused it. This leaves it prone to mistaking the (final) response from an operation N as the response to an (early) part of operation N + 1.

This changes fix that by using a separate connection for each request. That of course has the downside of (a) being relatively expensive and (b) increasing the rate of connection requests into Consul:

Note that we have never seen (b) outside a test specifically trying to hammer the system, but we see (a) all the time in our normal system tests.

To opt-out from the new behaviour add a parameter "one_client=1" to the connection URL.

ShaheedHaque added a commit to ShaheedHaque/celery that referenced this pull request

Aug 10, 2021

@ShaheedHaque

…ponses

from Consul with the outbound Celery request that caused it. This leaves it prone to mistaking the (final) response from an operation N as the response to an (early) part of operation N + 1.

This changes fix that by using a separate connection for each request. That of course has the downside of (a) being relatively expensive and (b) increasing the rate of connection requests into Consul:

Note that we have never seen (b) outside a test specifically trying to hammer the system, but we see (a) all the time in our normal system tests.

To opt-out from the new behaviour add a parameter "one_client=1" to the connection URL.

auvipy pushed a commit to celery/celery that referenced this pull request

Aug 11, 2021

@ShaheedHaque

…6823)

This changes fix that by using a separate connection for each request. That of course has the downside of (a) being relatively expensive and (b) increasing the rate of connection requests into Consul:

Note that we have never seen (b) outside a test specifically trying to hammer the system, but we see (a) all the time in our normal system tests.

To opt-out from the new behaviour add a parameter "one_client=1" to the connection URL.

jeyrce pushed a commit to jeyrce/celery that referenced this pull request

Aug 25, 2021

@ShaheedHaque @jeyrce

…elery#6823)

This changes fix that by using a separate connection for each request. That of course has the downside of (a) being relatively expensive and (b) increasing the rate of connection requests into Consul:

Note that we have never seen (b) outside a test specifically trying to hammer the system, but we see (a) all the time in our normal system tests.

To opt-out from the new behaviour add a parameter "one_client=1" to the connection URL.

@ShaheedHaque

@poppyred Any chance of a release with this merged please?

1 participant

@ShaheedHaque