Repository navigation
Conversation
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #41 +/- ##
============================================
+ Coverage 91.96% 97.44% +5.48%
- Complexity 159 301 +142
============================================
Files 16 19 +3
Lines 610 1058 +448
Branches 53 107 +54
============================================
+ Hits 561 1031 +470
+ Misses 41 13 -28
- Partials 8 14 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
This PR improves performance based on #37 and #38 findings.
It adds pool of Admin clients that is used for collecting data from Kafka nodes. The original implementation had only one instance of Admin which resulted into very slow collection, especially for cluster with a lot of partitions per topic (wide topics). User can specify
STRIMZI_ADMIN_CLIENT_POOL_SIZEto define pool size (default is 4).The other fix is for scrape part where we now pre-render data collected from Kafka and serve them when HTTP request comes. This means that when there are multiple http requests ber collection cycle, Sova will serve pre-rendered (cached) data from latest successful collection cycle instead of doing the render everytime when new request arrives. It should improve perf for clusters where cycles are longer than Prometheus scrape interval.
The bellow table shows average collection times (10 colletion cycles per scenario)
Checklist
Please go through this checklist and make sure all applicable tasks have been done