-
My cache use case needs L0 and L1 cache. Does anyone know if lettuce have L0 and L1 cache implementation, respectively ? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
What is a L0 cache in the context of a Redis client? L0/L1/… applies in that terminology to CPUs. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the confusion. Both L0 and L1 cache refer to the client side cache. However, L0 cache resides on the JVM heap and can cache object without serialization directly, while L1 cache have to store serialized bytes. |
Beta Was this translation helpful? Give feedback.
-
Lettuce ships with support for client-side caching, take a look at |
Beta Was this translation helpful? Give feedback.
-
Thanks. Yes, I did check the |
Beta Was this translation helpful? Give feedback.
Lettuce ships with support for client-side caching, take a look at
io.lettuce.core.support.caching.ClientSideCaching
that provides a caching facade and registers invalidation listeners.