akasamq / akasa

A high performance, low latency and high extendable MQTT server(broker) in Rust
MIT License
125 stars 9 forks source link

replace dashmap #8

Closed Fiekers closed 7 months ago

TheWaWaR commented 8 months ago

What's the benefit of replacing DashMap with RwLock<HashMap>>? Since it's is easy to use, I can't see reason to replace it.

And, DashMap is more performant than RwLock<HashMap>> in those scenarios, since DashMap can lock only partial of the map.

Fiekers commented 7 months ago

more than one hashmap