View Issue Details

IDProjectCategoryView StatusLast Update
0000456Twitter DelitterPerformancepublic2020-02-10 08:03
ReporterBootBlock Assigned ToBootBlock  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version1.33 
Target Version1.34Fixed in Version1.34 
Summary0000456: Tie all archive and queue saving to an interval
Description

All archive and queue saving should request a save rather than actually perform the saves. Using the Pulse control (by me!), a call to Save() should call Pulse.Beat() and only after a specific interval should Pulse.TimedOut() be called in-which the saves are actually performed.

This allows archive and queue saving to be called multiple times but the actual saving is only done once, say, a second after the last save call.

TagsI/O

Relationships

related to 0000455 closedBootBlock Re-serialisation of each tweet deletion 

Activities

BootBlock

2020-02-07 18:50

administrator   ~0000184

Batched saves are now in. The default is 2000 (milliseconds, equating to two seconds), meaning regardless of how many Queue and Tweet Archive saves are requested*, the actual saving I/O is limited to once per two seconds.

  • Saves are now requested and not performed by calling code. Because saves are done through an "executive/supervisor", there are two little indicators within the status bar of the main form to show that there are save(s) pending. In the included screenshot, the first icon is the main tweet archive, and the second is the deletion queue.
TD-PendingSaves1.png (2,306 bytes)   
TD-PendingSaves1.png (2,306 bytes)   

BootBlock

2020-02-10 08:03

administrator   ~0000194

Now using mutexes for tracking the saves and pending saves.

Issue History

Date Modified Username Field Change
2020-02-07 17:09 BootBlock New Issue
2020-02-07 17:09 BootBlock Assigned To => BootBlock
2020-02-07 17:09 BootBlock Tag Attached: I/O
2020-02-07 17:09 BootBlock Relationship added related to 0000455
2020-02-07 18:35 BootBlock Status new => assigned
2020-02-07 18:50 BootBlock Note Added: 0000184
2020-02-07 18:50 BootBlock File Added: TD-PendingSaves1.png
2020-02-07 18:54 BootBlock Status assigned => closed
2020-02-07 18:54 BootBlock Resolution open => fixed
2020-02-07 18:54 BootBlock Fixed in Version => 1.34
2020-02-10 08:03 BootBlock Note Added: 0000194