Skip to Content
OpenFlare
GuidesDeploymentReferenceArchitectureChangelog

OpenFlare Edge performance policies

Configure worker threads, upstream connection pools, HTTP/2, TLS, and cache storage for edge nodes under Performance policies.

Create and assign a policy

  1. Open Performance policies, click Create Policy (or start from 1C1G, 2C2G, or 4C8G presets), tune settings, and save.
  2. Click Assign Nodes, select target nodes, and save; unassigned nodes inherit the top Default policy.

Edge performance policy runtime editor

With Auto-configure enabled, nodes size worker threads (768 MiB budget per thread, minimum 1) and idle upstream pools from CPU/memory limits (including cgroups) on startup; disable it to set manual values.

Upstream timeouts, TLS verification, upstream HTTP/2, and cache toggles hot-reload for new connections; changing thread counts, pool capacities, listeners, or cache caps drains active connections and restarts workers.

Cache storage

HTTP responses and Pages blocks share one OFC cache per node. An HTTP route can cache responses when both its own cache rule and the policy's Node Cache setting are enabled.

SettingDefaultDescription
OFC cache capacity500 MiBPersistent capacity under $STATE_DIR/ofc, including the Pages archive reserve. Set to 0 to disable persistent storage.
OFC memory capacity0 MiBOptional in-memory tier for data blocks.
OFC archive capacity0 MiBSpace reserved within the persistent capacity for complete Pages deployments.
OFC disk reserve128 MiBFree space to retain on the cache filesystem.
Maximum cacheable object16 MiBUpper limit for one HTTP response, subject to the available OFC capacity.

Edge peering

Create or edit a node to set its OFC UDP port. The default is 19943. Nodes in the same network group connect using the current public address from the node list. Agents refresh that address periodically and report changes through their heartbeat. A node with a locked IP uses its configured address.

On this page