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

实现一个Bloom Filter来判断新老地址 #540

Open
AlexiaChen opened this issue May 22, 2020 · 0 comments
Open

实现一个Bloom Filter来判断新老地址 #540

AlexiaChen opened this issue May 22, 2020 · 0 comments
Assignees
Labels
improvement Performance improve performance

Comments

@AlexiaChen
Copy link
Contributor

AlexiaChen commented May 22, 2020

十几亿个的地址也可以在纳秒级判断完成(LevelDB的Key的数量过多会影响查询,所以用布隆过滤器)。这个放在v2.1里完善,之前是RPC暴露fsynctx的参数是临时方案,临时方案是应用层做新老地址判断,但是从Tx上链到Kafka再到ElasticSearch延时大,至少1分钟,比P2P广播慢了不少,需要应用层做重试补尝试机制,但是对于用户来说体验不好。这个要优化下。

@AlexiaChen AlexiaChen added Performance improve performance improvement labels May 22, 2020
@AlexiaChen AlexiaChen self-assigned this May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Performance improve performance
Projects
None yet
Development

No branches or pull requests

1 participant