Summary
Problem: In ForensicsBenchmarker, sequentially sending generated files was not providing us the document accumulation in DB. The approach mentioned in the first part of the figure was implemented to alleviate that. However, with the large number of files in the sender's repository, randomizing them during the sending process was causing the process to hold on to the memory as it tries to reconstruct the session.
Solution: With Sliding Batch Randomization approach, the sender script aims to control the time sequence in the files to be sent. With the large enough batch size and randomizations in between, no more memory issues were hit and reached the intended number of accumulation of records DB compared to fully randomizing the repository.
Description
Below is the diagram of the implemented change: