[GH-ISSUE #6928] [Performance]: Avoid unnecessary global traffic UPSERTs while preserving multi-node freshness and quota correctness #4587

Closed
opened 2026-10-31 20:40:42 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @HamedSanaei on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6928

Summary

The cross-panel traffic synchronization path overwrites every incoming client_global_traffics row on every push, updating up, down, and updated_at even when the usage values have not changed. With thousands of clients and frequent master-to-node pushes this creates significant PostgreSQL UPDATE/WAL churn.

We should investigate change-aware writes with a bounded freshness heartbeat, keeping PostgreSQL as the source of truth. No Redis or extra service is requested.

Code paths / why this is delicate

  • internal/web/service/inbound_traffic_global.go: AcceptGlobalTraffic() filters to locally-known emails, batches in chunks of 200 and calls INSERT ... ON CONFLICT (master_guid,email) DO UPDATE SET up,down,updated_at every push.
  • internal/web/service/inbound_disable.go: globalTrafficFreshWindow = 24 * time.Hour; freshness is used by read and enforcement paths.
  • overlayGlobalTraffic() treats stale rows as absent, and client_traffics deliberately holds local-only counters so the master's delta accounting is not corrupted.

Critical invariants: a traffic reset must propagate lower counts (not a max-only update); a master that stops reporting must age out; a live but idle master must not age out solely because its up/down values remained unchanged.

Production evidence (PostgreSQL 18)

A several-day statistics window beginning 2026-10-21 showed:

  • client_global_traffics: ~6,708 currently live rows and ~173 million cumulative row updates (pg_stat_user_tables.n_tup_upd).
  • The batched INSERT ... ON CONFLICT DO UPDATE query shape: ~155,449 statements, ~4.69 GB reported WAL, ~639,000 ms cumulative execution time in pg_stat_statements.
  • In a separate 20-second snapshot: 16 such statements, ~415 KB WAL, ~35.6 ms cumulative execution time.

The values reflect one busy cluster and a particular measurement window, not a universal rate. Some statements contain many client rows; statement count and row-update count must not be conflated.

Proposed direction (for maintainer review)

  1. Measure changed-usage rows versus identical snapshots per master_guid/email, plus the frequency of freshness-only writes.
  2. Explore conditional ON CONFLICT DO UPDATE ... WHERE ... so up/down changes (including resets to lower numbers) always write immediately, but identical values refresh updated_at only when a safe, configurable or internal heartbeat threshold has elapsed.
  3. Choose that threshold well inside the existing 24-hour freshness window, with margin for missed pushes, paused nodes and clock/latency drift; never suppress heartbeats indefinitely.
  4. Preserve the current behavior for newly seen and deleted clients, paused/offline masters, chains of masters/nodes, subscription/dashboard read paths, limit enforcement and traffic resets. Keep this optimization transactionally safe for concurrent pushes from the same or different masters.
  5. Benchmark row updates, WAL, transactions, CPU and propagation latency before/after. Prefer SQL-level conditional updates over maintaining a potentially stale out-of-band cache.

Acceptance criteria

  • Unchanged traffic snapshots generate materially fewer PostgreSQL updates/WAL, validated by comparable pg_stat_statements deltas.
  • Updated counters, decreases caused by traffic reset, quota exhaustion/disable actions and downstream propagation remain prompt and correct.
  • A still-active but idle master stays fresh; an absent master eventually ages out as intended by globalTrafficFreshWindow (#6113).
  • No feedback of pushed global totals into local-only client_traffics, no cross-master double counting and no behavior change to intermediate forwarding nodes.
  • SQLite and PostgreSQL integration/regression coverage includes concurrent push, unchanged usage > freshness window, missed sync cycles, reset, deletion and recovery.
  • No Redis dependency.

Related but distinct from #6035 (general PostgreSQL/multi-node CRUD slowness). This focuses on write amplification in the global traffic ingestion path.

Originally created by @HamedSanaei on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6928 ## Summary The cross-panel traffic synchronization path overwrites **every** incoming `client_global_traffics` row on every push, updating `up`, `down`, and `updated_at` even when the usage values have not changed. With thousands of clients and frequent master-to-node pushes this creates significant PostgreSQL UPDATE/WAL churn. We should investigate **change-aware writes with a bounded freshness heartbeat**, keeping PostgreSQL as the source of truth. No Redis or extra service is requested. ## Code paths / why this is delicate - [`internal/web/service/inbound_traffic_global.go`](https://github.com/MHSanaei/3x-ui/blob/main/internal/web/service/inbound_traffic_global.go): `AcceptGlobalTraffic()` filters to locally-known emails, batches in chunks of 200 and calls `INSERT ... ON CONFLICT (master_guid,email) DO UPDATE SET up,down,updated_at` every push. - [`internal/web/service/inbound_disable.go`](https://github.com/MHSanaei/3x-ui/blob/main/internal/web/service/inbound_disable.go): `globalTrafficFreshWindow = 24 * time.Hour`; freshness is used by read and enforcement paths. - `overlayGlobalTraffic()` treats stale rows as absent, and `client_traffics` deliberately holds local-only counters so the master's delta accounting is not corrupted. **Critical invariants:** a traffic reset must propagate **lower** counts (not a max-only update); a master that stops reporting must age out; a live but idle master must **not** age out solely because its `up/down` values remained unchanged. ## Production evidence (PostgreSQL 18) A several-day statistics window beginning 2026-10-21 showed: - `client_global_traffics`: ~6,708 currently live rows and **~173 million cumulative row updates** (`pg_stat_user_tables.n_tup_upd`). - The batched `INSERT ... ON CONFLICT DO UPDATE` query shape: ~155,449 statements, ~4.69 GB reported WAL, ~639,000 ms cumulative execution time in `pg_stat_statements`. - In a separate 20-second snapshot: 16 such statements, ~415 KB WAL, ~35.6 ms cumulative execution time. The values reflect one busy cluster and a particular measurement window, not a universal rate. Some statements contain many client rows; statement count and row-update count must not be conflated. ## Proposed direction (for maintainer review) 1. Measure changed-usage rows versus identical snapshots per `master_guid`/email, plus the frequency of freshness-only writes. 2. Explore conditional `ON CONFLICT DO UPDATE ... WHERE ...` so `up/down` changes (including resets to lower numbers) always write immediately, but identical values refresh `updated_at` only when a safe, configurable or internal heartbeat threshold has elapsed. 3. Choose that threshold well **inside** the existing 24-hour freshness window, with margin for missed pushes, paused nodes and clock/latency drift; never suppress heartbeats indefinitely. 4. Preserve the current behavior for newly seen and deleted clients, paused/offline masters, chains of masters/nodes, subscription/dashboard read paths, limit enforcement and traffic resets. Keep this optimization transactionally safe for concurrent pushes from the same or different masters. 5. Benchmark row updates, WAL, transactions, CPU and propagation latency before/after. Prefer SQL-level conditional updates over maintaining a potentially stale out-of-band cache. ## Acceptance criteria - [ ] Unchanged traffic snapshots generate materially fewer PostgreSQL updates/WAL, validated by comparable `pg_stat_statements` deltas. - [ ] Updated counters, **decreases caused by traffic reset**, quota exhaustion/disable actions and downstream propagation remain prompt and correct. - [ ] A still-active but idle master stays fresh; an absent master eventually ages out as intended by `globalTrafficFreshWindow` (#6113). - [ ] No feedback of pushed global totals into local-only `client_traffics`, no cross-master double counting and no behavior change to intermediate forwarding nodes. - [ ] SQLite and PostgreSQL integration/regression coverage includes concurrent push, unchanged usage > freshness window, missed sync cycles, reset, deletion and recovery. - [ ] No Redis dependency. Related but distinct from #6035 (general PostgreSQL/multi-node CRUD slowness). This focuses on **write amplification in the global traffic ingestion path**.
bsakaguchi 2026-10-31 20:40:42 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

The source confirms what you describe. Every global-traffic push rewrites every row it covers, including rows whose up/down haven't changed. This is a performance change you are asking for, not a correctness bug, so I've labelled it enhancement. The fix you propose (a conditional upsert plus a heartbeat shorter than the freshness window) fits the existing design.

What the code does today

  1. The master pushes on a fixed timer, not when usage changes. internal/web/job/node_traffic_sync_job.go:26 sets nodeGlobalPushInterval = 30 * time.Second. maybePushGlobals (node_traffic_sync_job.go:304-357) then sends each online node the full list from GetNodeClientTraffics(n.Id): every client that node hosts, changed or not (internal/web/service/inbound_traffic_global.go:169-188).
  2. On the node, AcceptGlobalTraffic stamps the same now on every row (inbound_traffic_global.go:60, UpdatedAt: now at :72). It then upserts in batches of 200 with nothing that skips unchanged rows:
    DoUpdates: clause.AssignmentColumns([]string{"up", "down", "updated_at"}),
    
    (inbound_traffic_global.go:80). Every row in the payload gets a new updated_at on every push, so on PostgreSQL every row becomes a new tuple version, with the WAL and index churn that brings.
  3. A rough cross-check (my own arithmetic, not measured): about 6,700 rows pushed every 30 s from one master works out to about 19.3 M row updates a day. That is roughly the rate behind your ~173 M figure over several days. More masters, or a different number of rows per push, would change it.

Why updated_at can't just be skipped

updated_at is the only liveness signal. Three paths depend on it:

  • globalTrafficFreshWindow = 24 * time.Hour (internal/web/service/inbound_disable.go:35).
  • Quota enforcement: depletedClientsCond only counts rows with g.updated_at >= ? (inbound_disable.go:46-53).
  • Display: overlayGlobalTraffic ignores rows older than the window (inbound_traffic_global.go:105-135, #6113).

So your three constraints are real, and the code enforces each of them:

  • Rows are overwritten rather than max-merged so that a reset (lower numbers) propagates. The comment at inbound_traffic_global.go:22 and the model comment at internal/database/model/client_global_traffic.go:10-12 both say so, and TestAcceptGlobalTraffic_OverwriteAndMultiMaster (internal/web/service/global_traffic_test.go:46) tests it.
  • A master that stops pushing must age out. global_traffic_test.go:98 tests this with staleAt := time.Now().Add(-globalTrafficFreshWindow - time.Hour).
  • An idle master that is still pushing must stay fresh. A plain "only update when up/down changed" rule would break this one: after 24 h of an idle client, its row would silently stop counting toward quota.

Where a change would go

The only place that needs to change is the OnConflict clause in AcceptGlobalTraffic. A conditional DO UPDATE ... WHERE would write when the incoming values differ from the stored ones (IS DISTINCT FROM), which covers decreases from a reset. For identical values it would only write when the stored updated_at is older than an internal heartbeat set well inside 24 h. PostgreSQL and SQLite (3.24+) both support ON CONFLICT ... DO UPDATE ... WHERE. That keeps PostgreSQL the single source of truth, with no extra cache or service.

Things to check (my inferences, not verified):

  • PostgreSQL still locks a conflicting row whose WHERE evaluates false, so the cost doesn't drop to zero. It should still remove the new tuple version and most of the WAL.
  • With one shared now per push, all rows from a master hit the heartbeat in the same push. That gives one full rewrite per heartbeat interval instead of one every 30 s.
  • New and deleted clients are unaffected. New rows still take the INSERT path, and clearGlobalTraffic deletes rows outright (inbound_traffic_global.go:209-219).
  • Mid-chain forwarding is unaffected. It reads stored rows through GetNodeClientTraffics and never depends on the write count.

The master could also skip unchanged rows before sending, which would save network traffic too. But it would need its own heartbeat bookkeeping per node, and it could drift from what the node actually has stored. Doing it on the node, in SQL, avoids that, as you suggested.

Related: #6035 (general PostgreSQL/multi-node slowness) and #6113 (why the freshness window exists). Neither is a duplicate.

Verdict: Feature request

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:6391947948 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): The source confirms what you describe. Every global-traffic push rewrites every row it covers, including rows whose `up`/`down` haven't changed. This is a performance change you are asking for, not a correctness bug, so I've labelled it `enhancement`. The fix you propose (a conditional upsert plus a heartbeat shorter than the freshness window) fits the existing design. **What the code does today** 1. The master pushes on a fixed timer, not when usage changes. `internal/web/job/node_traffic_sync_job.go:26` sets `nodeGlobalPushInterval = 30 * time.Second`. `maybePushGlobals` (`node_traffic_sync_job.go:304-357`) then sends each online node the full list from `GetNodeClientTraffics(n.Id)`: every client that node hosts, changed or not (`internal/web/service/inbound_traffic_global.go:169-188`). 2. On the node, `AcceptGlobalTraffic` stamps the same `now` on every row (`inbound_traffic_global.go:60`, `UpdatedAt: now` at :72). It then upserts in batches of 200 with nothing that skips unchanged rows: ```go DoUpdates: clause.AssignmentColumns([]string{"up", "down", "updated_at"}), ``` (`inbound_traffic_global.go:80`). Every row in the payload gets a new `updated_at` on every push, so on PostgreSQL every row becomes a new tuple version, with the WAL and index churn that brings. 3. A rough cross-check (my own arithmetic, not measured): about 6,700 rows pushed every 30 s from one master works out to about 19.3 M row updates a day. That is roughly the rate behind your ~173 M figure over several days. More masters, or a different number of rows per push, would change it. **Why `updated_at` can't just be skipped** `updated_at` is the only liveness signal. Three paths depend on it: - `globalTrafficFreshWindow = 24 * time.Hour` (`internal/web/service/inbound_disable.go:35`). - Quota enforcement: `depletedClientsCond` only counts rows with `g.updated_at >= ?` (`inbound_disable.go:46-53`). - Display: `overlayGlobalTraffic` ignores rows older than the window (`inbound_traffic_global.go:105-135`, #6113). So your three constraints are real, and the code enforces each of them: - Rows are overwritten rather than max-merged so that a reset (lower numbers) propagates. The comment at `inbound_traffic_global.go:22` and the model comment at `internal/database/model/client_global_traffic.go:10-12` both say so, and `TestAcceptGlobalTraffic_OverwriteAndMultiMaster` (`internal/web/service/global_traffic_test.go:46`) tests it. - A master that stops pushing must age out. `global_traffic_test.go:98` tests this with `staleAt := time.Now().Add(-globalTrafficFreshWindow - time.Hour)`. - An idle master that is still pushing must stay fresh. A plain "only update when up/down changed" rule would break this one: after 24 h of an idle client, its row would silently stop counting toward quota. **Where a change would go** The only place that needs to change is the `OnConflict` clause in `AcceptGlobalTraffic`. A conditional `DO UPDATE ... WHERE` would write when the incoming values differ from the stored ones (`IS DISTINCT FROM`), which covers decreases from a reset. For identical values it would only write when the stored `updated_at` is older than an internal heartbeat set well inside 24 h. PostgreSQL and SQLite (3.24+) both support `ON CONFLICT ... DO UPDATE ... WHERE`. That keeps PostgreSQL the single source of truth, with no extra cache or service. Things to check (my inferences, not verified): - PostgreSQL still locks a conflicting row whose `WHERE` evaluates false, so the cost doesn't drop to zero. It should still remove the new tuple version and most of the WAL. - With one shared `now` per push, all rows from a master hit the heartbeat in the same push. That gives one full rewrite per heartbeat interval instead of one every 30 s. - New and deleted clients are unaffected. New rows still take the `INSERT` path, and `clearGlobalTraffic` deletes rows outright (`inbound_traffic_global.go:209-219`). - Mid-chain forwarding is unaffected. It reads stored rows through `GetNodeClientTraffics` and never depends on the write count. The master could also skip unchanged rows before sending, which would save network traffic too. But it would need its own heartbeat bookkeeping per node, and it could drift from what the node actually has stored. Doing it on the node, in SQL, avoids that, as you suggested. Related: #6035 (general PostgreSQL/multi-node slowness) and #6113 (why the freshness window exists). Neither is a duplicate. Verdict: Feature request _This reply was generated automatically; a maintainer may follow up._ <!-- claude-issue:analyst -->
Author
Owner

@HamedSanaei commented on GitHub (Oct 25, 2026):

Implemented in https://github.com/MHSanaei/3x-ui/pull/6931 (perf/global-traffic-heartbeat-6928). Production fix: 5509c0dd7d3e38ce57db24b3bd6463adc7a6f937; current head: 70f082a6931b656410028f22f1f00d08b2fff051, an approved docs-only correction of the model's stale every-push comment. No published history was rewritten.

The UPSERT now writes any directional counter difference immediately—including lower values and zero resets—or refreshes an identical row at the inclusive one-hour heartbeat. Explicit NULL branches repair legacy nullable values. New rows still insert immediately; known-local-email filtering, duplicate last-wins behavior, queued writing, one transaction and 200-row batches remain unchanged.

The existing GORM clock drives ingestion and persisted freshness checks. Local counters/full-list snapshots stay separate; slim/detail/quota reads retain the inclusive 24-hour rule and existing per-master overlays; downstream forwarding and actual reset/delete cleanup remain intact. Ordinary heartbeat ingestion does not invalidate subscription settings caches. No cache/service, settings/API/schema change or sequence/precedence protocol is introduced.

Liveness tradeoff: an idle master can expire up to one hour earlier relative to its final unchanged push because freshness writes are coarsened. Active hourly refresh leaves roughly 23 hours of missed-push margin; counter changes are not delayed.

Verification passed:

  • GOFLAGS=-p=1 make verify and GOFLAGS=-p=1 make race, retaining all packages/tests and race instrumentation; the full gate included 214 frontend test files/2,000 tests, build/Storybook and generated/OpenAPI checks.
  • SQLite 3.53.4 plus exact TestGlobalTrafficHeartbeatPostgres runs on real PostgreSQL 18.6 and 16.15: one top-level PASS each, no skips; actionlint passed.
  • Real affected-row assertions for heartbeat boundaries, directional changes/resets, legacy NULLs, mixed 405-client batches, duplicates/unknown clients, 48-hour active pushes versus absent-master expiry/recovery, quota/paging/cache effects, queued and genuinely overlapping inline transactions, real reset/delete/CreateOne recreation and forwarding. The premature-update assertion failed before the production edit.
  • Newly built disposable-panel HTTP smoke: repeated 900/800 preserved the side timestamp; local/full snapshots stayed 10/20; 50/60 and 0/0 overwrote the side row immediately; an aged identical row refreshed.
  • make node-e2e passed existing two-panel scenarios and a genuine three-panel forwarding chain with combined usage, lower/reset totals, origin-owned deletion/recreation and offline recovery. Cadence stayed unchanged; waits were 90 seconds. No live-Xray/firewall claim; 48-hour proof uses deterministic DB time.

The documentation-only follow-up also passed model-package golangci-lint and the six SQLite heartbeat regression cases. It changes no executable code or schema.

The same workload ran before/after on both dialects: 6,708 clients, 240 simulated 30-second pushes over two hours, seed/one warmup excluded, unchanged/sparse 1%/all-change/reset-at-tick-120 phases.

Workload Affected row updates before After PG INSERT calls, both
Unchanged 1,609,920 13,416 8,160
Sparse 1% 1,609,920 16,096 8,160
All change 1,609,920 1,609,920 8,160
Reset halfway 1,609,920 13,416 8,160

Supplemental PostgreSQL 18 comparisons used the identical fixtures in isolated original/changed snapshots, full_page_writes=on, 8GB maximum WAL, one-hour checkpoint timeout and an untimed checkpoint before each workload. Timed/requested checkpoint counters did not change inside any measured interval; original 1GB/5-minute settings were restored afterward. No checkpoint requirement/configuration was added to committed tests or production.

Workload WAL bytes before After FPI before After
Unchanged 656,606,698 99,620,736 189 187
Sparse 639,243,787 95,762,516 190 184
All change 629,563,129 664,663,497 189 189
Reset 608,240,466 99,695,128 188 187

This reduces row versions/WAL for unchanged, sparse and reset workloads—not statement count. Conflict locking and sequence advancement can remain. All-change showed no benefit and had higher measured WAL; no universal speedup is claimed. Server execution/WAL/buffer statistics were captured before fixture teardown, with unchanged stats_reset, dealloc=0 and no cluster-wide reset. Intervals with intervening checkpoints were rejected rather than presented as controlled evidence.

<!-- gh-comment-id:6394306852 --> @HamedSanaei commented on GitHub (Oct 25, 2026): Implemented in https://github.com/MHSanaei/3x-ui/pull/6931 (`perf/global-traffic-heartbeat-6928`). Production fix: `5509c0dd7d3e38ce57db24b3bd6463adc7a6f937`; current head: `70f082a6931b656410028f22f1f00d08b2fff051`, an approved docs-only correction of the model's stale every-push comment. No published history was rewritten. The UPSERT now writes any directional counter difference immediately—including lower values and zero resets—or refreshes an identical row at the inclusive one-hour heartbeat. Explicit NULL branches repair legacy nullable values. New rows still insert immediately; known-local-email filtering, duplicate last-wins behavior, queued writing, one transaction and 200-row batches remain unchanged. The existing GORM clock drives ingestion and persisted freshness checks. Local counters/full-list snapshots stay separate; slim/detail/quota reads retain the inclusive 24-hour rule and existing per-master overlays; downstream forwarding and actual reset/delete cleanup remain intact. Ordinary heartbeat ingestion does not invalidate subscription settings caches. No cache/service, settings/API/schema change or sequence/precedence protocol is introduced. **Liveness tradeoff:** an idle master can expire up to one hour earlier relative to its final unchanged push because freshness writes are coarsened. Active hourly refresh leaves roughly 23 hours of missed-push margin; counter changes are not delayed. Verification passed: - `GOFLAGS=-p=1 make verify` and `GOFLAGS=-p=1 make race`, retaining all packages/tests and race instrumentation; the full gate included 214 frontend test files/2,000 tests, build/Storybook and generated/OpenAPI checks. - SQLite 3.53.4 plus exact `TestGlobalTrafficHeartbeatPostgres` runs on real PostgreSQL 18.6 and 16.15: one top-level PASS each, no skips; actionlint passed. - Real affected-row assertions for heartbeat boundaries, directional changes/resets, legacy NULLs, mixed 405-client batches, duplicates/unknown clients, 48-hour active pushes versus absent-master expiry/recovery, quota/paging/cache effects, queued and genuinely overlapping inline transactions, real reset/delete/`CreateOne` recreation and forwarding. The premature-update assertion failed before the production edit. - Newly built disposable-panel HTTP smoke: repeated 900/800 preserved the side timestamp; local/full snapshots stayed 10/20; 50/60 and 0/0 overwrote the side row immediately; an aged identical row refreshed. - `make node-e2e` passed existing two-panel scenarios and a genuine three-panel forwarding chain with combined usage, lower/reset totals, origin-owned deletion/recreation and offline recovery. Cadence stayed unchanged; waits were 90 seconds. No live-Xray/firewall claim; 48-hour proof uses deterministic DB time. The documentation-only follow-up also passed model-package `golangci-lint` and the six SQLite heartbeat regression cases. It changes no executable code or schema. The same workload ran before/after on both dialects: 6,708 clients, 240 simulated 30-second pushes over two hours, seed/one warmup excluded, unchanged/sparse 1%/all-change/reset-at-tick-120 phases. | Workload | Affected row updates before | After | PG INSERT calls, both | |---|---:|---:|---:| | Unchanged | 1,609,920 | 13,416 | 8,160 | | Sparse 1% | 1,609,920 | 16,096 | 8,160 | | All change | 1,609,920 | 1,609,920 | 8,160 | | Reset halfway | 1,609,920 | 13,416 | 8,160 | Supplemental PostgreSQL 18 comparisons used the identical fixtures in isolated original/changed snapshots, `full_page_writes=on`, 8GB maximum WAL, one-hour checkpoint timeout and an untimed checkpoint before each workload. Timed/requested checkpoint counters did not change inside any measured interval; original 1GB/5-minute settings were restored afterward. No checkpoint requirement/configuration was added to committed tests or production. | Workload | WAL bytes before | After | FPI before | After | |---|---:|---:|---:|---:| | Unchanged | 656,606,698 | 99,620,736 | 189 | 187 | | Sparse | 639,243,787 | 95,762,516 | 190 | 184 | | All change | 629,563,129 | 664,663,497 | 189 | 189 | | Reset | 608,240,466 | 99,695,128 | 188 | 187 | This reduces row versions/WAL for unchanged, sparse and reset workloads—not statement count. Conflict locking and sequence advancement can remain. All-change showed no benefit and had higher measured WAL; no universal speedup is claimed. Server execution/WAL/buffer statistics were captured before fixture teardown, with unchanged `stats_reset`, `dealloc=0` and no cluster-wide reset. Intervals with intervening checkpoints were rejected rather than presented as controlled evidence.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4587
No description provided.