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

CPU and Memory overuse when use push and the queue is over 100 or worker over 1k. #58

Merged
merged 13 commits into from Sep 15, 2020

Conversation

chensunny
Copy link
Collaborator

CPU and Memory overuse when use push and the queue is over 100 or worker
over 1k.

Closes: #56
Closes: #57

陈日燊 added 3 commits September 11, 2020 18:14
CPU and Menmory overuse when use push and queue is over 100  or worker
over 1k.

✅ Closes: #56
engine/redis/metrics.go Outdated Show resolved Hide resolved
push/meta.go Outdated Show resolved Hide resolved
@liguangbo
Copy link
Collaborator

trvis的go版本应该升级到1.13。time.Milliseconds 是从1.13开始支持的,或者用Nanoseconds()/1e6 来代替。

@liguangbo liguangbo force-pushed the fix/push-api branch 4 times, most recently from a38e5fb to 10f5d90 Compare September 15, 2020 05:35
server/handlers/metrics.go Outdated Show resolved Hide resolved
Copy link
Member

@git-hulk git-hulk left a comment

Choose a reason for hiding this comment

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

LGTM

@liguangbo liguangbo merged commit 7a4b0dc into master Sep 15, 2020
@git-hulk git-hulk deleted the fix/push-api branch February 28, 2021 11:49
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.

FIX: Prometheus Summery use to much memory FIX: Push CPU overuse
3 participants