[#51] Add constant arrival rate (car) scenarios for grpc and s3 #51

Merged
fyrchik merged 1 commits from abereziny/xk6-frostfs:feature-add-car-scenarios into master 2023-04-14 09:00:39 +00:00
Collaborator

Added grpc_car.js and s3_car.js for constant arrival rate load tests

Signed-off-by: Andrey Berezin a.berezin@yadro.com

Added grpc_car.js and s3_car.js for constant arrival rate load tests Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
abereziny requested review from storage-core-committers 2023-04-13 15:45:17 +00:00
abereziny requested review from storage-core-developers 2023-04-13 15:45:17 +00:00
abereziny requested review from storage-services-committers 2023-04-13 15:45:17 +00:00
abereziny requested review from storage-services-developers 2023-04-13 15:45:17 +00:00
abereziny force-pushed feature-add-car-scenarios from 6d4b5a928a to 5c91aa3930 2023-04-13 15:45:57 +00:00 Compare
abereziny changed title from Add constant arrival rate (car) scenarios for grpc and s3 to [#51] Add constant arrival rate (car) scenarios for grpc and s3 2023-04-13 15:46:15 +00:00
acid-ant reviewed 2023-04-14 06:28:39 +00:00
@ -0,0 +196,4 @@
obj_registry.deleteObject(obj.id);
}
export function uuidv4() {
Collaborator

Is it possible to use uuidv4 from here import { uuidv4 } from './libs/k6-utils-1.4.0.js';.
See #50 for details.

Is it possible to use uuidv4 from here `import { uuidv4 } from './libs/k6-utils-1.4.0.js';`. See #50 for details.
Poster
Collaborator

Done. Like that?

Done. Like that?
acid-ant marked this conversation as resolved
abereziny force-pushed feature-add-car-scenarios from 5c91aa3930 to 9eca30594e 2023-04-14 08:04:02 +00:00 Compare
abereziny force-pushed feature-add-car-scenarios from 9eca30594e to 8109df7de7 2023-04-14 08:05:34 +00:00 Compare
alexvanin approved these changes 2023-04-14 08:14:48 +00:00
dkirillov reviewed 2023-04-14 08:19:39 +00:00
@ -0,0 +11,4 @@
parseEnv();
const obj_list = new SharedArray('obj_list', function () {
return JSON.parse(open(__ENV.PREGEN_JSON)).objects;
Collaborator

Maybe we can move JSON.parse(open(__ENV.PREGEN_JSON)) to separate variable?

Maybe we can move `JSON.parse(open(__ENV.PREGEN_JSON))` to separate variable?
Poster
Collaborator

Good point, it should be done across all scenarios. IMO in scope of another PR.

Good point, it should be done across all scenarios. IMO in scope of another PR.
dkirillov approved these changes 2023-04-14 08:20:16 +00:00
dkirillov left a comment
Collaborator

LGTM

LGTM
fyrchik approved these changes 2023-04-14 09:00:26 +00:00
fyrchik merged commit 8109df7de7 into master 2023-04-14 09:00:39 +00:00
acid-ant approved these changes 2023-04-14 09:00:41 +00:00
realloc requested review from storage-core-committers 2023-04-14 09:01:47 +00:00
realloc requested review from storage-services-committers 2023-04-14 09:01:47 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-services-committers
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#51
There is no content yet.