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

Make peers persistent #7

Open
msolefonte opened this issue Mar 22, 2019 · 1 comment
Open

Make peers persistent #7

msolefonte opened this issue Mar 22, 2019 · 1 comment

Comments

@msolefonte
Copy link

To prevent peers from losing their data after a failure or restart, I strongly recommend to add persistence in them by storing the data under /var/hyperlegder/production (blockchain) and under /opt/couchdb/data (world state) in EBS volumes.

Making Wold State persistent too would allow organizations to have secret transactions without involving the blockchain.

I do not know how much storage should be required in EBS (perhaps 200GB for each one, as with Kafka), but I would recommend to set that as variables in env.sh and let the user set them.

As I said in another issues, this is simple to do, I can send the PR if this issue is approved, but it has to be reviewed by another one.

@msolefonte
Copy link
Author

Pull Request #12 has been created

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