You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: high-water-mark-proposal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ No more remembering to adjust `datefilterminutes` after downtime. System goes do
30
30
31
31
### 2. Eliminates the per-record hash lookup
32
32
33
-
This is the biggest performance win. Currently every record in the feed hits the DB for a hash check (`lib.php:217-222`). That's a `SELECT` query per record returned by the rolling window -- which could be hundreds or thousands depending on the window size and activity. The high-water mark replaces all of them with a single config read at the start of each run.
33
+
This is the biggest performance win. Currently every record in the feed hits the DB for a hash check (`lib.php:217-222`). That's a `SELECT` query per record returned by the rolling window -- which could be hundreds or thousands depending on the window size and activity. The high-water mark replaces all of them with a single config read at the start of each run and a config write at the end.
0 commit comments