Skip to content

Commit 4ab47f3

Browse files
committed
Mention config write in high-water mark performance comparison
1 parent 275797d commit 4ab47f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

high-water-mark-proposal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ No more remembering to adjust `datefilterminutes` after downtime. System goes do
3030

3131
### 2. Eliminates the per-record hash lookup
3232

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.
3434

3535
### 3. API returns only new records
3636

0 commit comments

Comments
 (0)