Skip to content

awsbigdata/springcacherestapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ramaswamy
Dec 20, 2020
57d57d8 · Dec 20, 2020

History

6 Commits
Dec 20, 2020
Dec 18, 2020
Dec 20, 2020
Dec 20, 2020
Dec 20, 2020
Dec 20, 2020
Dec 18, 2020
Dec 18, 2020
Dec 19, 2020
Dec 18, 2020

Repository files navigation

springcacherestapi

springcacherestapi This spring framework provides supports for adding caching to an application and clear the cache.

Prerequisites

  • Java 1.8+
  • Gradle 6.0

Compile & build

gradle clean build

Create a jar to deploy

gradle clean build bootJar

API Details

Below Get API to access trip data

http:///tripsbyday

http:///tripsbymed

To clear the cache

Send a POST request to http:///clear

Look for "Reading from DB" for cache miss in log

You can use Amazon RDS for DB and AWS memcache for redis

Add EKS for container based solutions

Improvement Can implement DDB+DAX for horizontal Scale and lambda for serverless solution

About

springcacherestapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages