3 ms·
another point to mention here is that you can always partition the keys (as the author points out). however, imho, author errs w.r.t simplicity of usage in java
by signa11 15y ago
another point to mention here is that you can always partition the keys (as the author points out). however, imho, author errs w.r.t simplicity of usage in java vs in erlang. once things are wrapped up in a module, it should be almost similar.
on a side note, ConcurrentHashMap in java also ends up using a hashing scheme to locate the appropriate segment for queries.
another approach to partitioning the keys would be to use a bloom-filter. nodes can periodically exchange their filter-databases either in its entirety or a compressed delta etc.