├── .env ├── .gitignore ├── LICENSE ├── README.md ├── debezium-conf └── application.properties ├── docker-compose.yaml ├── images ├── App-Cache-Db.png ├── Cache-Aside-AL.png ├── Change-Data-Capture.png ├── No-Patterns-1.png ├── No-Patterns-2.png ├── Read-Replica-CL.png ├── Read-Through-CL.png ├── Refresh-Ahead-CL.png ├── Write-Behind-AL.png ├── Write-Behind-CL.png ├── Write-Through-AL.png ├── Write-Through-CL.png ├── docker-compose.png ├── redis-di-simplified.png ├── redis-logo-full-color-rgb.png ├── redisGears-white.png └── spring-data.png ├── mvnw ├── mvnw.cmd ├── mysql-setup.sh ├── mysql-setup.sql ├── mysql.cnf ├── pom.xml ├── redis-setup.sh └── src └── main ├── java └── com │ └── foogaro │ └── data │ ├── cache │ ├── CatchAll.java │ ├── EventType.java │ ├── PersonReadReplica.java │ ├── PersonReadThrough.java │ ├── PersonRefreshAhead.java │ ├── PersonWriteBehind.java │ ├── PersonWriteThrough.java │ ├── RGManager.java │ └── patterns │ │ ├── OnProcessEvent.java │ │ ├── Pattern.java │ │ ├── ReadReplica.java │ │ ├── ReadThrough.java │ │ ├── RefreshAhead.java │ │ ├── WriteBehind.java │ │ └── WriteThrough.java │ ├── entities │ └── Person.java │ └── jpa │ └── HibernateUtils.java └── resources ├── Person.hbm.xml └── hibernate.cfg.xml /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/README.md -------------------------------------------------------------------------------- /debezium-conf/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/debezium-conf/application.properties -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /images/App-Cache-Db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/App-Cache-Db.png -------------------------------------------------------------------------------- /images/Cache-Aside-AL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Cache-Aside-AL.png -------------------------------------------------------------------------------- /images/Change-Data-Capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Change-Data-Capture.png -------------------------------------------------------------------------------- /images/No-Patterns-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/No-Patterns-1.png -------------------------------------------------------------------------------- /images/No-Patterns-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/No-Patterns-2.png -------------------------------------------------------------------------------- /images/Read-Replica-CL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Read-Replica-CL.png -------------------------------------------------------------------------------- /images/Read-Through-CL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Read-Through-CL.png -------------------------------------------------------------------------------- /images/Refresh-Ahead-CL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Refresh-Ahead-CL.png -------------------------------------------------------------------------------- /images/Write-Behind-AL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Write-Behind-AL.png -------------------------------------------------------------------------------- /images/Write-Behind-CL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Write-Behind-CL.png -------------------------------------------------------------------------------- /images/Write-Through-AL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Write-Through-AL.png -------------------------------------------------------------------------------- /images/Write-Through-CL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/Write-Through-CL.png -------------------------------------------------------------------------------- /images/docker-compose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/docker-compose.png -------------------------------------------------------------------------------- /images/redis-di-simplified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/redis-di-simplified.png -------------------------------------------------------------------------------- /images/redis-logo-full-color-rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/redis-logo-full-color-rgb.png -------------------------------------------------------------------------------- /images/redisGears-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/redisGears-white.png -------------------------------------------------------------------------------- /images/spring-data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/images/spring-data.png -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /mysql-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/mysql-setup.sh -------------------------------------------------------------------------------- /mysql-setup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/mysql-setup.sql -------------------------------------------------------------------------------- /mysql.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/mysql.cnf -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/pom.xml -------------------------------------------------------------------------------- /redis-setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/redis-setup.sh -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/CatchAll.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/CatchAll.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/EventType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/EventType.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/PersonReadReplica.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/PersonReadReplica.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/PersonReadThrough.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/PersonReadThrough.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/PersonRefreshAhead.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/PersonRefreshAhead.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/PersonWriteBehind.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/PersonWriteBehind.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/PersonWriteThrough.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/PersonWriteThrough.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/RGManager.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/RGManager.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/OnProcessEvent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/OnProcessEvent.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/Pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/Pattern.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/ReadReplica.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/ReadReplica.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/ReadThrough.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/ReadThrough.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/RefreshAhead.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/RefreshAhead.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/WriteBehind.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/WriteBehind.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/cache/patterns/WriteThrough.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/cache/patterns/WriteThrough.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/entities/Person.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/entities/Person.java -------------------------------------------------------------------------------- /src/main/java/com/foogaro/data/jpa/HibernateUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/java/com/foogaro/data/jpa/HibernateUtils.java -------------------------------------------------------------------------------- /src/main/resources/Person.hbm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/resources/Person.hbm.xml -------------------------------------------------------------------------------- /src/main/resources/hibernate.cfg.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foogaro/redis-gears-for-caching-patterns/HEAD/src/main/resources/hibernate.cfg.xml --------------------------------------------------------------------------------