~hloeung/content-cache-charm:request-unique-id

Last commit made on 2021-01-21
Get this branch:
git clone -b request-unique-id https://git.launchpad.net/~hloeung/content-cache-charm
Only Haw Loeung can upload to this branch. If you are Haw Loeung please log in for upload directions.

Branch merges

Branch information

Name:
request-unique-id
Repository:
lp:~hloeung/content-cache-charm

Recent commits

5622923... by Haw Loeung

Also log unique request ID in HAProxy logs - LP:1895255

We need to use the capture request header to log the generated ID if
it exists in X-Cache-Request-ID. log-format replaces option httplog.

6d4da42... by Haw Loeung

Add and log unique request ID - LP:1895255

This makes tracing requests from frontend through to backends easier
for debugging purposes.

b6187ce... by Haw Loeung

Reduce HAProxy max. connections to backends

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/396375
Reviewed-by: Barry Price <email address hidden>

46cbcf6... by Haw Loeung

Reduce HAProxy max. connections to backends

Too high and we end up swamping the backends, especially if they're
under powered. We also want to make the default max. connections to
the caching layer enough so it's a 1-to-1 mapping of connections to
the caching layer through to backend.

b75dc46... by Haw Loeung

Improve resiliency with HAProxy retry-on all-retryable-errors

This is as suggested by Jay in an internal ticket. Note that retry-on is only available from HAProxy 2.1 onwards.

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/396210
Reviewed-by: Jay Kuri <email address hidden>

68555bf... by Haw Loeung

Improve resiliency with HAProxy retry-on all-retryable-errors

This is only available from HAProxy 2.1 onwards.

f640753... by Haw Loeung

Improve resiliency with HAProxy redispatch

This is as suggested by Jay in an internal ticket. Note that retries already defaults to 3.

Reviewed-on: https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+merge/396208
Reviewed-by: Jay Kuri <email address hidden>

5ad6f1c... by Haw Loeung

Improve resiliency with HAProxy redispatch

For real backends in HAProxy, enable redispatching of requests on
failures.

dede001... by Tom Haddon

Add icon from the Web Team

Reviewed-on: https://code.launchpad.net/~mthaddon/content-cache-charm/+git/content-cache-charm/+merge/394052
Reviewed-by: Haw Loeung <email address hidden>

091fe39... by Tom Haddon

Add icon from the Web Team