Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Performance of ShowBlocks: store all blocks and txs in memory #7

Open
ageis opened this issue May 10, 2017 · 0 comments
Open

Performance of ShowBlocks: store all blocks and txs in memory #7

ageis opened this issue May 10, 2017 · 0 comments

Comments

@ageis
Copy link
Contributor

ageis commented May 10, 2017

The SQLite file of 111765 blocks and 585586 transactions is only 258MB, so I think there's a chance we can get by placing the entire blockchain in memory. SQLite also allows you to create and work from an in-memory database, but it would be destroyed when the process is killed.

Other options are to look at stuff like memcached or Redis.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant