Off-Heap Caching and Working with Shared Memory
summary
Covers techniques for caching data outside the Java heap and using shared memory to enable inter-process access. Describes approaches and technologies for off-heap caches and shared-memory communication in Java-based systems, with practical examples and implementation considerations. Focuses on reducing GC pressure and enabling multiple JVMs to share cached data.
AI-written summary · about
chapters (29)
- 0:00Introduction to caching
- 2:52Java heap problems
- 5:42Off-heap data storage
- 9:19Direct ByteBuffer limits
- 10:26Memory-mapped files
- 12:23Shared memory via syscalls
- 14:33Memory snapshot issues
- 17:08Disk synchronization
- 18:15Shared memory and persistence
- 19:19Linux fork mechanism
- 21:11What is shared memory
- 23:00Shared memory in Java
- 24:06MapBuffer workarounds
- 27:27Segmented memory allocation
- 28:10High-performance server design
- 30:40Image cache structure
- 33:54Logging issues and fixes
- 35:02Performance testing
- 37:02Segment-based algorithms
- 40:18Storing hot data
- 41:22Data volume and updates
- 42:56Why Java for low-level tasks
- 44:00Platform team role
- 45:08Testing and fault tolerance
- 45:52Distributed cache plans
- 46:56Protocols and compatibility
- 48:05Terracotta comparison
- 50:37Development and rollout time
- 51:24Scaling and fault tolerance
related talks
46mOn-heap cache vs Off-heap cache w Javie
56mOff-heap Instead of Three JEPs
13mSay Goodbye to Off-heap Caches! On-heap Caches Using Memory-Mapped I/O
01h 01mNative Code, Off-Heap Data and Java
49mWhen a Java Programmer Meets C
45mCaching in Applications Still Matters
44mHow to speed up your application using JCache
01h 01mWorking with Memory Outside the Java Heap: Is There a Future for ByteBuffer(s)?
