Hi all,I am looking for the solution for a good concurrent hash table which might have quite heavy read-write conflicts. Also the hash table is losslessness which means it needs a link list to resolve collision. I came across many blogs and web sites. I saw lots of people published their solutions and showed the good performance on their benchmarks. Could someone tell me where to find those benchmarks in order to have a fair comparison among different solutions?Thanks in advance.
On Aug 6, 2012 9:14 AM, "sunqxj" <sun...@gmail.com> wrote:
>
> Hi all,
>
> I am looking for the solution for a good concurrent hash table which might have quite heavy read-write conflicts. Also the hash table is losslessness which means it needs a link list to resolve collision. I came across many blogs and web sites. I saw lots of people published their solutions and showed the good performance on their benchmarks. Could someone tell me where to find those benchmarks in order to have a fair comparison among different solutions?
Use your application. That's the best benchmark.
Hi Nicola,
Thanks for the tips. I am examing all the options here. I favor the lockless design and as for the change from link list to vector, thanks for the suggestion. It is a worthy change. As for my application, the key value would be the index of the hash table and the value would be a pointer to a data structure. Also, I do not understand the part to prevent readers from scaling linearly on a multi-core architecture. Please bear with my novice. thanks in advance.
Please read the following article:
http://www.1024cores.net/home/lock-free-algorithms/reader-writer-problem
You might also want to read:
Where a distributed rw mutex is presented.
Ciao,
Nicola
Thanks. I finish reading all his posters before I came to this group.
I think some ideas needs practice to understand it thoroughly. thanks for the hint.