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

core: improve performance #3

Open
maxux opened this issue Dec 23, 2020 · 2 comments
Open

core: improve performance #3

maxux opened this issue Dec 23, 2020 · 2 comments
Assignees

Comments

@maxux
Copy link
Collaborator

maxux commented Dec 23, 2020

There are components written to get quickly a working filesystem, but there are a lot of improvements possible:

  • Profil code to see where bottlenecks are
  • Improve how search are made, for now any lookup are linear search
  • Ensure cache won't loose data
  • Improve code to not crash on backend error
  • Try to reconnect on backend down
  • ...
@maxux maxux self-assigned this Dec 23, 2020
@maxux
Copy link
Collaborator Author

maxux commented Dec 23, 2020

  • Lookup are now using binary search
  • Cache lookup and using hash-prefix

@sasha-astiadi sasha-astiadi added this to the Next milestone Dec 29, 2020
@sasha-astiadi sasha-astiadi changed the title Improve performance Improve 0-DB-FS performance Dec 29, 2020
@maxux maxux changed the title Improve 0-DB-FS performance core: improve performance Jan 11, 2021
@maxux
Copy link
Collaborator Author

maxux commented Jun 2, 2022

Overall performance are increased by around 10% by using unix socket in place of tcp to zdb.

@maxux maxux removed this from the Next milestone Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants