torrust-tracker
torrust-tracker copied to clipboard
Use dashmap for torrent in memory storage instead of the std hashmap
DashMap should be significantly faster in concurrent reads and writes compared to the std HashMap.
https://github.com/xacrimon/dashmap https://github.com/xacrimon/conc-map-bench
Relates to: https://github.com/torrust/torrust-tracker/issues/566
Hi @WarmBeer if you are going to reimplement this, maybe you could also consider trying to avoid this problem.
Relates to: https://github.com/torrust/torrust-tracker/issues/646