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.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.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

guillotina_rediscache-1.0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for guillotina_rediscache-1.0.1.tar.gz
Algorithm Hash digest
SHA256 497bc8667c3ceb082e8641495b7d3f2f1f6cc0093293104a2799380eb68ce3a0
MD5 94ebe97fe03147bec582dfe100188e44
BLAKE2b-256 3adba281c2fcf8bed43ed7e8b1e8fa711b27faf5df5f106ac4b0e9f16e9bfc2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for guillotina_rediscache-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dfa7cb9f20b17f75b756d7d62dc655cdac267b5235fdd0ec62ca0599296c2d19
MD5 c04158388b8a2717b8d38bd120036c89
BLAKE2b-256 658b6b3731f370969f6353b1af47c1cd6680465bcd54d5aca1c6dd7036ee30e6

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