Java Cache Guide

How we can cache data in Java applications


Problems


Way to cache your data

Embedded cache

Client server cache

Distributed cache

Revers proxy cache

Cache as a Sidecar / Ambassador

We can move cache close to application. We can move cache server to closer to application, in terms of Kubernetes we can deploy cache and application in same pod.

spec:
  containers:
    - name: app
      image: "app-image:latest"
    - name: cache
      image: "cache:latest"

Author Mark Andreev

Machine Learning Engineer