Skip to content

create WMH only once and broadcast#194

Merged
smacker merged 1 commit intosrc-d:masterfrom
smacker:broadcast_wmh
Feb 7, 2019
Merged

create WMH only once and broadcast#194
smacker merged 1 commit intosrc-d:masterfrom
smacker:broadcast_wmh

Conversation

@smacker
Copy link
Copy Markdown
Contributor

@smacker smacker commented Feb 7, 2019

An instance of whm is relatively huge and slow to create
On ~500 middle-size repositories it consumers ~4G of memory

In my tests it causes lots of CPU consumption and currently on my dataset worker just stops responding to heartbeat checks.

Signed-off-by: Maxim Sukharev max@smacker.ru

An instance of whm is relatively huge and slow to create
On ~500 middle-size repositories it consumers ~4G of memory

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@se7entyse7en
Copy link
Copy Markdown

I never used broadcast, it's really interesting. 👍 LGTM.

@smacker smacker merged commit 5b21baa into src-d:master Feb 7, 2019
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