heapothesys icon indicating copy to clipboard operation
heapothesys copied to clipboard

Add PhasedUpdates mode

Open kdnilsen opened this issue 2 years ago • 0 comments

In this mode, transactions never have to wait on updates to shared data base. Instead, a new background thread repeatedly rebuilds the data bases from change logs, then replaces the data base using synchronized to assure atomic and coherent replacement. At the start of each transaction, customer threads use synchronized to obtain the most current copy of the data bases. This mode allows simulation of very high allocation rates with very minimal interference from contention locks between reader and writer threads.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

kdnilsen avatar Aug 10 '22 15:08 kdnilsen