BitShares Forum

Main => General Discussion => Topic started by: mostar on March 27, 2015, 08:23:17 am

Title: Blockchain scalability
Post by: mostar on March 27, 2015, 08:23:17 am
Hello,

I was wonder how scalable is Bitshares blockchain.
It take a few days to my wallet to catch up to the latest block, and there are "only" 2 million blocks.

Hopefully when it become popular there will be trillions of block. Containing tons of transaction and multiple assets order book entries.

I look to me that full client will not be realistic approach for the common user. Over the time online wallet will lead to centralization.
Less and less service providers / computers will be able to handle the size of the blockchanin.

Are the any study of capacity planning regarding this issue?

Thanks
Moster
Title: Re: Blockchain scalability
Post by: JA on March 27, 2015, 08:38:14 am
Hello,

I was wonder how scalable is Bitshares blockchain.
It take a few days to my wallet to catch up to the latest block, and there are "only" 2 million blocks.

Hopefully when it become popular there will be trillions of block. Containing tons of transaction and multiple assets order book entries.

I look to me that full client will not be realistic approach for the common user. Over the time online wallet will lead to centralization.
Less and less service providers / computers will be able to handle the size of the blockchanin.

Are the any study of capacity planning regarding this issue?

Thanks
Moster
Light wallets are alraedy in developement and can be tested by everyone.
for mobile devices and desktop machines

A block is produced every 5 seconds regardless of how many transactions it contains.
Title: Re: Blockchain scalability
Post by: emski on March 27, 2015, 08:42:02 am
A block is produced every 5 seconds regardless of how many transactions it contains.

10 seconds. There is a size limit for a block.
Title: Re: Blockchain scalability
Post by: JA on March 27, 2015, 08:44:46 am
A block is produced every 5 seconds regardless of how many transactions it contains.

10 seconds. There is a size limit for a block.
yea right 10 seconds but the size limit doesn't change the timings.

Title: Re: Blockchain scalability
Post by: Troglodactyl on March 27, 2015, 12:04:29 pm
My understanding is that there's likely room for significant optimization of the sync process also, it just hasn't made it to the top of the priority list yet.

Last time I redownloaded and processed the chain, I think it took about an hour, certainly not days.

BitShares is designed to be much more scalable than other blockchain systems, and was designed with this in mind from the beginning.  Obviously if a blockchain system is to truly compete with the major centralized payment processors, light wallet architecture is essential, since many people can't handle duplicating the processing of the entire world's transactions on their PCs, much less on their phones.

See this also:
http://bytemaster.bitshares.org/article/2015/01/12/Decentralization-Scalability-and-Fault-Tolerance-of-Bitcoin/
Title: Re: Blockchain scalability
Post by: bytemaster on March 27, 2015, 12:42:49 pm
We have a proof-of-concept implementation of bitshares that can reindex 2 million blocks, 1 million accounts, and each block containing 1 transfer  in just 8 seconds while using less than 1 GB of ram.   

I would say that while the current release software is "slow" because it is built on LevelDB, that scalability is not going to be a problem.  You can see the new database code here:  https://github.com/BitShares/bitshares/tree/develop/libraries/db

Upgrading BitShares to use this code is a challenging task, but it is certainly possible.
Title: Re: Blockchain scalability
Post by: xeroc on March 27, 2015, 01:00:49 pm
We have a proof-of-concept implementation of bitshares that can reindex 2 million blocks, 1 million accounts, and each block containing 1 transfer  in just 8 seconds while using less than 1 GB of ram.   
Wait what?
Next bottleneck: internet connection :)
Quote
I would say that while the current release software is "slow" because it is built on LevelDB, that scalability is not going to be a problem.  You can see the new database code here:  https://github.com/BitShares/bitshares/tree/develop/libraries/db

Upgrading BitShares to use this code is a challenging task, but it is certainly possible.
... wow ...
let's get 1.0 ready, have a 10x increase in market cap which opens up the doors for a couple more developers .. +5% +5% +5
Title: Re: Blockchain scalability
Post by: mdj on March 27, 2015, 01:10:36 pm
We have a proof-of-concept implementation of bitshares that can reindex 2 million blocks, 1 million accounts, and each block containing 1 transfer  in just 8 seconds while using less than 1 GB of ram.   

I would say that while the current release software is "slow" because it is built on LevelDB, that scalability is not going to be a problem.  You can see the new database code here:  https://github.com/BitShares/bitshares/tree/develop/libraries/db

Upgrading BitShares to use this code is a challenging task, but it is certainly possible.

That's really impressive! :O
Title: Re: Blockchain scalability
Post by: btswildpig on March 27, 2015, 01:13:53 pm
We have a proof-of-concept implementation of bitshares that can reindex 2 million blocks, 1 million accounts, and each block containing 1 transfer  in just 8 seconds while using less than 1 GB of ram.   

I would say that while the current release software is "slow" because it is built on LevelDB, that scalability is not going to be a problem.  You can see the new database code here:  https://github.com/BitShares/bitshares/tree/develop/libraries/db

Upgrading BitShares to use this code is a challenging task, but it is certainly possible.

wait .... is your computer with high performance ? or a regular computer ?
Title: Re: Blockchain scalability
Post by: bytemaster on March 27, 2015, 02:13:23 pm
We have a proof-of-concept implementation of bitshares that can reindex 2 million blocks, 1 million accounts, and each block containing 1 transfer  in just 8 seconds while using less than 1 GB of ram.   

I would say that while the current release software is "slow" because it is built on LevelDB, that scalability is not going to be a problem.  You can see the new database code here:  https://github.com/BitShares/bitshares/tree/develop/libraries/db

Upgrading BitShares to use this code is a challenging task, but it is certainly possible.

wait .... is your computer with high performance ? or a regular computer ?

iMac 5K