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

Improve M3DB session performance part 1: Pool goroutines in host queues #985

Merged
merged 10 commits into from
Sep 29, 2018

Conversation

richardartoul
Copy link
Contributor

No description provided.

glide.yaml Outdated
@@ -220,4 +220,3 @@ testImport:
version: b433bbd6d743c1854040b39062a3916ed5f78fe8

- package: github.com/leanovate/gopter
version: f0356731348c8fffa27bab27c37ec8be5b0662c8
Copy link
Collaborator

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


workerPoolOpts := xsync.NewPooledWorkerPoolOptions().
SetGrowOnDemand(true).
SetKillWorkerProbability(0.01).
Copy link
Collaborator

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
Copy link

codecov bot commented Sep 29, 2018

Codecov Report

Merging #985 into master will decrease coverage by 0.05%.
The diff coverage is 81.08%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#dbnode 81.38% <81.08%> (-0.04%) ⬇️
#m3ninx 75.25% <ø> (ø) ⬆️
#query 64.24% <ø> (-0.13%) ⬇️
#x 84.72% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa253ca...1b13b70. Read the comment docs.

glide.lock Outdated
@@ -600,8 +613,6 @@ imports:
- codes
- name: gopkg.in/yaml.v2
version: 5420a8b6744d3b0345ab293f6fcba19c978f1183
repo: https://github.com/go-yaml/yaml.git
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

here too

Copy link
Collaborator

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: ""
Copy link
Collaborator

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?

prateek
prateek previously approved these changes Sep 29, 2018
Copy link
Collaborator

@prateek prateek left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@prateek prateek left a comment

Choose a reason for hiding this comment

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

LGTM

@richardartoul richardartoul merged commit 6a5564d into master Sep 29, 2018
@robskillington robskillington deleted the ra/m3-sess-perf-improvement branch September 30, 2018 15:54
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.

2 participants