Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scenario(s) for object search #90

Closed
cthulhu-rider opened this issue Jul 15, 2024 · 1 comment
Closed

Add scenario(s) for object search #90

cthulhu-rider opened this issue Jul 15, 2024 · 1 comment
Assignees
Labels
feature Completely new functionality I2 Regular impact S4 Routine U3 Regular
Milestone

Comments

@cthulhu-rider
Copy link

cthulhu-rider commented Jul 15, 2024

there are no scenarios to test object search. It is proposed to add ones. To start, actions from the mentioned node optimization may be used:

  1. (preset) create 1 container
  2. (preset) place N objects into it
  3. send Q empty (*) search queries

@cthulhu-rider cthulhu-rider added the feature Completely new functionality label Jul 15, 2024
@carpawell carpawell self-assigned this Jul 15, 2024
@roman-khimov roman-khimov added U3 Regular S4 Routine I2 Regular impact labels Jul 16, 2024
@roman-khimov roman-khimov added this to the v0.2.0 milestone Jul 16, 2024
@EESergey
Copy link

Here's an example of how it could work:
xk6-neofs run grpc.js -e GRPC_ENDPOINTS=host1,host2 -e SEARCHERS=3 -e ITERATIONS=100 -e PREGEN_JSON=file.json

What results do we need to get:
data.metrics.neofs_obj_search_total.values.rate
data.metrics.neofs_obj_search_duration.values.avg
data.metrics.neofs_obj_search_duration.values.p(95)

carpawell added a commit that referenced this issue Jul 18, 2024
It does what it claims, however, it may be adjusted to real requirements in the
future. Controlled by a number of iterations and number of virtual users.
Searches for objects with `test=test` attributes. Closes #90.

Run example:
```
▶ ./xk6-neofs run -e i=200 -e vu=1 -e cid=FB6UeNbx65iHuNKNbGsb2xHxooU7kXangaUxv9P6h9uW -e GRPC_ENDPOINT=s01.neofs.devenv:8080 scenarios/grpc_search.js
```

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Jul 18, 2024
It does what it claims, however, it may be adjusted to real requirements in the
future. Controlled by a number of iterations and number of virtual users.
Searches for objects with `test=test` attributes. Closes #90.

Run example:
```
▶ ./xk6-neofs run -e i=200 -e vu=1 -e cid=FB6UeNbx65iHuNKNbGsb2xHxooU7kXangaUxv9P6h9uW -e GRPC_ENDPOINT=s01.neofs.devenv:8080 scenarios/grpc_search.js
```

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Jul 25, 2024
It does what it claims, however, it may be adjusted to real requirements in the
future. Controlled by a number of iterations and number of virtual users.
Searches for objects with `test=test` attributes. Closes #90.

Run example:
```
▶ ./xk6-neofs run -e i=200 -e vu=1 -e cid=FB6UeNbx65iHuNKNbGsb2xHxooU7kXangaUxv9P6h9uW -e GRPC_ENDPOINT=s01.neofs.devenv:8080 scenarios/grpc_search.js
```

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Aug 6, 2024
It does what it claims, however, it may be adjusted to real requirements in the
future. Controlled by a number of iterations and number of virtual users.
Searches for objects with `test=test` attributes. Closes #90.

Run example:
```
▶ ./xk6-neofs run -e i=200 -e vu=1 -e cid=FB6UeNbx65iHuNKNbGsb2xHxooU7kXangaUxv9P6h9uW -e GRPC_ENDPOINT=s01.neofs.devenv:8080 scenarios/grpc_search.js
```

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Aug 6, 2024
It does what it claims, however, it may be adjusted to real requirements in the
future. Controlled by a number of iterations and number of virtual users.
Searches for objects with `test=test` attributes. Closes #90.

Run example:
```
▶ ./xk6-neofs run -e i=200 -e vu=1 -e cid=FB6UeNbx65iHuNKNbGsb2xHxooU7kXangaUxv9P6h9uW -e GRPC_ENDPOINT=s01.neofs.devenv:8080 scenarios/grpc_search.js
```

Signed-off-by: Pavel Karpy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Completely new functionality I2 Regular impact S4 Routine U3 Regular
Projects
None yet
Development

No branches or pull requests

4 participants