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

perf: Avoids logging INFO for rest-util requests, since it hurts pull query performance #4302

Merged
merged 2 commits into from
Jan 14, 2020

Conversation

AlanConfluent
Copy link
Member

@AlanConfluent AlanConfluent commented Jan 13, 2020

Description

Avoids logging every request to come in at the Jetty level since that hurst pull query performance. Before this change, on my Mac, I was getting 14k qps and with this change, I'm getting 30k.

Fixes #4306

Testing done

Ran benchmarks.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@AlanConfluent AlanConfluent requested a review from a team as a code owner January 13, 2020 23:14
@ghost
Copy link

ghost commented Jan 13, 2020

@confluentinc It looks like @AlanConfluent just signed our Contributor License Agreement. 👍

Always at your service,

clabot

@vinothchandar vinothchandar self-assigned this Jan 13, 2020
@vinothchandar
Copy link
Contributor

@AlanConfluent can we file an issue as well and link it in the PR description.. using Fixes #<issue-num> text..

Copy link
Contributor

@vinothchandar vinothchandar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice job!

config/log4j-rolling.properties Show resolved Hide resolved
@@ -65,3 +65,6 @@ log4j.logger.processing=ERROR, kafka_appender
log4j.additivity.processing=false

log4j.logger.org.reflections=ERROR, main

# To acheive high throughput on pull queries, avoid logging every request from Jetty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo:achieve?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, yes. Will fix.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

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.

Pull Queries: Large part of pull query handling time is spent blocked on logging
2 participants