mitdbg / treeline

An update-in-place key-value store for modern storage.
MIT License
132 stars 18 forks source link

Add custom inserts argument to run_custom #64

Closed geoffxy closed 2 years ago

geoffxy commented 2 years ago

I updated YCSBR to work with custom insert traces to help support our insert forecasting work. The intended usage is as follows:

  1. Set the insert distribution type as "custom" in the workload config and specify a unique name:
    
    # ...

...



2. In `run_custom`, specify a map of trace names to text files that contain the keys to insert (e.g.,`--custom_inserts=taxi:path/to/taxi/trace.txt`)

See the corresponding YCSBR change here: https://github.com/mitdbg/ycsbr/commit/63f951d1faf57390b7f0995b642d1ed7a4fae528

cc @andreaskipf @mmarkakis