Hi Mircea and RedHat,
Dmitry, and I are now taking initial steps to code the integration of
OpenHFT SHM as an off-heap ISPN7 DataContainer.
We have mused that a possible approach to this may be to use the symmetry of
ISPN7's existing DefaultDataContainer.java impl and (copy a/o extend) that
existing work into a new
org.infinispan.offheap.OffHeapDefaultDataContainer.java impl.
The key steps would be for us to 100% soundly and 100% completely replace
ConcurrentMap entries = CollectionFactory.makeConcurrentParallelMap(128,
concurrencyLevel);
with
ConcurrentMap entries = entries = new
net.openhft.collections.SharedHashMapBuilder()
.generatedValueType(Boolean.TRUE)
.entrySize(512)
.create(
new
File("/dev/shm/offHeapSharedHashMap.DataContainer"),
Object.class,
InternalCacheEntry.class
);
We are of course very newbie wrt to ISPN7 DataContainer internals. Before
we get into building and testing compelling exercises and hardening the
OffHeapDefaultDataContainer, would you please comment wrt to your view that
this seems like the correct first steps?
https://github.com/Cotton-Ben/infinispan/blob/master/off-heap/src/main/ja...
--
View this message in context:
http://infinispan-developer-list.980875.n3.nabble.com/Learning-ISPN7-Data...
Sent from the Infinispan Developer List mailing list archive at
Nabble.com.