Merge ~hloeung/content-cache-charm:haproxy-config into content-cache-charm:master
Proposed by
Haw Loeung
Status: | Merged |
---|---|
Approved by: | Haw Loeung |
Approved revision: | f0812ea9c54e8daa955583e60c299477c0984d69 |
Merged at revision: | a1fcac903113718953671597d4a1a46b8a3848fb |
Proposed branch: | ~hloeung/content-cache-charm:haproxy-config |
Merge into: | content-cache-charm:master |
Diff against target: |
76 lines (+32/-0) 4 files modified
templates/haproxy_cfg.tmpl (+8/-0) tests/unit/files/content_cache_rendered_haproxy_test_output.txt (+8/-0) tests/unit/files/content_cache_rendered_haproxy_test_output_auto_maxconns.txt (+8/-0) tests/unit/files/haproxy_config_rendered_test_output.txt (+8/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joel Sing (community) | +1 | Approve | |
Canonical IS Reviewers | Pending | ||
Canonical IS Reviewers | Pending | ||
Review via email: mp+380460@code.launchpad.net |
This proposal supersedes a proposal from 2020-03-09.
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.