Author

Topic: 100,000 transfer of account per second (Read 424 times)

legendary
Activity: 1302
Merit: 1008
Core dev leaves me neg feedback #abuse #political
June 15, 2015, 11:07:01 AM
#2
I guess it's not decentralized then.  what's the point of this?
sr. member
Activity: 266
Merit: 250
June 14, 2015, 10:43:34 PM
#1
In order to provide a scheme of replacing finance platform, it is necessary for encryption currency and intelligent agreement platform to adopting block chain technology with high performance. For realization of higher level of transaction per second than total level of VISA and Mastercard, Bitshares restarts to design from the base course. Through the mechanism of authorized shares, Bitshares network could confirm transaction within one second and the unique limit is the speed of light.
 To pursuing the top performance in this trade, Bitshares uses the experiences learned from LMAX for reference. LMAX exchange could deal with 6 million transactions per second. The key points in this experience are as below:
1.   Save all things into RAM;
2.   Put the core business logic into single thread;
3.   Put encryption algorithm operating(hash and signature) into a single thread;
4.   Divide the validation into state independence validation and state dependence validation;
5.   Use a data model of object oriented.
Through obeying these simple rules, Bitshares realizes the function of 100000 transfer of account per second under the condition of no any obvious optimization works. If further optimization works are available, Bitshares can come to the performance closer to LMAX transaction, that is 6 million times per second.
It should be noticed that the performance of Bitshares depends highly on one of the compatible exchange agreement. If business logic runs on VM of encryption algorithm operation and use hash recognizer to invoke all objects, the performance of the same level could be achieved. The block chain is single thread since born, but the CPU with one core is the shortest and hardest to expand in all kinds of resources. It is ok if the Bicshares is designed to make the single thread run.
Jump to: