Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eiselems/ultimate-redis-boot
This is an example repository to discover ways of interacting with Redis (from a Spring Boot Application)
https://github.com/eiselems/ultimate-redis-boot
Last synced: 3 months ago
JSON representation
This is an example repository to discover ways of interacting with Redis (from a Spring Boot Application)
- Host: GitHub
- URL: https://github.com/eiselems/ultimate-redis-boot
- Owner: eiselems
- License: mit
- Created: 2019-04-18T22:25:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T09:02:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T19:34:19.753Z (4 months ago)
- Language: Java
- Homepage: https://programmerfriend.com/ultimate-guide-to-redis-cache-with-spring-boot-2-and-spring-data-redis/?gthb
- Size: 70.3 KB
- Stars: 36
- Watchers: 2
- Forks: 35
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ultimate-redis-boot
This is an example repository to discover ways of interacting with Redis (from a Spring Boot 2 Application).The blog post about this repository can be found [HERE](https://programmerfriend.com/ultimate-guide-to-redis-cache-with-spring-boot-2-and-spring-data-redis/?gthb).
![Spring Boot Redis](https://github.com/programmerfriend/programmerfriend.github.io/blob/master/img/content/robust-boot_title.png?raw=true "Spring Boot Redis")
## Run the service
```
./mvnw spring-boot:run
```## What it is / What it does
* A Spring Boot 2 Application
* Using @Cacheable, @CachePut, @CacheEvict to cache results of method invocations
* Use Redis to store the cached results
* Define different TTLs for different Caches