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 crud storage metrics #362

Open
ArtDu opened this issue Jun 5, 2023 · 0 comments
Open

Add crud storage metrics #362

ArtDu opened this issue Jun 5, 2023 · 0 comments
Labels
3sp customer feature A new functionality

Comments

@ArtDu
Copy link
Contributor

ArtDu commented Jun 5, 2023

We have a problem finding queries that parse a lot of tuples on storage.

  • It could be a problem if query is too long (netbox timeout raise error and router will get nothing if batch_size huge or not certain)
  • Or there a lot of tuples are looked up on storage, but return a few on router

Reproducer with netbox timeout:

  1. Create space with non unique index (bad_index)
  2. Insert ~1_000_000 tuples with the same field value (bad_value) for non unique index (bad_index)
  3. Start fiber with requests by pk
  4. Run request with condition where bad_index key == bad_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3sp customer feature A new functionality
Projects
None yet
Development

No branches or pull requests

5 participants