# dynamocache

> [![Travis Build Status](https://travis-ci.org/breath103/dynamocache.svg?branch=master)](https://travis-ci.org/breath103/dynamocache) [![npm version](https://badge.fury.io/js/dynamocache.svg)](https://badge.fury.io/js/dynamocache)

Latest version **0.0.1** (published 2017-06-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install dynamocache
pnpm add dynamocache
yarn add dynamocache
bun add dynamocache
```

Provides the command `dynamo-cache`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-06-20 |
| First published | 2017-06-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+12 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kurt Lee |
| Maintainers | kurtlee |

## Links

- npm: https://www.npmjs.com/package/dynamocache
- Repository: https://github.com/breath103/dynamocache
- Homepage: https://github.com/breath103/dynamocache#readme
- Issues: https://github.com/breath103/dynamocache/issues
- npm.io page: https://npm.io/package/dynamocache

## Dependencies (8)

- [lodash](https://npm.io/package/lodash.md) 4.17.4
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.72.0
- [typescript](https://npm.io/package/typescript.md) 2.3.4
- [@types/node](https://npm.io/package/@types/node.md) 7.0.27
- [@types/lodash](https://npm.io/package/@types/lodash.md) 4.14.65
- [@types/aws-sdk](https://npm.io/package/@types/aws-sdk.md) ^2.7.0
- [underscore.string](https://npm.io/package/underscore.string.md) 3.3.4
- [@types/underscore.string](https://npm.io/package/@types/underscore.string.md) 0.0.30

## Recent versions

- 0.0.1 (latest) — 2017-06-20

## README

[![Travis Build Status](https://travis-ci.org/breath103/dynamocache.svg?branch=master)](https://travis-ci.org/breath103/dynamocache)
[![npm version](https://badge.fury.io/js/dynamocache.svg)](https://badge.fury.io/js/dynamocache)

# DynamoCache
DynamoDB as a key-value cache just like memcached, but much better, fully-managed, auto scalliable, totally reliable.


when we building applications, we often need simple Key-Value cache cluster with millisecond latency, automatic backup, scalable, maximum item size about few KBs.

Traditionally, people uses redis or memcached for this.

and usually, people faces those challenges.
1. Configuring Backup / failover
2. Scale (building cluster with servel nodes)
3. you have to buy a node and pay for it even at 3AM, when node is basically doing nothing, something like $0.266 per hour.
4. Monitoring

Surely, there are some cloud manager services like [AWS elasticsearch](https://aws.amazon.com/elasticsearch-service/) which supports

1. Automatic Backup / failover
2. Scale (with downtime or some data loss)
3. Monitoring, (Cloudwatch)


but you still need to "manage" - "Cluster". as a developer who hates "operating" job, i don't like "cluster", cause you have to love it and care about it, like watching over easily-die plant in my room.
but i just want to focus on writing application.

So i came up with the idea of using DynamoDB as a cache, which is fully-managed, Document based NOSQL DB which support [autoscale](https://aws.amazon.com/blogs/aws/new-auto-scaling-for-amazon-dynamodb/) bulit in, so [you pay as you read / write](https://aws.amazon.com/dynamodb/pricing/)
Also, has now [in-preview Accelerator](https://aws.amazon.com/dynamodb/dax/) which let you obtain "MICROSECOND" latency.

---
_Source: https://npm.io/package/dynamocache · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
