warp icon indicating copy to clipboard operation
warp copied to clipboard

get: Add --range-size to have a random but a defined range pattern

Open vadmeste opened this issue 1 year ago • 4 comments

--range-size and --range will create GET requests with random offset but with fixed range

vadmeste avatar Mar 06 '24 10:03 vadmeste

We can discuss during the next week if we should drop this PR or not @klauspost

vadmeste avatar Mar 08 '24 11:03 vadmeste

Lint fix at: https://github.com/minio/warp/pull/303

klauspost avatar Mar 08 '24 12:03 klauspost

is this PR still planned? if not please close.

harshavardhana avatar May 17 '24 20:05 harshavardhana

@vadmeste Reach out if you still need it, and I can adjust it as needed.

klauspost avatar May 19 '24 10:05 klauspost

we have a customer requirement on this can we finalize this ?

harshavardhana avatar Jul 10 '24 18:07 harshavardhana

What is the point of the single object name?

You can use --objects=1 (which will create one per client) or --list-existing... which will just use whatever is there.

klauspost avatar Jul 11 '24 07:07 klauspost

The requirement is that have a bunch of large objects for example and then you can specify a range warp decides to generate list of range requests that randomly hit these objects and provide results, that's all.

harshavardhana avatar Jul 11 '24 08:07 harshavardhana

@harshavardhana Yes. But not sure why the custom name would be needed for that (and it will break in distributed). To me it seems like it should just be removed from this PR.

klauspost avatar Jul 11 '24 09:07 klauspost