Merge ~hloeung/content-cache-charm:master into content-cache-charm:master
Proposed by
Haw Loeung
Status: | Superseded |
---|---|
Proposed branch: | ~hloeung/content-cache-charm:master |
Merge into: | content-cache-charm:master |
Diff against target: |
406 lines (+56/-47) 8 files modified
config.yaml (+3/-3) lib/haproxy.py (+12/-10) reactive/content_cache.py (+0/-2) templates/haproxy_cfg.tmpl (+11/-1) tests/unit/files/content_cache_rendered_haproxy_test_output.txt (+10/-14) tests/unit/files/haproxy_config_rendered_listen_stanzas_test_output.txt (+0/-3) tests/unit/files/haproxy_config_rendered_test_output.txt (+10/-4) tests/unit/test_content_cache.py (+10/-10) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical IS Reviewers | Pending | ||
Content Cache Charmers | Pending | ||
Review via email: mp+380402@code.launchpad.net |
This proposal has been superseded by a proposal from 2020-03-10.
Commit message
Increase HAProxy SSL/TLS session cache
Default cache size is 20k. We want to improve user experience by
reducing TTFB. Obviously this applies to vistors revisiting sites.
Rather than hardcode high values here, let's just dynamically
calculate this using global_
num. of cores and num. of configured sites). Each entry requires ~200
bytes so on a host iwth say 32 CPUs, 10 sites configured, each with
the default 2000 maxconns, it will only consume around 122 Mbytes,
which is not much!
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.