-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
perf(blooms): Resolve bloom blocks on index gateway and shard by block address #12720
Commits on Apr 22, 2024
-
Add metric that observes time spent resolving blocks
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6cf356a - Browse repository at this point
Copy the full SHA 6cf356aView commit details -
Remove deprecated field from FilterChunkRefsRequest payload
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a4c5b7e - Browse repository at this point
Copy the full SHA a4c5b7eView commit details -
Add Blocks field to FilterChunkRefRequest message
When preset, the bloom gateway should use the given blocks instead of resolving them from the request parameters. Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1042f31 - Browse repository at this point
Copy the full SHA 1042f31View commit details -
Partition filter requests by day on client side
later we want to resolve bloom blocks for a filter single request, and because blocks are built per day, we need to split the original interval into separate days Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 882694e - Browse repository at this point
Copy the full SHA 882694eView commit details -
Reject queries on bloom gw when they span across multiple days
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 533eb09 - Browse repository at this point
Copy the full SHA 533eb09View commit details -
Do not split request by day in bloom gateway
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d511035 - Browse repository at this point
Copy the full SHA d511035View commit details -
Pass down blocks from requests to tasks
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9f98240 - Browse repository at this point
Copy the full SHA 9f98240View commit details -
Add processor test case with providing blocks
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for be1fa4f - Browse repository at this point
Copy the full SHA be1fa4fView commit details -
Resolve blocks and shard by block address on index gateways
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4e6f11d - Browse repository at this point
Copy the full SHA 4e6f11dView commit details -
Add BloomStore as dependency for IndexGateway
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1c0393b - Browse repository at this point
Copy the full SHA 1c0393bView commit details -
Use interval for block resolver
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 43b046d - Browse repository at this point
Copy the full SHA 43b046dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16fe790 - Browse repository at this point
Copy the full SHA 16fe790View commit details -
Test and benchmark for chunk grouping
```console $ benchstat old.txt new.txt goos: linux goarch: amd64 pkg: github.com/grafana/loki/v3/pkg/bloomgateway cpu: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ GroupChunkRefs-8 12.42µ ± 18% 11.43µ ± 3% -8.01% (p=0.000 n=10) │ old.txt │ new.txt │ │ B/op │ B/op vs base │ GroupChunkRefs-8 7.148Ki ± 0% 7.148Ki ± 0% ~ (p=1.000 n=10) ¹ ¹ all samples are equal │ old.txt │ new.txt │ │ allocs/op │ allocs/op vs base │ GroupChunkRefs-8 100.0 ± 0% 100.0 ± 0% ~ (p=1.000 n=10) ¹ ¹ all samples are equal ``` Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b103e27 - Browse repository at this point
Copy the full SHA b103e27View commit details -
Additional test for partitioning request
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 15d69aa - Browse repository at this point
Copy the full SHA 15d69aaView commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ec54d21 - Browse repository at this point
Copy the full SHA ec54d21View commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6971505 - Browse repository at this point
Copy the full SHA 6971505View commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ba56649 - Browse repository at this point
Copy the full SHA ba56649View commit details -
Sort input series before sending to bloom gateway
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fa8b97d - Browse repository at this point
Copy the full SHA fa8b97dView commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8938f97 - Browse repository at this point
Copy the full SHA 8938f97View commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4d70f88 - Browse repository at this point
Copy the full SHA 4d70f88View commit details -
Revert some gateway changes to keep PR minimal
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 529c553 - Browse repository at this point
Copy the full SHA 529c553View commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8f977d3 - Browse repository at this point
Copy the full SHA 8f977d3View commit details -
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 736a77c - Browse repository at this point
Copy the full SHA 736a77cView commit details -
Return unfiltered list if no block are given
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5ae6596 - Browse repository at this point
Copy the full SHA 5ae6596View commit details -
Remove old code path for resolving blocks on bloom gateways
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e53ee29 - Browse repository at this point
Copy the full SHA e53ee29View commit details -
Assume sorted chunk when grouping by fingerprint
Chunk refs are already sorted by their fingerprint when they are read from the TSDB index. Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4724cca - Browse repository at this point
Copy the full SHA 4724ccaView commit details -
Define index gateway service dependencies statically
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b8dd578 - Browse repository at this point
Copy the full SHA b8dd578View commit details
Commits on Apr 23, 2024
-
fixup! Define index gateway service dependencies statically
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a04b558 - Browse repository at this point
Copy the full SHA a04b558View commit details