We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当前节点之间同步TX较慢,当有大量BLOCK需要同步时(如有较多的子链子块),由于同步BLOCK优化,并且BLOCK及TX在同一个通道,同一个线程在同步,所以在同步BLOCK时,TX会暂停,等BLOCK同步完后,再同步TX。 当前测试,如果只有较少的BLOCK同步时,TPS大概在1200左右,如果有较多BLOCK同步时,TPS会降到几十到几百。
The text was updated successfully, but these errors were encountered:
第一阶段的优化采用重叠IO方式来实现BLOCK和TX同时同步(当前是在同步BLOCK时,不能同步TX),同时将较验与同步分离,提高较验并行度。 第二阶段的优化采用BLOCK和TX的TCP连接分离方式,使用TX同步可以与BLOCK完全同时同步。 第三阶段可以考虑采用多TCP连接方式,提高BLOCK和TX同步效率。
Sorry, something went wrong.
cchanm
No branches or pull requests
当前节点之间同步TX较慢,当有大量BLOCK需要同步时(如有较多的子链子块),由于同步BLOCK优化,并且BLOCK及TX在同一个通道,同一个线程在同步,所以在同步BLOCK时,TX会暂停,等BLOCK同步完后,再同步TX。
当前测试,如果只有较少的BLOCK同步时,TPS大概在1200左右,如果有较多BLOCK同步时,TPS会降到几十到几百。
The text was updated successfully, but these errors were encountered: