Skip to content

Base functionality for accessing/modifying data in Redis - Deprecated

License

Notifications You must be signed in to change notification settings

movermeyer/sprockets.clients.redis

 
 

Repository files navigation

sprockets.clients.redis

DEEPRECATED - DO NOT USE

Base functionality for accessing/modifying data in Redis. Currently there is only support for interacting with Redis servers in a sharded manner.

That is to say, there are multiple Redis servers we are distributing reads and writes among them based on a consistent hash of the key value we're operating on. This is also known as "Client Side Partitioning".

More information about setting up or managing Redis in this manner can be found on the Redis documentation website: http://redis.io/topics/partitioning

Version Downloads Status Coverage License

Installation

sprockets.clients.redis is available on the Python Package Index and can be installed via pip or easy_install:

pip install sprockets.clients.redis

Documentation

http://sprockets-clients-redis.readthedocs.org/en/latest/

Requirements

Example

This examples demonstrates how to use a sharded Redis connection in sprockets.clients.redis by ...

import os
from sprockets import clients.redis

os.environ['REDIS_URI'] = 'redis://localhost/'

shard = clients.redis.ShardedRedisConnection()

shard.set('foo', 1)
value = shard.get('foo')
shard.delete('foo')

Version History

Available at http://sprockets-clients-redis.readthedocs.org/en/latest/history.html

About

Base functionality for accessing/modifying data in Redis - Deprecated

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%