-
Notifications
You must be signed in to change notification settings - Fork 454
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
Improve M3DB session performance part 1: Pool goroutines in host queues #985
Conversation
glide.yaml
Outdated
@@ -220,4 +220,3 @@ testImport: | |||
version: b433bbd6d743c1854040b39062a3916ed5f78fe8 | |||
|
|||
- package: github.com/leanovate/gopter | |||
version: f0356731348c8fffa27bab27c37ec8be5b0662c8 |
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.
pin to a version here
src/dbnode/client/host_queue.go
Outdated
|
||
workerPoolOpts := xsync.NewPooledWorkerPoolOptions(). | ||
SetGrowOnDemand(true). | ||
SetKillWorkerProbability(0.01). |
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.
nit: use a const for this
Codecov Report
@@ Coverage Diff @@
## master #985 +/- ##
==========================================
- Coverage 77.86% 77.81% -0.06%
==========================================
Files 411 411
Lines 34469 34490 +21
==========================================
- Hits 26839 26838 -1
- Misses 5766 5782 +16
- Partials 1864 1870 +6
Continue to review full report at Codecov.
|
glide.lock
Outdated
@@ -600,8 +613,6 @@ imports: | |||
- codes | |||
- name: gopkg.in/yaml.v2 | |||
version: 5420a8b6744d3b0345ab293f6fcba19c978f1183 | |||
repo: https://github.com/go-yaml/yaml.git |
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.
retain this (add in .yaml if you have to), gopkg.in is a shit show and breaks randomly
- name: gopkg.in/go-playground/validator.v9 | ||
version: a021b2ec9a8a8bb970f3f15bc42617cb520e8a64 | ||
repo: https://github.com/go-playground/validator.git |
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.
here too
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.
still missing?
glide.lock
Outdated
imports: | ||
- name: "" |
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.
is glide just phoning it in now? no name?
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.
LGTM
ed3b6a9
to
1b13b70
Compare
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.
LGTM
No description provided.