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

Potential performance inconsistency #35

Open
ashtonian opened this issue Aug 22, 2022 · 3 comments
Open

Potential performance inconsistency #35

ashtonian opened this issue Aug 22, 2022 · 3 comments

Comments

@ashtonian
Copy link
Contributor

Hey guys,

Just rolled that time series PR into prod so, its working and seems to be working well for the most part. We are doing around ~300ops/s. It seems that some of the operations are not consistent time though. Any suggestions on profiling this further?

image

image

@chenyang8094
Copy link
Collaborator

You mean the 120 ms latency caused by exhgetallwithver ?

@ashtonian
Copy link
Contributor Author

yea focusing on reads. So we are writing (to hashmaps via tairhash) across the cluster at about 240ops/s. We have a couple of apps doing very light reads, and then user driven traffic makes up the rest. I think most exhgetallwithver calls are <1ms and I think its a bit weird that sometimes its >10ms and occasionally >100ms.

@chenyang8094
Copy link
Collaborator

Do you think all exhgetallwithver is accessing the same key? Maybe some tairhash is very big (bigkey) and exhgetallwithver is very slow. exhgetallwithver is an O(n) complexity command.

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

No branches or pull requests

2 participants