Skip to content
New issue

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

存证案例调用返回结果很慢 #5

Open
tinglany opened this issue Apr 13, 2018 · 1 comment
Open

存证案例调用返回结果很慢 #5

tinglany opened this issue Apr 13, 2018 · 1 comment
Labels

Comments

@tinglany
Copy link

我在同网段内网部署了两个fisco-bcos节点,每个8G内存+40G存储,发现证据上链、签名等几个功能执行返回结果平均要23秒,1、是因为要等底层交易共识上链整个过程结束才返回结果 导致的吗?
2、如果是,那么对于实际应用不可能等待2
3秒后才返回结果,生产是否有好的解决方法?
谢谢!

@fisco-dev
Copy link
Contributor

这是演示代码。中间插入了sleep逻辑,实际业务中service只需初始化一次

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

No branches or pull requests

2 participants