Skip to main content

guillotina cache implementation using redis + lru in-memory cache

Project description

https://travis-ci.org/guillotinaweb/guillotina_rediscache.svg?branch=master

guillotina_rediscache implements redis into guillotina with an additional in-memory layer cache.

In order to coordinate invalidating the in-memory cache, guillotina_rediscache utilizes the pub/sub feature redis provides.

Configuration

app_settings for this:

{
  "redis": {
      'host': 'localhost',
      'port': 6379,
      'ttl': 3600,
      'memory_cache_size': 1000,
      'pool': {
          'minsize': 5,
          'maxsize': 100
      }
  }
}

TODO

  • stats

  • api endpoint to… - inspect, get stats - clear

1.0.2 (2017-05-15)

  • Fix channel publishing invalidations [vangheem]

1.0.1 (2017-05-15)

  • Fix release

1.0.0 (2017-05-15)

  • initial release

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

guillotina_rediscache-1.0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

guillotina_rediscache-1.0.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file guillotina_rediscache-1.0.2.tar.gz.

File metadata

File hashes

Hashes for guillotina_rediscache-1.0.2.tar.gz
Algorithm Hash digest
SHA256 50ab5fcaf8a4967cabe5ce8a0ccc7f211d8a393566a923bac176d8e70de7f91a
MD5 47540227b09a1432b377ff3356c6f89b
BLAKE2b-256 0633e377c4d394b06a2bd22e508673646f100744fa51a88c2d7479eb5dc3c0b9

See more details on using hashes here.

File details

Details for the file guillotina_rediscache-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for guillotina_rediscache-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23caee45c78d4404457c68804451a6f722d342d57cb9c769552f863710e11d95
MD5 b8fd86f14f47ff7fc8e4a37422efec65
BLAKE2b-256 994c33f7d2392f14058b74692f74e123f35e3abc59479f0459e69d93e0b3de06

See more details on using hashes here.

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