Database in project H2 DataBase
Install Redis and start Redis Service
http://localhost:8080/api/v1/users/1
Time query: 282ms
http://localhost:8080/api/v1/users/1
Time query: 10ms
Use Cache to query optimization in springboot
Database in project H2 DataBase
Install Redis and start Redis Service
http://localhost:8080/api/v1/users/1
Time query: 282ms
http://localhost:8080/api/v1/users/1
Time query: 10ms
Use Cache to query optimization in springboot