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

Allow mounting 2 separate persistent volumes for dataDir and dataLogDir #587

Open
rodolphogarrido opened this issue Dec 15, 2023 · 0 comments

Comments

@rodolphogarrido
Copy link

Description

Proposal for allowing mounting 2 separate persistent volumes for dataDir and dataLogDir.

Importance

As mentioned in Zookeeper oficial doc:

Be careful where you put the transaction log. A dedicated transaction log device is key to consistent good performance. Putting the log on a busy device will adversely affect performance

Having a dedicated log device has a large impact on throughput and stable latencies. It is highly recommended to dedicate a log device and set dataLogDir to point to a directory on that device, and then make sure to point dataDir to a directory not residing on that device.

We could benefits in latency by separating these two directories.

Suggestions for an improvement

Allow mounting 2 separate persistent volumes for dataDir and dataLogDir.

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

1 participant