Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented SqlReplay.Batch utility. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KonsN
Copy link
Contributor

@KonsN KonsN commented Nov 6, 2020

Purpose: allow running multiple replays sequentially without manual start in the following use cases:

  • events collection span extended time period
    and
  • event collection session resulted in multiple event files based on time or size.

Prep
The results of each event file processed with "prep" command (i.e., replay(i).txt output files) in this case are considered a batch to execute. All such batches are then need to be organized by (sub)directories and defined in config file that is passed to the batch utility.

Utility:

  1. Validates config file
  2. Sorts batches by the assigned execution order
  3. Executes batches sequentially
  4. For each batch:
  • Create command parameters for each instance based on batch definition
  • Start N replay instances as defined based on batch definition
  • Wait until all replay instances executed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant