When Temporal dynamic configuration changes behavior without a restart
When a self-hosted Temporal Service needs a limit raised or a behavior changed in production, restarting its services is often the expensive part. Dynamic configuration exists so operators can change runtime-tunable settings while the server keeps running. It is separate from static server configuration, which sets things like persistence, the history shard count and TLS and is read at startup. The MIT-licensed server exposes dynamic configuration as a file that the server reads, so the values can live in files your team version controls and reviews. The caveat is that only keys the running server version recognizes take effect. A misspelled or retired key does nothing, and you should not assume the server will flag it. Treat the key reference for your exact server version as the source of truth.
Teams usually reach for dynamic configuration when a value protects the cluster or gates a feature and must change while traffic is live. Examples include tightening a request rate ceiling for one noisy namespace, or trying a behavior change in a single namespace before widening it. Static settings are the right tool when the value must hold for the life of the process or cannot change safely while running, such as storage connections, the shard count or certificate material. A practical test: if the change would require re-establishing connections, re-creating shards or reloading certificates, plan it as static configuration with a scheduled restart. Confirm in the reference which keys are dynamic and which accept per-namespace values before you decide.
Which dynamic configuration keys teams override and why
Rate limit settings control how many requests the Temporal Service accepts from clients and workers before it starts to throttle them. Teams usually adjust them after load testing shows that one API or namespace is being starved, or that a burst of traffic can overwhelm shared capacity. The main trade-off is that a higher limit lets more work through but moves pressure onto the persistence store and the history shards behind it, which can raise latency for every other namespace. A lower limit protects shared capacity but can slow workflow starts and task dispatch during peaks.
- Frontend API limits: These cap calls from clients and workers to the frontend service. Raising them helps bursty start traffic but can overload persistence if the database has not been sized for it.
- Persistence limits: These bound the request rate to the database. Set them against the capacity your database team has confirmed, not against default values.
- Visibility query limits: These control list and count queries against the visibility store. Heavy operator dashboards and scripts are a common source of load that teams overlook.
- Per-operation tuning: Some limits apply to specific operations. Change one at a time and measure the result before changing the next.
Check the values your running cluster actually uses, then confirm each key name and default in the configuration reference for your server version before editing the dynamic configuration file.
The history service owns workflow state, timers and the processing of workflow tasks and transfer tasks. Dynamic configuration lets you tune how that work is processed and cached without restarting the service. The trade-off is between throughput and resource use: more concurrent processing and larger caches finish work faster but consume more CPU, memory and database connections, and they can increase contention on individual shards. Changes here affect every workflow that runs on the affected shards, so the blast radius is wider than a single namespace.
- Task processing concurrency: These settings control how many tasks each shard processes in parallel. Higher values clear backlogs faster but increase database contention.
- Timer and transfer processing: These determine how quickly due timers and cross-component tasks are picked up. Tuning them affects how closely timeouts track their deadlines.
- Mutable state cache: Cache sizing trades memory for fewer database reads. Watch memory use on history pods after any increase.
- Retry and backoff behavior: Retry settings change how aggressively the service retries failed persistence or task operations, which can hide or amplify a database problem.
- Shard count is static: The number of history shards is set in static configuration and needs a planned change. Do not expect dynamic configuration to change it.
Before changing any history key, confirm its exact name, default and whether it is per shard or per namespace in the configuration reference for your server version, then watch persistence latency after the change.
The matching service holds task queues and dispatches tasks to polling workers. Dynamic configuration controls how it partitions queues, forwards tasks between partitions and matches tasks to pollers. The trade-off is between dispatch speed and even load: more partitions spread work across more matching instances and reduce hot spots, but each partition adds forwarding overhead and makes strict ordering across the whole queue harder to guarantee. Changes here typically surface as worker latency or uneven poller utilization rather than as obvious errors.
- Task queue partitions: The partition count per queue controls how work is spread across matching instances. Increase it for queues with sustained high throughput, and review the effect on workers that poll them.
- Partition forwarding: Forwarding lets a task leave a busy partition for an idle one. It improves dispatch under uneven load but adds a hop and some latency.
- Sync match behavior: Settings that favor direct handoff from a waiting poller reduce latency when workers keep up, but they can leave tasks waiting when pollers are scarce.
- Per-queue overrides: Some matching settings can differ by task queue. Limit overrides to queues with measured problems so the configuration stays understandable.
Verify each matching key name and its scope in the configuration reference for your server version, then compare schedule-to-start latency and poller counts before and after the change.
Some dynamic configuration values can be set for a specific namespace, so one team or environment can have limits or behavior that differ from the cluster default. This is useful for isolating a noisy tenant or giving a critical workload more headroom. The trade-off is isolation against operational complexity: every override is another value to track, review and explain during an incident, and an override that works for one namespace can shift load onto shared components that all namespaces use.
- Noisy-neighbor limits: Lower a limit for a namespace that generates excess load so it cannot starve others. Pair this with an agreed owner and a review date.
- Critical workload headroom: Raise limits for a namespace that carries business-critical workflows, but confirm the shared database and history capacity can absorb it.
- Environment separation: Use overrides, or separate clusters, to keep test traffic from affecting production namespaces. Overrides alone may not isolate shared storage.
- Naming and inventory: Keep a written list of every namespace override with its reason, value and owner, matched to your namespace naming convention.
- Precedence rules: Confirm in the configuration reference how a namespace value combines with the global default and any other scope.
After any namespace change, list every override from the running configuration and confirm that each key still exists and still has the intended effect in the configuration reference for your server version.
Dynamic configuration options and when each fits
This table compares global dynamic values, per-namespace dynamic values and static settings across scope, restart need, typical use and main risk. Read each row as a question: does the change apply to the whole cluster, one namespace, or does it need a restart and planned window. The main takeaway is to keep anything that changes data layout or connectivity in static configuration, and use dynamic values only for tunable behavior you can roll back quickly.
| Option | Scope and restart | Typical use | Main risk |
|---|---|---|---|
| Global dynamic values | Whole cluster, applied without a restart once the file is polled | Tuning server-wide behavior that operators adjust during load changes | One change affects every namespace, so a bad value spreads quickly |
| Per-namespace dynamic values | Single namespace, applied without a restart | Giving a high-volume or sensitive team different limits or behavior | Namespace overrides can drift from the global baseline and go unreviewed |
| Static service configuration | Requires a restart of the affected service | Persistence, visibility stores, shard count, TLS and similar foundations | Restart timing and mistakes in these settings can cause outages |
| Changes to dynamic values in a canary namespace | Single namespace first, then wider rollout | Testing a new value before applying it cluster-wide | Canary results may not reflect production load if traffic differs |
| Values that affect upgrades | Check after each Temporal Server upgrade | Confirming keys still exist and behave the same in the new version | Renamed or removed keys can fail silently if nobody compares them |
| Values that change data layout or connectivity | Not suited to dynamic change | Keep under static configuration with planned change control | Treating these as tunables risks inconsistent services during rollout |
Setting up dynamic configuration on a self-hosted Temporal Service
This sequence takes dynamic configuration from a planned list of keys to a verified production change, with an owner, a review step and evidence at each stage. The result is a controlled way to change server behavior without a restart.
Decide which dynamic keys you need
The platform owner lists the behaviors that must change without a restart, such as a limit, a rate or a feature flag, and matches each one to a key the server reads from dynamic configuration. Each key is recorded with its reason, its scope (global or per namespace) and the value it replaces. Done when every key has a documented reason and a named namespace or global scope, and anything without a verified key is held back for a static setting or a restart. Confirm each key name and its default against the release notes for your exact server version, since keys change between releases.
Write the file with an owner and change process
The platform team writes the dynamic configuration file in version control, with one named owner, a review step by a second engineer and a rule that every change links to a ticket. Keep the file separate from the static server configuration so that the two sets of settings are not edited together by accident. Done when the file is committed, the review rule is written down and the owner can name who approves a change to a production namespace.
Point the server at the file
Set the dynamic configuration file path in the server's static configuration, then mount or copy the file to the location the server reads. The method differs by deployment: in Docker Compose, the file is usually a bind mount into the server container; with binaries on virtual machines, it is a path on the host with file permissions limited to the service account; with the official Helm chart, it is usually supplied through a ConfigMap; with a custom Go build, confirm the setting in the build's own configuration. Done when the server starts, logs that it loaded the file and a test read returns the expected default.
Apply the change in a non-production environment
Edit the file in a staging or test environment that runs the same server version and persistence setup as production, and change one key at a time. The server polls the file for updates, so wait for the poll interval to pass rather than restarting the service, which would hide whether the change was picked up. Done when the change is committed to the non-production copy of the file and the reviewer has signed off on the diff.
Confirm the effect through metrics and logs
Check that the new value is in effect by comparing the relevant server metrics and logs before and after the change, and by reproducing the behavior the key controls with a controlled test workload. Look for the matching log entries and for the metric that the key should move. Done when the observed behavior matches the expected change and the evidence is saved with the ticket. If the metric does not move, treat the change as not applied and check the file path, the poll interval and the key name before going further.
Check the key after each server upgrade
After every server upgrade, compare the keys in use with the release notes and the server's current dynamic configuration reference, and remove or rename any key the new version no longer reads. Run the non-production check again on the upgraded version before changing production. Done when a written list of keys is confirmed against the new version and the list is stored with the upgrade record.
Roll out the change to production
Apply the reviewed change to production using the same file and the same process used in the non-production environment, with the owner present to watch the metrics and logs that were chosen for verification. Keep the previous file version available so the change can be reverted by restoring the committed copy. Done when the production metrics show the expected effect, the rollback path has been written down and the ticket records the change, the evidence and the approver.
How a dynamic configuration change moves from file to running server
The change starts with an operator editing the dynamic configuration file that the Temporal services read. Each service polls the file and applies the new values to running namespaces without a restart. Metrics then confirm whether the behavior changed as intended. If validation fails or the metrics show a regression, the operator restores the previous file version and the services apply it the same way. Check the key names and the namespace scope before the edit goes live.
Shows the path from editing the dynamic configuration file to confirmed behavior, with a rollback branch.
Checking dynamic configuration keys after each Temporal upgrade
Before each Temporal Server upgrade, review your dynamic configuration file against the documented keys for the target version. Temporal says to upgrade one minor version at a time and to move to the latest patch of the current minor first, because backward compatibility is guaranteed only between two successive minor versions. Dynamic configuration keys follow the same logic: a key that is valid on one minor line may be renamed, changed in meaning or removed on the next, and release notes are where those changes are announced. Make the review a required step in the upgrade runbook, not an optional check that depends on who is on call.
Start from the current release list in the Temporal GitHub releases page, which shows the latest server version (v1.32.1, published October 8, 2026) and the recent patch releases for earlier minor lines. Treat that list as a starting point only. For each minor version between your current release and the target, read the release notes and the dynamic configuration reference for that version, then compare every key in your file. Record each key as kept, changed, removed or new, with the version in which the change appears, so the reviewer can see why a value was altered.
After the upgrade, repeat the comparison against the version you actually run, and confirm in the server logs that the dynamic configuration file was loaded without warnings about unknown or deprecated keys. Keep the file in version control so the before and after versions can be diffed, and tie each change to the upgrade ticket. Confirm with your own team how your schema and server upgrade order is sequenced, because the release notes may require schema changes before the server moves forward. Retain the review record with your change evidence, since it shows an auditor how configuration was verified during the change.
Security and operational controls for dynamic configuration changes
Dynamic configuration changes live Temporal behavior across every service that reads the file, so a single edit can affect production immediately. The controls below assign who may edit, how changes are reviewed and traced, how environments stay apart, where the services sit on the network, and how a bad value is reverted.
Restrict who can edit the file
Limit write access to the dynamic configuration file to a named platform group, and keep it separate from the people who deploy workflow code. Confirm which accounts can write to the mounted file or the config map that holds it, since anyone with that access can change behavior for every namespace the file covers. Review this list on the same schedule as other production access reviews.
Require peer review for every change
Keep the dynamic configuration file in version control and require one reviewer who is not the author before any change merges. The review should name each key being changed, the namespace it applies to, and the expected effect, because keys such as rate limits take effect without a restart. Ask the reviewer to confirm the key exists in the server version you run.
Keep an audit trail of changes
Record who changed the file, when, and which commit or deployment carried the change, using the version control history and your cluster or host audit logs. Dynamic configuration does not replace the change record, so confirm that the file's history is retained for as long as your change management policy requires. Map each retained record to a named owner who can answer questions during an incident review.
Separate environment files
Give development, test, staging and production their own dynamic configuration files, each deployed through its own pipeline. Do not copy a production file into lower environments without removing values tied to production namespaces, since a value tested in staging may behave differently under production load. Confirm that each environment's Temporal Service reads only its own file.
Temporal deployment docsKeep services off the public internet
The Temporal deployment documentation says Temporal services should run on hosts that the public internet cannot reach, with network access restricted to trusted internal networks. Confirm that the frontend, history, matching and worker endpoints are not published on public addresses, because the default noopAuthorizer allows every API request with no authentication. Pair this control with an Authorizer and mTLS before any exposure is considered.
Temporal security docsRoll back faulty values quickly
Keep the last known good version of the file available so the owner can restore it through the same review path, without an emergency edit on the server. After any change, watch the metrics and logs for the namespaces the key affects and set a clear window for reverting. Test the rollback once in staging so the team knows how long the revert takes before it is needed in production.
Questions teams ask before changing Temporal dynamic configuration
How much effort does a first dynamic configuration setup take?
The first setup takes most of its effort in design and testing, and the amount depends on how many settings your team wants to control at runtime and how many namespaces and environments need their own values. Dynamic configuration is a file that the Temporal Service reads while it runs, so the work centers on deciding what belongs in that file and proving that each value behaves as expected. Effort falls into four areas: agreeing the list of keys to override, writing the file and its per-namespace values, wiring the file into your normal delivery path so changes are reviewed and tracked, and documenting who may change which values and why. Each area grows with the number of environments and teams involved. Confirm the exact file location and polling behavior for your server version in the official Temporal documentation before you estimate, because those details shape the design.
Can our in-house platform team manage dynamic configuration on its own?
Yes, a team that already runs Temporal Server, understands its persistence and metrics, and has a test environment can usually own dynamic configuration, provided it treats each change as a release. The skills required are ordinary platform skills: editing and reviewing configuration as code, reading server metrics and logs, and running upgrades one minor version at a time. Gaps tend to appear in three places. No one has checked which keys are safe to override on the version in use, changes go straight to a live cluster without a staged rollout, or the upgrade check is treated as optional. A short internal review of the first version of the file, with a named owner and a change log, closes most of these gaps. An outside partner is useful when the team has no spare capacity or no one has carried out a Temporal upgrade before.
What does the work need from our team before it starts?
The work needs three things from your side before it starts. The first is access: read access to the running Temporal Server configuration and its deployment repository, plus enough permission to roll a changed configuration file out to a non-production environment. The second is a test environment: a copy of the Temporal Service, ideally on the same server version and persistence backend as production, where changes can be applied and observed without affecting live workflows. The third is metrics: dashboards or exports that show server health, latency and task processing, so each change can be judged against a baseline. Your team should also name an owner for configuration decisions and share the list of namespaces, their owners and any compliance constraints on changing behavior. Ask for written confirmation of which of these your environment already provides and which must be arranged before the scope is fixed.
How long does a single change and an upgrade check take?
No fixed duration applies to every environment, because a single change is mostly review and observation, while an upgrade check depends on the release notes and the gap between versions. A single change needs a written reason, a review, a rollout to a non-production environment, a period of observation against baseline metrics, and then a production rollout with a rollback step ready. The overall duration is set by how long your team needs to observe effects and how quickly reviews happen. An upgrade check takes longer because it compares the keys in use against the release notes of the target version. Temporal advises upgrading one minor version at a time, moving to the latest patch of the current minor first, so the check may need to be repeated for each step. Ask for the number of steps and the target versions in the written scope, and confirm the current guidance in the Temporal server upgrade documentation.
Can a bad dynamic configuration change break a production cluster?
Yes, a poorly chosen value can change how the Temporal Service behaves under load or for specific namespaces, which is why changes need the same care as code releases. Dynamic configuration is designed to change behavior without restarts, so a mistake can take effect quickly and across every server that reads the file. Risks cluster in a few areas: limits set too low for real traffic, values that differ between namespaces in ways teams do not expect, and keys that were renamed or removed in a newer server version and may be ignored or misread. Controls that reduce this risk include version-controlled files, peer review, a short list of approved keys, dashboards watched during and after each change, and a written rollback step for each value. Test the file against the exact server version used in production before it goes live, because key behavior can differ between releases.
Who should be allowed to change the dynamic configuration file?
Treat write access to the dynamic configuration file as privileged access, because changes affect how the Temporal Service behaves for every team that uses it. If no Authorizer is configured, self-hosted Temporal uses the default noopAuthorizer, which allows every API request with no authentication or access control. The file location, the deployment pipeline and the network path to the server therefore form one security boundary. Temporal's self-hosted deployment guidance says services should run on hosts that are not reachable from the public internet, with access restricted to trusted internal networks. Confirm who can write to the file through your pipeline, who can read it, and whether every change is logged with an author and reason. Review these controls with your security team before the first change, and align them with your existing change management and access review process.
When is it worth bringing in an outside partner for this work?
An outside partner is worth bringing in when your team needs the configuration delivered with written evidence, has no one who has run a Temporal upgrade, or lacks capacity to test and document changes alongside its normal work. DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms in infrastructure you control. Work is usually agreed as a fixed-scope engagement with written deliverables, and ongoing changes and upgrades can be covered by a retainer. Typical triggers include an upgrade that crosses several minor versions, a move to production that needs a record of configuration decisions, or a compliance review that asks for evidence of change control. A partner does not replace your ownership of the platform. Ask that the scope name the keys in scope, the environments, the metrics used to judge changes, the handover format and the review after the first upgrade.
What should we ask for in a quote for dynamic configuration work?
Ask for a quote that follows from a written scope and separates one-time work from anything that recurs. DeployOpen does not publish a price list; a quote follows from the agreed scope, deliverables and timelines. One-time cost components usually include designing the key list and per-namespace values, building the file and its delivery path, testing in a non-production environment, supporting the first rollout, documenting the result and handing it over, and checking the configuration against each target server version. Recurring cost appears only if you choose a retainer for ongoing changes, upgrades and support. Costs rise with the number of namespaces, environments, server versions to cross and metrics that must be built from scratch. They fall when the team already keeps configuration as code, has dashboards and runs a test environment that matches production. Ask for the assumptions behind each line, the number of change rounds included and how scope changes are priced.
How DeployOpen works on this
DeployOpen plans and implements Temporal dynamic configuration inside your own infrastructure, so overrides are scoped, reviewed and tested before they reach a production namespace. The work covers the dynamic configuration file, its per-namespace values, the upgrade checks and the runbook your operators use afterward.
How we scope
- Written scope lists which dynamic configuration keys your workflows need, and which stay at the server defaults.
- Scope maps each override to a namespace, owner and reason so changes stay traceable.
- Scope names the Temporal Server version, deployment method and file delivery path that the configuration must work with.
How we build
- We build the dynamic configuration file and per-namespace values in a version-controlled repository, with review before merge.
- We test each override in a non-production environment, confirming the server picks up the change without a restart.
- We document the polling behavior and rollback steps so operators can revert a value quickly if a change misbehaves.
How we hand over
- Handover includes the configuration repository, a key register listing every override and its purpose.
- We provide an upgrade checklist that compares keys against the release notes for each Temporal Server version step.
- Operators receive a runbook covering change requests, verification queries and who approves per-namespace changes.
How we support
- Ongoing support and continuous testing are available as a retainer, covering reviews of new overrides and upgrade checks.
- Retainer work can include rechecking the key register after each minor or patch upgrade of the Temporal Server.
- Confirm with your team which environments, owners and change windows the support agreement should cover before signing.

