Skip to content

neilghosh/cache-as-a-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cache-as-a-service

Setup

gcloud components install app-engine-go

Deploy

gcloud app deploy

APIs

Set Cache (201 Created)

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"key":"name","value":"test"}' \
  https://cache-as-a-service-dot-demoneil.df.r.appspot.com
  

Get Cache (200 OK)

curl "https://cache-as-a-service-dot-demoneil.df.r.appspot.com?key=name1"

Errors

  • Cache Miss - 404 Not Found

TODO

  • Error code for cache miss
  • Stict JSON validation for set cache
  • Multi Set
  • Multi Get
  • Explicit TTL

About

Appengine Memcache based cache service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages