yolossn / flask-cache

A simple flask-cache which uses memcached

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-cache

A simple flask-cache which uses memcached.

This repository contains the code samples used in the blog which explains about setting the right requests and limits in kubernetes

Link to the blog

Endpoints

  1. create
curl --location --request POST 'localhost:5000/cache/new' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name":"santhosh"
}'
  1. retrieve
curl --location --request GET 'localhost:5000/cache/<id>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name":"santhosh"
}'

About

A simple flask-cache which uses memcached


Languages

Language:Python 84.6%Language:Dockerfile 11.9%Language:Shell 3.6%