v0.37.3
This commit is contained in:
1 parent
5e57e48c6a
commit
df0e39b899
25 files changed
+319
-97
No files matched your search
@@ -2,6 +2,14 @@
|
||||
|
||||
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
|
||||
|
||||
## 0.37.3 — lower memory and CPU use with Docker agents
|
||||
|
||||
- **Docker discovery no longer rebuilds the configuration on every poll:** each agent poll (default every 5 s) used to recompile the whole runtime configuration — re-reading every certificate file, building new TLS server configurations for every vhost, re-resolving dynamic ACL names and allocating and discarding the full compiled configuration — even when nothing had changed. RustProxy now compares the generated configuration (and the size, modification time and inode of the configured certificate files) with the last applied one and only recompiles when something actually changed: a container address, port, label publication, assignment, configuration save, certificate reload or a certificate file replaced on disk. On the test machine (51 vhosts, two agents, 5 s poll) idle CPU use dropped by about 45% and process memory under 500 keep-alive TLS connections by about 12%; the effect grows with the number of vhosts, certificates and backends.
|
||||
- **Shared TLS configurations:** vhosts with the same TLS policy now share one TLS server configuration (and its session cache) instead of two per vhost, and a certificate is kept in memory once instead of once per host name it serves.
|
||||
- **Upstream clients:** unchanged backends keep their upstream client and connection pool across configuration changes without building a replacement first.
|
||||
- **Docker polling:** the poll loop no longer copies the full configuration and all agent inventories several times per poll.
|
||||
- **Compatibility:** no configuration or API changes. A certificate file replaced on disk is still picked up automatically on the next Docker poll when Docker agents are configured; otherwise use *Reload* or the certificate API as before.
|
||||
|
||||
## 0.37.2 — Docker vhost ACL and cache, compact pickers, manual dashboard layout
|
||||
|
||||
- **Docker vhosts, access control:** the agent default ACL profiles are now shown pre-selected in the service's *Access control* section (*Agent default in use: …*) and can be unchecked or changed for that service only. New **Public vhost (no agent default ACL)** publishes a service without the agent default profiles (`inherit_acl_profiles: false`); global block/allow rules still apply. The section summary shows the effective state. See [docs](docs/DOCKER_DISCOVERY.md#publish-a-discovered-application).
|
||||
|
||||
Reference in new issue
Block a user