-
Notifications
You must be signed in to change notification settings - Fork 4
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
Investigate processEvent() performance #91
Comments
Not sure what is your set up. On my dev machine ubuntu 1604, t2.2xlarge, 8vCPU, 32GB mem, 1M update node events took 3.45s, add node took 3.78s. 10K add/update events took 33ms, 100K add/update events took <350ms |
2.6 GHz Quad-Core Intel Core i7 |
UT, with the fake store, runs much better as shown below on the same machine, which may indicate the redis store issue here.
with change to the real redis store with code change below in distributor UT, and processEvent() shows the perf issue as end to end test.
|
Can you turn on profiling for your test code? |
options to take:
|
in 730, used batch persist to avoid large number of go routines. option 3, will need evaluated with 1) perf improvement 2) reliability for service failure cases. |
after use list/watch, list perf is satisfying for now. |
On my local mac box, with 25k nodes, initial pull processEvent() call took near 4.5 seconds, this seems a bit too long. Did you guys observe the same ?
Seems something worth to take look if not done yet.
The text was updated successfully, but these errors were encountered: