In Bocas, when using a memory-backed repository or a cache, most of the memory consumption comes from the stored values, which are opaque byte streams. If we could get those values out of the Java heap we could use that precious managed space for more value-adding objects.
Enter "big memory" support: starting with version 1.0.4, Bocas supports the use of direct buffers as the backing storage of both memory-backed repositories and caches, using off-heap memory to store the repository values. As the memory-backed repositories are used mainly for testing purposes, this feature is most useful in caches.
This support allows for better utilization of the Java heap, reducing the load for the Java garbage collector. However, take your off-heap caches into account when sizing the heap and planning the memory distribution of your machines.
I would also like to announce new resources for the project:
- A new Google+ Page, used for announcements.
- More documentation is being added to the Project Web Site.
- The General Discussion Google Group.
As a side note, version 1.0.5 has just been released and is already in Maven Central.
No comments:
Post a Comment