-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: improve performance mongodb and redis #288
Conversation
Codecov Report
@@ Coverage Diff @@
## master #288 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 75 75
Lines 2591 2539 -52
Branches 439 434 -5
=========================================
- Hits 2591 2539 -52
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chrisleekr for this nice improvements 🏆
I tested this pull request and I only found one issue.
Description
Related Issue
#262
Motivation and Context
Since the bot was showing performance issues in Raspberry Pi, I started to look at how to improve the performance.
By disabling AOF in Redis and write concern in MongoDB(risky but worth), it starts showing lower CPU usage.
How Has This Been Tested?
Screenshots (if appropriate):