-
1. Re: Put API of Infinispan Not Replacing Record
rvansa Sep 10, 2014 10:38 AM (in response to pranjal.jaju)If you use SingleFileStore and update the entry with values of growing sizes, the underlying data file won't get completely overwritten - the place where the entry was written will be just marked as free and the bigger entry will be placed into different free spot (possibly allocated on the end of the file). Further write with the same or smaller size will overwrite the old released entry.
-
2. Re: Put API of Infinispan Not Replacing Record
pranjal.jaju Sep 11, 2014 11:36 AM (in response to rvansa)Then Is there any alternative for singleFileStore, which can be used to avoid this problem
-
3. Re: Put API of Infinispan Not Replacing Record
wdfink Sep 11, 2014 3:45 PM (in response to pranjal.jaju)Why you care about that? It is an implementation detail.
If you want to have such access maybe a JDBC store can be used.
-
4. Re: Put API of Infinispan Not Replacing Record
rvansa Sep 15, 2014 6:03 AM (in response to pranjal.jaju)You can try LevelDB store, though the performance is quite lower because it solves that kind of stuff.
@Wolf: I don't think that JDBC is a good suggestion, since the user wants to store entries on filesystem and JDBC performance is even some magnitude lower than LevelDB.