Programming/Java

Write-Back, Read-Through 를 위한 샘플

armyost 2023. 11. 6. 11:13
728x90

Github 링크 : https://github.com/armyost/ApiRedisTemplate/tree/main

 

GitHub - armyost/ApiRedisTemplate: This project shows two types of cache stragety. One is "LookAside", Another is "WriteBack".

This project shows two types of cache stragety. One is "LookAside", Another is "WriteBack". - GitHub - armyost/ApiRedisTemplate: This project shows two types of cache stragety. ...

github.com

위 Github 소스중에서 DemoWriteBackController/Service를 참고하면 된다.

 

 

Cache 전략에 대해서는 다음 포스팅을 참고바란다. 

링크 : https://armyost.tistory.com/412

 

아키텍처는 다음과 같다.