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

Optimise index checking in API.Get() #150

Closed
dave-tucker opened this issue Jun 9, 2021 · 0 comments · Fixed by #174
Closed

Optimise index checking in API.Get() #150

dave-tucker opened this issue Jun 9, 2021 · 0 comments · Fixed by #174
Labels

Comments

@dave-tucker
Copy link
Collaborator

This was done in #116 for the server side, but API.Get() could also use this.

dave-tucker added a commit to dave-tucker/libovsdb that referenced this issue Jun 21, 2021
This adss a new api to the cache - RowByIndex which will calculate the
index value and then looks up the stored indexes that match. This is
much faster as it doesn't need to iterate across the entire cache.

The Get API has been updated to use this new function

Fixes: ovn-org#150

Signed-off-by: Dave Tucker <[email protected]>
dave-tucker added a commit to dave-tucker/libovsdb that referenced this issue Jun 24, 2021
This adds a new api to the cache - RowByMdoel which will calculate the
will look up by the UUID of the model, or by the matching the model
against the table indexes. This is much faster as it doesn't need to
iterate across the entire cache.

The Get API has been updated to use this new function

Fixes: ovn-org#150

Signed-off-by: Dave Tucker <[email protected]>
dave-tucker added a commit to dave-tucker/libovsdb that referenced this issue Jun 24, 2021
This adds a new api to the cache - RowByMdoel which will calculate the
will look up by the UUID of the model, or by the matching the model
against the table indexes. This is much faster as it doesn't need to
iterate across the entire cache.

The Get API has been updated to use this new function

Fixes: ovn-org#150

Signed-off-by: Dave Tucker <[email protected]>
dave-tucker added a commit to dave-tucker/libovsdb that referenced this issue Jul 1, 2021
This adds a new api to the cache - RowByMdoel which will calculate the
will look up by the UUID of the model, or by the matching the model
against the table indexes. This is much faster as it doesn't need to
iterate across the entire cache.

The Get API has been updated to use this new function

Fixes: ovn-org#150

Signed-off-by: Dave Tucker <[email protected]>
dave-tucker added a commit to dave-tucker/libovsdb that referenced this issue Jul 1, 2021
This adds a new api to the cache - RowByMdoel which will calculate the
will look up by the UUID of the model, or by the matching the model
against the table indexes. This is much faster as it doesn't need to
iterate across the entire cache.

The Get API has been updated to use this new function

Fixes: ovn-org#150

Signed-off-by: Dave Tucker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant