quorum icon indicating copy to clipboard operation
quorum copied to clipboard

Storage optimization: Quorum 1.1.0 vs 2.0.1

Open teambc123 opened this issue 8 years ago • 2 comments

System information

Geth version: geth version Geth Version: 1.7.2-stable Git Commit: ee498061b5a74bf1f3290139a53840345fa038cb Quorum Version: 2.0.1 Architecture: amd64 Network Id: 1 Go Version: go1.7.3

Expected behaviour

Storage expected to be 1.5 GB

Actual behaviour

Storage : 150 MB

Steps to reproduce the behaviour

deployed the project in Quorum 1.1.0 and then 2.0.1

Backtrace

Hi, We have created our project using quorum 1.1.0. From then till now we have processed 15Million records and it is occupied 150+GB space. Now we are deployed the same project using quorum 2.0.1 but there will be a huge difference in storage place.

Could you please let me know wether there was storage optimization is introduced after 1.1.0 and give some reference.

[backtrace]

teambc123 avatar May 11 '18 15:05 teambc123

@subhasis-dgsl in Quorum 2.x, we removed support for QuorumChain. QuorumChain generated blocks continuously whereas raft only generates blocks when transactions are present.

jpmsam avatar May 14 '18 14:05 jpmsam

Hi jpmsam,

We are using Raft consensus in Quorum1.x . Please find below script for raft-init: geth --datadir qdata/dd2 --rpccorsdomain "*" --rpcport 22001 --port 23001 --raftport 21001 --raft --rpc --rpcaddr 0.0.0.0 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum console

Can you please advise?

teambc123 avatar May 15 '18 05:05 teambc123