Open fyrchik opened 1 year ago
S3 is also easily supported: engine exports all necessary machinery.
Could you please clarify here a bit? Do you mean handling both tree service calls and storage engine calls in "S3-local" case?
Yes. Tree service is just a wrapper over the engine, we can work with pilorama directly. The only difficulty is knowing the tree structure for a bucket, but our bench is simple enough (flat structure, single version).
There is one more benchmark for versioned objects case where we put a loooong chain of versions for an object. Ok. LGTM =)
Sometimes we want to perform benchmark on a filled cluster. Filling it with gRPC is fast, but not enough: we are talking about weeks, not hours. Writing a separate utility for this is a dead-end scenario IMO: it has only 1 use-case, maintenance costs are non-negligible, users need to learn yet another CLI interface (and, of course, inevitable bugs in the implementation).
The proposal is to use implement local client:
engine
fromfrostfs-node
.local.js
scenario.Pros:
frostfs-node
are not suitable for this: they are usually not long/big enough.Cons:
frostfs-node
here is not aestethically pleasing IMO.cc @anikeev-yadro @realloc @carpawell @alexvanin