solana-with-rpc-optimizations/core
behzad nouri 26bf2b7e45
processes pull-request callers only once per unique caller (#13750)
process_pull_requests acquires a write lock on crds table to update
records timestamp for each of the pull-request callers:
https://github.com/solana-labs/solana/blob/3087c9049/core/src/crds_gossip_pull.rs#L287-L300
However, pull-requests overlap a lot in callers and this function ends
up doing a lot of redundant duplicate work.

This commit obtains unique callers before acquiring an exclusive lock on
crds table.
2020-11-22 17:51:14 +00:00
..
benches indexes nodes' contact infos in crds table (#13553) 2020-11-15 16:38:04 +00:00
src processes pull-request callers only once per unique caller (#13750) 2020-11-22 17:51:14 +00:00
tests makes crds fields private (#13703) 2020-11-19 20:57:40 +00:00
.gitignore
Cargo.toml chore: bump lru from 0.6.0 to 0.6.1 2020-11-19 14:28:50 -08:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00