www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - shareded-map v1.0.0

reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
Shredded map v1.0.0 is out! Simple scalable concurrent hash map 
based on built-in D hash maps. It's simply shared by key.

License is Boost v1.

--
Dmitry Olshansky

https://sponsr.ru/glow
Jun 26 2023
parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash map 
 based on built-in D hash maps. It's simply shared by key.

 License is Boost v1.

 --
 Dmitry Olshansky

 https://sponsr.ru/glow
The link: https://github.com/DmitryOlshansky/sharded-map
Jun 26 2023
next sibling parent reply Sergey <kornburn yandex.ru> writes:
On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash 
 map based on built-in D hash maps. It's simply shared by key.

 License is Boost v1.

 --
 Dmitry Olshansky

 https://sponsr.ru/glow
The link: https://github.com/DmitryOlshansky/sharded-map
Concurrent data structures are hard. Any plans to increase number of methods so that the solution will be comparable with more mature options like https://docs.rs/dashmap/5.3.4/dashmap/struct.DashMap.html https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
Jun 26 2023
parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On Monday, 26 June 2023 at 09:45:25 UTC, Sergey wrote:
 On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky 
 wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash 
 map based on built-in D hash maps. It's simply shared by key.

 License is Boost v1.

 --
 Dmitry Olshansky

 https://sponsr.ru/glow
The link: https://github.com/DmitryOlshansky/sharded-map
Concurrent data structures are hard. Any plans to increase number of methods so that the solution will be comparable with more mature options like https://docs.rs/dashmap/5.3.4/dashmap/struct.DashMap.html https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
That's the plan, but the added goals is to keep its implementation simple. -- Dmitry Olshansky
Jun 26 2023
parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On Monday, 26 June 2023 at 10:31:48 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 09:45:25 UTC, Sergey wrote:
 On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky 
 wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky 
 wrote:
 [...]
The link: https://github.com/DmitryOlshansky/sharded-map
Concurrent data structures are hard. Any plans to increase number of methods so that the solution will be comparable with more mature options like https://docs.rs/dashmap/5.3.4/dashmap/struct.DashMap.html https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
That's the plan, but the added goals is to keep its implementation simple. -- Dmitry Olshansky
Now with length and foreach! -- Dmitry Olshansky
Jun 26 2023
prev sibling next sibling parent Vladimir Marchevsky <vladimmi gmail.com> writes:
On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:

 **shareded**-map v1.0.0
 **Shredded** map v1.0.0 is out!
 .../**sharded**-map
...
Jun 26 2023
prev sibling next sibling parent reply a11e99z <black80 bk.ru> writes:
On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash 
 map based on built-in D hash maps. It's simply shared by key.

 Dmitry Olshansky
The link: https://github.com/DmitryOlshansky/sharded-map
.opApply w/o locks?
Jun 27 2023
parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On Tuesday, 27 June 2023 at 07:57:31 UTC, a11e99z wrote:
 On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky 
 wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash 
 map based on built-in D hash maps. It's simply shared by key.

 Dmitry Olshansky
The link: https://github.com/DmitryOlshansky/sharded-map
.opApply w/o locks?
Locking one shard at a time.
Jun 27 2023
prev sibling parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On Monday, 26 June 2023 at 08:50:01 UTC, Dmitry Olshansky wrote:
 On Monday, 26 June 2023 at 08:48:38 UTC, Dmitry Olshansky wrote:
 Shredded map v1.0.0 is out! Simple scalable concurrent hash 
 map based on built-in D hash maps. It's simply shared by key.

 License is Boost v1.

 --
 Dmitry Olshansky

 https://sponsr.ru/glow
The link: https://github.com/DmitryOlshansky/sharded-map
v2.0.0 with multi map is now on. -- Dmitry Olshansky https://olshansky.me
Jun 29 2023