Allow to pass custom gRPC chunk size for object put #79
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/xk6-frostfs#79
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/xk6-frostfs:feat/put-chunk-size"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates TrueCloudLab/frostfs-node#77
Also removed buf size variable. Now we use constant for get requests. For put requests default value used if not chunk size provided. If chunk size provided, then it will be used as buf size.
f8cfc0710c
to65043620b5
65043620b5
to896749c568
896749c568
toc5e7a41bfd
Allow to pass custom gRPC chunk size for object putto WIP: Allow to pass custom gRPC chunk size for object put@ -130,3 +130,3 @@
const { payload, hash } = generator.genPayload(registry_enabled);
const resp = grpc_client.put(container, headers, payload);
const resp = grpc_client.put(container, headers, payload, __ENV.GRPC_CHUNK_SIZE ? parseInt(__ENV.GRPC_CHUNK_SIZE) : 0);
Can we move it to the init stage? Otherwise we are parsing this on each
PUT
.done
c5e7a41bfd
to4ba50f65e7
4ba50f65e7
tod1bbd11fd4
d1bbd11fd4
to3ef8cd8322
WIP: Allow to pass custom gRPC chunk size for object putto Allow to pass custom gRPC chunk size for object put@ -67,6 +67,7 @@ if (write_rate > 0) {
gracefulStop: '5s',
};
}
const write_grpc_chunk_size = 1024 * parseInt(__ENV.GRPC_CHUNK_SIZE || '0')
It is related to write, maybe put it close to other declarations, before the
if
?This is already next to the other
write
consts.8631939162
tob4f2954034
b4f2954034
to7ec6a4287d
7ec6a4287d
tof633f9a64a