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

[0.15] Move label values json aggregation into Java #2064

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

rh-appservices-perf
Copy link
Collaborator

Backport: #1977

Changes proposed

I am proposing to move part of the /labelValues logic from jdbc to Java, especially the json aggregation.

This seems coming with a huge improvement, here some results I obtained:

Starting from empty db

Before
image

After
image

With prod backup and huge response (~100MB)

Before
image

After
image

Open points

  • This PR is still in draft as with this change the filter and multiFilter does not work anymore as we don't have the whole object in the query anymore.. therefore we should think how we can fix that.
  • Fix filter when it is a simple JSON path string
  • Fix ordering by labels As agreed this won't be supported any longer

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@lampajr lampajr merged commit 98e8005 into 0.15 Oct 6, 2024
3 checks passed
@lampajr lampajr deleted the bp-0.15-ec99ac2 branch October 6, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants