Skip to main content

A simple Dynamodb backed cache with TTL.

Project description

https://github.com/MacHu-GWU/dynamodb_cache-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/dynamodb_cache-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/dynamodb_cache.svg https://img.shields.io/pypi/l/dynamodb_cache.svg https://img.shields.io/pypi/pyversions/dynamodb_cache.svg https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to dynamodb_cache Documentation

Redis is a good distributive cache. What if I don’t want to manage a server? AWS Dynamodb could be another awesome backend for distributive cache. Reasons are:

  • It takes 5 seconds to create a backend table

  • No server to manage

  • It automatically scale up and down

  • The pricing can be pay-as-you-go

  • It can handle 1K + concurrent read easily

TODO: add usage doc

Install

dynamodb_cache is released on PyPI, so all you need is:

$ pip install dynamodb_cache

To upgrade to latest version:

$ pip install --upgrade dynamodb_cache

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamodb_cache-0.1.1.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

dynamodb_cache-0.1.1-py2.py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page