Rangsh commented on PR #12173: URL: https://github.com/apache/seatunnel/pull/12173#issuecomment-7088980309
@SEZ9 — short follow-up per [#7085760981](https://github.com/apache/seatunnel/pull/12173#issuecomment-7085760981). Full run table and paired Java 17 numbers remain in [the long repost](https://github.com/apache/seatunnel/pull/12173#issuecomment-7071766094). HEAD is still `05bf5510ac098079916badf0110130c1ada1c99f`; no new source or sampling-cadence changes in this reply. --- ## Readout (full text — in case the prior comment was truncated) **Readout for B vs C isolation** - **`runningJobGrowth` @ 1000:** vs each paired **A**, both **B** and **C** improve **both Score and CV** (B-run: 128.552→82.667 us/op, 25.05%→11.28%; C-run: 124.547→102.125 us/op, 28.62%→16.99%). **Our reading:** at this count the fixture dominates; the production metrics path is not the dominant factor in this measured hot path. - **`runningJobGrowth` @ 0:** vs each paired **A**, both **B** and **C** improve CV but **Score is worse than A** (B-run: 151.464→162.294 us/op; C-run: 148.405→198.766 us/op). **Our reading:** score direction is **count-dependent**; I am not claiming a uniform win across both `initialStoredJobCount` values. - **`completedJobHistoryGrowth` @ 1000:** vs each paired **A**, both **B** and **C** show **higher Score and higher CV** than **A** (B-run: A 1,147.68 us/op @ 11.58% CV → B 1,520.97 @ 36.29%; C-run: A 1,205.56 @ 7.15% → C 1,406.53 @ 33.35%). **Our reading:** the same regression pattern appears in **B (fixture-only)**, so I do not attribute it to the **C-only** `JobHistoryService` delta. These Score/CV rows do not by themselves prove durability coverage or settle #12063’s variance goal at this parameter. *(Lower Score is better for us/op; lower CV is generally preferable for stability.)* --- ## Rows you asked to interpret (Java 17, paired baselines) | Row | Paired comparison | **Our reading** | |-----|-------------------|-----------------| | `runningJobGrowth` @ 0 | C **198.766** vs A (C-run) **148.405** | Candidate **Score is above** paired A → slower in this run. Consistent with the @0 bullet above (CV improved but Score regressed). **B** at the same parameter vs A (B-run): **162.294** vs **151.464** (same direction on Score). | | `completedJobHistoryGrowth` @ 1000 | B **1,520.97** / **36.29%** vs A **1,147.68** / **11.58%**; C **1,406.53** / **33.35%** vs A **1,205.56** / **7.15%** | Both arms regress vs their paired **A** on Score and CV; **B already regresses**, so this is not evidence that the production metrics change alone caused the @1000 CV spike. | --- ## Earlier review points on `05bf5510ac09` — status (please correct me if you read any item differently) **1. Durability sample at trial tear-down / `FileMapStore.store` boolean** **I agree with your technical read:** because `FileMapStore.store` discards the boolean and the measured put does not fail, a failed WAL append is **only detectable at the last sampled iteration** (trial tear-down sampling path). **This PR therefore keeps that as a documented limitation** and does **not** claim measured-window WAL failure detection. I am not re-plumbing the fixture to propagate the boolean or fail the measured put in this PR (that would change timed-window semantics and B/C isolation). I can open a **separate follow-up** for explicit per-put WAL failure propagation if you want it tracked outside this PR. **The Score/CV table does not validate this item.** **2. Sample coverage (last key of last batch)** **Disposition:** **not changing to full-batch `loadAll` in this PR** (OOM / cost trade-off from earlier discussion). Wider coverage is tracked in **#12266**; this PR keeps representative-key sampling with the limit stated in Javadoc. **3. `docs/en|zh/engines/zeta/benchmark.md`** **Disposition:** current diff has **no** `docs/**` changes; methodology remains in benchmark **Javadoc**. **I am not mirroring it in this PR** because **@nzw921rx** (2025-09-10) asked not to add growth-scenario prose on this PR (“The benchmark testing documentation has been refactored and there is no need to add this scenario to the documentation”). **This is a PR-scope decision, not a claim that the docs item is already handled.** If both reviewers agree, I can add a minimal mirror in a **follow-up PR** after explicit agreement (separate commit; likely needs **@nzw921rx** sign-off). **4. `storeFinishedPipelineMetrics` — one line each (on HEAD `05bf5510ac09`; please correct me if your checkout differs)** - **Non-atomic get/merge/put:** guarded by **`finishedJobMetricsImap.lock(jobId)`** / **`unlock` in `finally`** around get → merge → one TTL **`put`**; null rejected before locking — contract on `JobHistoryService` Javadoc. - **Javadoc wording (“in memory” / rationale vs contract):** no behaviour change in this reply; happy to tighten phrasing in a **small follow-up** if you specify preferred wording. - **`JobHistoryServiceFinishedMetricsTest`:** on this HEAD I re-checked the file (search + read): **no** `computeIfAbsent` reference. Tests assert the **observable contract**: TTL-preserving **`put(…, eq(1440L), MINUTES)`** at `:100-105`, `:121-126`, `:155-160`; **`RejectsNullMetrics`** at `:135-138`; merge + distinct tags at `:112-132`, `:142-162`; **`lock`/`unlock`** at `:107-108` (aligned with the `b137173` / F6 thread and @DanielLeens’ trace). --- No further cadence or source changes unless you request them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
