django-redis-cache Documentation

Size: px
Start display at page:

Download "django-redis-cache Documentation"

Transcription

1 django-redis-cache Documentation Release Sean Bleier Nov 15, 2018

2

3 Contents 1 Intro and Quick Start Intro Quick Start API Usage Standard Django Cache API Cache Methods Provided by django-redis-cache Advanced Configuration Example Setting Pluggable Backends Location Schemes Database Number Password Master/Slave Setup Pluggable Parser Classes Pickle Version Socket Timeout and Socket Create Timeout Connection Pool Pluggable Serializers Pluggable Compressors Indices and tables 15 i

4 ii

5 Contents: Contents 1

6 2 Contents

7 CHAPTER 1 Intro and Quick Start 1.1 Intro django-redis-cache is a cache backend for the Django webframework. It uses the redis server, which is a in-memory key-value data structure server. Similar to the great Memcached in performance, it has several features that makes it more appealing. Multiple data structures types, e.g. string, list, set, sorted sets, and hashes. Atomic pipelines: guaranteed that multiple commands will run sequentially and uninterrupted. Pub/Sub: subscribe to a channel and listen for messages from other processes. Can back data to disk, which can keep a cache warm even if the process is killed. Lua scripting Clustering (as of 3.0) Many more. Many of these features are irrelevant to caching, but can be used by other areas of a web stack and therefore offer a compelling case to simplify your infrastructure. 1.2 Quick Start Recommended: redis >= 2.4 redis-py >= python >= Install redis. You can use install_redis.sh to install a local copy of redis. Start the server by running./src/redis-server 3

8 2. Run pip install django-redis-cache. 3. Modify your Django settings to use redis_cache. 'BACKEND': 'redis_cache.rediscache', 'LOCATION': 'localhost:6379', Warning: By default, django-redis-cache set keys in the database 1 of Redis. By default, a session with redis-cli start on database 0. Switch to database 1 with SELECT 1. 4 Chapter 1. Intro and Quick Start

9 CHAPTER 2 API Usage 2.1 Standard Django Cache API get(self, key[, default=none]): Retrieves a value from the cache. Parameters key Location of the value default Value to return if key does not exist in cache. Return type Value that was cached. add(self, key, value[, timeout=default_timeout]): Add a value to the cache, failing if the key already exists. Parameters key Location of the value value Value to cache timeout (Number of seconds or DEFAULT_TIMEOUT) Number of seconds to hold value in cache. Return type True if object was added and False if it already exists. set(self, key, value, timeout=default_timeout): Sets a value to the cache, regardless of whether it exists. If timeout == None, then cache is set indefinitely. DEFAULT_TIMEOUT. Parameters key Location of the value value Value to cache Otherwise, timeout defaults to the defined 5

10 timeout (Number of seconds or DEFAULT_TIMEOUT) Number of seconds to hold value in cache. delete(self, key): Removes a key from the cache Parameters key Location of the value delete_many(self, keys[, version=none]): Removes multiple keys at once. Parameters key Location of the value version Version of keys clear(self[, version=none]): Flushes the cache. If version is provided, all keys under the version number will be deleted. Otherwise, all keys will be flushed. Parameters version Version of keys get_many(self, keys[, version=none]): Retrieves many keys at once. Parameters keys an iterable of keys to retrieve. Return type Dict of keys mapping to their values. set_many(self, data[, timeout=none, version=none]): Set many values in the cache at once from a dict of key/value pairs. This is much more efficient than calling set() multiple times and is atomic. Parameters data dict of key/value pairs to cache. timeout (Number of seconds or None) Number of seconds to hold value in cache. incr(self, key[, delta=1]): Add delta to value in the cache. If the key does not exist, raise a ValueError exception. Parameters key Location of the value delta (Integer) Integer used to increment a value. incr_version(self, key[, delta=1, version=none]): Adds delta to the cache version for the supplied key. Returns the new version. Parameters key Location of the value delta (Integer) Integer used to increment a value. version (Integer or None) Version of key 6 Chapter 2. API Usage

11 2.2 Cache Methods Provided by django-redis-cache has_key(self, key): Returns True if the key is in the cache and has not expired. Parameters key Location of the value Return type bool ttl(self, key): Returns the time-to-live of a key. If the key is not volatile, i.e. it has not set an expiration, then the value returned is None. Otherwise, the value is the number of seconds remaining. If the key does not exist, 0 is returned. Parameters key Location of the value Return type Integer or None delete_pattern(pattern[, version=none]): Deletes keys matching the glob-style pattern provided. Parameters pattern Glob-style pattern used to select keys to delete. version Version of the keys get_or_set(self, key, func[, timeout=none]): Retrieves a key value from the cache and sets the value if it does not exist. Parameters key Location of the value func Callable used to set the value if key does not exist. timeout (Number of seconds or None) Number of seconds to hold value in cache. reinsert_keys(self): Helper function to reinsert keys using a different pickle protocol version. persist(self, key): Removes the timeout on a key. Equivalent to setting a timeout of None in a set command. :param key: Location of the value :rtype: bool expire(self, key, timeout): Set the expire time on a key Parameters key Location of the value Return type bool 2.2. Cache Methods Provided by django-redis-cache 7

12 8 Chapter 2. API Usage

13 CHAPTER 3 Advanced Configuration 3.1 Example Setting 'BACKEND': 'redis_cache.rediscache', 'LOCATION': ' :6379', 'DB': 1, 'PASSWORD': 'yadayada', 'PARSER_CLASS': 'redis.connection.hiredisparser', 'CONNECTION_POOL_CLASS': 'redis.blockingconnectionpool', 'PICKLE_VERSION': -1, 3.2 Pluggable Backends django-redis-cache comes with a couple pluggable backends, one for a unified keyspace and one for a sharded keyspace. The former can be in the form of a single redis server or several redis servers setup in a primary/secondary configuration. The primary is used for writing and secondaries are replicated versions of the primary for read-access. Default Backend: redis_cache.rediscache # Unified keyspace 'BACKEND': 'redis_cache.rediscache', (continues on next page) 9

14 (continued from previous page) # Sharded keyspace 'BACKEND': 'redis_cache.shardedrediscache', 3.3 Location Schemes The LOCATION contains the information for the redis server s location, which can be the address/port or the server path to the unix domain socket. The location can be a single string or a list of strings. Several schemes for defining the location can be used. Here is a list of example schemes: :6379 /path/to/socket redis://[:password]@localhost:6379/0 rediss://[:password]@localhost:6379/0 unix://[:password]@/path/to/socket.sock?db=0 3.4 Database Number The DB option will allow key/values to exist in a different keyspace. The DB value can either be defined in the OPTIONS or in the LOCATION scheme. Default DB: 1 'DB': 1, Password If the redis server is password protected, you can specify the PASSWORD option. 'PASSWORD': 'yadayada', (continues on next page) 10 Chapter 3. Advanced Configuration

15 (continued from previous page) 3.6 Master/Slave Setup It s possible to have multiple redis servers in a master/slave or primary/secondary configuration. Here we have the primary server acting as a read/write server and secondary servers as read-only. 'LOCATION': [ ' :6379', # Primary ' :6380', # Secondary ' :6381', # Secondary ], 'PASSWORD': 'yadayada', 'MASTER_CACHE': ' :6379', 3.7 Pluggable Parser Classes redis-py comes with two parsers: HiredisParser and PythonParser. The former uses the hiredis library to parse responses from the redis server, while the latter uses Python. Hiredis is a library that uses C, so it is much faster than the python parser, but requires installing the library separately. Default Parser: redis.connection.pythonparser The default parser is the Python parser because there is no other dependency, but I would recommend using hiredis: pip install hiredis 'PARSER_CLASS': 'redis.connection.hiredisparser', 3.6. Master/Slave Setup 11

16 3.8 Pickle Version When using the pickle serializer, you can use PICKLE_VERSION to specify the protocol version of pickle you want to use to serialize your python objects. Default Pickle Version: -1 The default pickle protocol is -1, which is the highest and latest version. This value should be pinned to a specific protocol number, since -1 means different things between versions of Python. 'PICKLE_VERSION': 2, 3.9 Socket Timeout and Socket Create Timeout When working with a TCP connection, it may be beneficial to set the SOCKET_TIMEOUT and SOCKET_CONNECT_TIMEOUT options to prevent your app from blocking indefinitely. If provided, the socket will time out when the established connection exceeds SOCKET_TIMEOUT seconds. Similarly, the socket will time out if it takes more than SOCKET_CONNECT_TIMEOUT seconds to establish. Default Socket Timeout: None Default Socket Connect Timeout: None CACHES={ 'SOCKET_TIMEOUT': 5, 'SOCKET_CONNECT_TIMEOUT': 5, 3.10 Connection Pool There is an associated overhead when creating connections to a redis server. Therefore, it s beneficial to create a pool of connections that the cache can reuse to send or retrieve data from the redis server. CONNECTION_POOL_CLASS can be used to specify a class to use for the connection pool. In addition, you can provide custom keyword arguments using the CONNECTION_POOL_CLASS_KWARGS option that will be passed into the class when it s initialized. Default Connection Pool: redis.connectionpool 12 Chapter 3. Advanced Configuration

17 'CONNECTION_POOL_CLASS': 'redis.blockingconnectionpool', 'CONNECTION_POOL_CLASS_KWARGS': { 'max_connections': 50, 'timeout': 20, 3.11 Pluggable Serializers You can use SERIALIZER_CLASS to specify a class that will serialize/deserialize data. In addition, you can provide custom keyword arguments using the SERIALIZER_CLASS_KWARGS option that will be passed into the class when it s initialized. The default serializer in django-redis-cache is the pickle serializer. It can serialize most python objects, but is slow and not always safe. Also included are serializer using json, msgpack, and yaml. Not all serializers can handle Python objects, so they are limited to primitive data types. Default Serializer: redis_cache.serializers.pickleserializer 'SERIALIZER_CLASS': 'redis_cache.serializers.pickleserializer', 'SERIALIZER_CLASS_KWARGS': { 'pickle_version': Pluggable Compressors You can use COMPRESSOR_CLASS to specify a class that will compress/decompress data. COMPRESSOR_CLASS_KWARGS option to initialize the compressor class. Use the The default compressor is NoopCompressor which does not compress your data. However, if you want to compress your data, you can use one of the included compressor classes: Default Compressor: redis_cache.compressors.noopcompressor # zlib compressor (continues on next page) Pluggable Serializers 13

18 (continued from previous page) 'COMPRESSOR_CLASS': 'redis_cache.compressors.zlibcompressor', 'COMPRESSOR_CLASS_KWARGS': { 'level': 5, # 0-9; 0 - no compression; 1 - fastest, biggest; 9 - slowest, smallest # bzip2 compressor 'COMPRESSOR_CLASS': 'redis_cache.compressors.bzip2compressor', 'COMPRESSOR_CLASS_KWARGS': { 'compresslevel': 5, # 1-9; 1 - fastest, biggest; 9 - slowest, smallest 14 Chapter 3. Advanced Configuration

19 CHAPTER 4 Indices and tables genindex modindex search 15

redis-lua Documentation

redis-lua Documentation redis-lua Documentation Release 2.0.8 Julien Kauffmann October 12, 2016 Contents 1 Quick start 3 1.1 Step-by-step analysis........................................... 3 2 What s the magic at play here?

More information

pymemcache Documentation

pymemcache Documentation pymemcache Documentation Release 2.1.0 Charles Gordon, Nicholas Charriere, Jon Parise, Joe Gordon Jan 08, 2019 Contents 1 Getting started! 3 1.1 Basic Usage...............................................

More information

COSC Redis. Paul Moore, Stephen Smithbower, William Lee. March 11, 2013

COSC Redis. Paul Moore, Stephen Smithbower, William Lee. March 11, 2013 March 11, 2013 What is Redis? - Redis is an in-memory key-value data store. - Can be a middle-ware solution between your expensive persistent data-store (Oracle), and your application. - Provides PubSub,

More information

asyncio_redis Documentation

asyncio_redis Documentation asyncio_redis Documentation Release 0.1 Jonathan Slenders Aug 23, 2017 Contents 1 Features 3 2 Installation 5 3 Author and License 7 4 Indices and tables 9 4.1 Examples.................................................

More information

Sherlock Documentation

Sherlock Documentation Sherlock Documentation Release 0.3.0 Vaidik Kapoor May 05, 2015 Contents 1 Overview 3 1.1 Features.................................................. 3 1.2 Supported Backends and Client Libraries................................

More information

micawber Documentation

micawber Documentation micawber Documentation Release 0.3.4 charles leifer Nov 29, 2017 Contents 1 examples 3 2 integration with web frameworks 5 2.1 Installation................................................ 5 2.2 Getting

More information

Scrapy-Redis Documentation

Scrapy-Redis Documentation Scrapy-Redis Documentation Release 0.7.0-dev Rolando Espinoza Nov 13, 2017 Contents 1 Scrapy-Redis 3 1.1 Features.................................................. 3 1.2 Requirements...............................................

More information

CacheControl Documentation

CacheControl Documentation CacheControl Documentation Release 0.12.4 Eric Larson May 01, 2018 Contents 1 Install 3 2 Quick Start 5 3 Tests 7 4 Disclaimers 9 4.1 Using CacheControl........................................... 9 4.2

More information

Python Mock Tutorial Documentation

Python Mock Tutorial Documentation Python Mock Tutorial Documentation Release 0.1 Javier Collado Nov 14, 2017 Contents 1 Introduction 3 2 Mock 5 2.1 What is a mock object?.......................................... 5 2.2 What makes mock

More information

requests-cache Documentation

requests-cache Documentation requests-cache Documentation Release 0.4.13 Roman Haritonov Nov 09, 2017 Contents 1 User guide 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

django-cron Documentation

django-cron Documentation django-cron Documentation Release 0.3.5 Tivix Inc. Mar 04, 2017 Contents 1 Introduction 3 2 Installation 5 3 Configuration 7 4 Sample Cron Configurations 9 4.1 Retry after failure feature........................................

More information

Bambu API Documentation

Bambu API Documentation Bambu API Documentation Release 2.0.1 Steadman Sep 27, 2017 Contents 1 About Bambu API 3 2 About Bambu Tools 2.0 5 3 Installation 7 4 Basic usage 9 5 Questions or suggestions? 11 6 Contents 13 6.1 Defining

More information

LECTURE 27. Python and Redis

LECTURE 27. Python and Redis LECTURE 27 Python and Redis PYTHON AND REDIS Today, we ll be covering a useful but not entirely Python-centered topic: the inmemory datastore Redis. We ll start by introducing Redis itself and then discussing

More information

django-oauth2-provider Documentation

django-oauth2-provider Documentation django-oauth2-provider Documentation Release 0.2.7-dev Alen Mujezinovic Aug 16, 2017 Contents 1 Getting started 3 1.1 Getting started.............................................. 3 2 API 5 2.1 provider.................................................

More information

redish Documentation Release Ask Solem

redish Documentation Release Ask Solem redish Documentation Release 0.2.0 Ask Solem Sep 14, 2017 Contents 1 redish - Pythonic Redis abstraction built on top of redis-py 3 1.1 Introduction............................................... 3 1.2

More information

Django QR Code Documentation

Django QR Code Documentation Django QR Code Documentation Release 0.3.3 Philippe Docourt Nov 12, 2017 Contents: 1 Django QR Code 1 1.1 Installation................................................ 1 1.2 Usage...................................................

More information

mprpc Documentation Release Studio Ousia

mprpc Documentation Release Studio Ousia mprpc Documentation Release 0.1.13 Studio Ousia Apr 05, 2017 Contents 1 Introduction 3 1.1 Installation................................................ 3 1.2 Examples.................................................

More information

Queries Documentation

Queries Documentation Queries Documentation Release 2.0.0 Gavin M. Roy Jan 31, 2018 Contents 1 Installation 3 2 Contents 5 3 Issues 27 4 Source 29 5 Inspiration 31 6 Indices and tables 33 i ii Queries is a BSD licensed opinionated

More information

Pusher Documentation. Release. Top Free Games

Pusher Documentation. Release. Top Free Games Pusher Documentation Release Top Free Games January 18, 2017 Contents 1 Overview 3 1.1 Features.................................................. 3 1.2 The Stack.................................................

More information

prompt Documentation Release Stefan Fischer

prompt Documentation Release Stefan Fischer prompt Documentation Release 0.4.1 Stefan Fischer Nov 14, 2017 Contents: 1 Examples 1 2 API 3 3 Indices and tables 7 Python Module Index 9 i ii CHAPTER 1 Examples 1. Ask for a floating point number: >>>

More information

spacetrack Documentation

spacetrack Documentation spacetrack Documentation Release 0.13.1 Frazer McLean Feb 03, 2018 Contents 1 Installation 3 1.1 pip.................................................. 3 1.2 Git..................................................

More information

Making Non-Distributed Databases, Distributed. Ioannis Papapanagiotou, PhD Shailesh Birari

Making Non-Distributed Databases, Distributed. Ioannis Papapanagiotou, PhD Shailesh Birari Making Non-Distributed Databases, Distributed Ioannis Papapanagiotou, PhD Shailesh Birari Dynomite Ecosystem Dynomite - Proxy layer Dyno - Client Dynomite-manager - Ecosystem orchestrator Dynomite-explorer

More information

django-app-metrics Documentation

django-app-metrics Documentation django-app-metrics Documentation Release 0.8.0 Frank Wiles Sep 21, 2017 Contents 1 Installation 3 1.1 Installing................................................. 3 1.2 Requirements...............................................

More information

Package redux. May 31, 2018

Package redux. May 31, 2018 Title R Bindings to 'hiredis' Version 1.1.0 Package redux May 31, 2018 A 'hiredis' wrapper that includes support for transactions, pipelining, blocking subscription, serialisation of all keys and values,

More information

Distributed Systems. 29. Distributed Caching Paul Krzyzanowski. Rutgers University. Fall 2014

Distributed Systems. 29. Distributed Caching Paul Krzyzanowski. Rutgers University. Fall 2014 Distributed Systems 29. Distributed Caching Paul Krzyzanowski Rutgers University Fall 2014 December 5, 2014 2013 Paul Krzyzanowski 1 Caching Purpose of a cache Temporary storage to increase data access

More information

Flask-Caching Documentation

Flask-Caching Documentation Flask-Caching Documentation Release 1.0.0 Thadeus Burgess, Peter Justin Nov 01, 2017 Contents 1 Installation 3 2 Set Up 5 3 Caching View Functions 7 4 Caching Other Functions 9 5 Memoization 11 5.1 Deleting

More information

Confire Documentation

Confire Documentation Confire Documentation Release 0.2.0 Benjamin Bengfort December 10, 2016 Contents 1 Features 3 2 Setup 5 3 Example Usage 7 4 Next Topics 9 5 About 17 Python Module Index 19 i ii Confire is a simple but

More information

redis-completion Documentation

redis-completion Documentation redis-completion Documentation Release 0.4.0 charles leifer June 16, 2016 Contents 1 usage 3 1.1 Installing................................................. 3 1.2 Getting Started..............................................

More information

django-auditlog Documentation

django-auditlog Documentation django-auditlog Documentation Release 0.4.3 Jan-Jelle Kester Jul 05, 2017 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course,

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016-2017 AGENDA FOR TODAY The final project Advanced Mysql Database programming Recap: DB servers in the web Web programming

More information

spaste Documentation Release 1.0 Ben Webster

spaste Documentation Release 1.0 Ben Webster spaste Documentation Release 1.0 Ben Webster May 28, 2015 Contents 1 Application Overview 3 1.1 Snippets................................................. 3 1.2 Contact Form...............................................

More information

REdis: Implementing Redis in Erlang. A step-by-step walkthrough

REdis: Implementing Redis in Erlang. A step-by-step walkthrough R: Implementing Redis in Erlang A step-by-step walkthrough 1 2 : Implementing Redis in Erlang A step-by-step walkthrough 2 My Background Microsoft Visual Studio Visto Corporation Founded Inaka Moved to

More information

Pizco Documentation. Release 0.1. Hernan E. Grecco

Pizco Documentation. Release 0.1. Hernan E. Grecco Pizco Documentation Release 0.1 Hernan E. Grecco Nov 02, 2017 Contents 1 Design principles 3 2 Pizco in action 5 3 Contents 7 3.1 Getting Started.............................................. 7 3.2 Futures..................................................

More information

Buffering to Redis for Efficient Real-Time Processing. Percona Live, April 24, 2018

Buffering to Redis for Efficient Real-Time Processing. Percona Live, April 24, 2018 Buffering to Redis for Efficient Real-Time Processing Percona Live, April 24, 2018 Presenting Today Jon Hyman CTO & Co-Founder Braze (Formerly Appboy) @jon_hyman Mobile is at the vanguard of a new wave

More information

IoC Documentation. Release Thomas Rabaix

IoC Documentation. Release Thomas Rabaix IoC Documentation Release 0.0.16 Thomas Rabaix April 15, 2015 Contents 1 Installation 3 2 References 5 2.1 Bootstrapping.............................................. 5 2.2 Extension.................................................

More information

IEMS 5780 / IERG 4080 Building and Deploying Scalable Machine Learning Services

IEMS 5780 / IERG 4080 Building and Deploying Scalable Machine Learning Services IEMS 5780 / IERG 4080 Building and Deploying Scalable Machine Learning Services Lecture 11 - Asynchronous Tasks and Message Queues Albert Au Yeung 22nd November, 2018 1 / 53 Asynchronous Tasks 2 / 53 Client

More information

datastream Documentation

datastream Documentation datastream Documentation Release 0.5.19 wlan slovenija Jul 31, 2017 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

How you can benefit from using. javier

How you can benefit from using. javier How you can benefit from using I was Lois Lane redis has super powers myth: the bottleneck redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop,mset -P 16 -q On my laptop: SET: 513610 requests

More information

ProxySQL Tools Documentation

ProxySQL Tools Documentation ProxySQL Tools Documentation Release 0.3.12 TwinDB Development Team Dec 29, 2017 Contents 1 ProxySQL Tools 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

pescador Documentation

pescador Documentation pescador Documentation Release Brian McFee and Eric Humphrey July 28, 2016 Contents 1 Simple example 1 1.1 Batch generators............................................. 1 1.2 StreamLearner..............................................

More information

HAProxy log analyzer Documentation

HAProxy log analyzer Documentation HAProxy log analyzer Documentation Release 0.1 Gil Forcada Nov 08, 2017 Contents 1 HAProxy log analyzer 3 1.1 Tests and coverage............................................ 3 1.2 Documentation..............................................

More information

ApsaraDB for Redis. Product Introduction

ApsaraDB for Redis. Product Introduction ApsaraDB for Redis is compatible with open-source Redis protocol standards and provides persistent memory database services. Based on its high-reliability dual-machine hot standby architecture and seamlessly

More information

tolerance Documentation

tolerance Documentation tolerance Documentation Release Alisue Apr 1, 217 Contents 1 tolerance 1 1.1 Features.................................................. 1 1.2 Installation................................................

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Sep 27, 2017 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

django-avatar Documentation

django-avatar Documentation django-avatar Documentation Release 2.0 django-avatar developers Oct 04, 2018 Contents 1 Installation 3 2 Usage 5 3 Template tags and filter 7 4 Global Settings 9 5 Management Commands 11 i ii django-avatar

More information

June 20, 2017 Revision NoSQL Database Architectural Comparison

June 20, 2017 Revision NoSQL Database Architectural Comparison June 20, 2017 Revision 0.07 NoSQL Database Architectural Comparison Table of Contents Executive Summary... 1 Introduction... 2 Cluster Topology... 4 Consistency Model... 6 Replication Strategy... 8 Failover

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

streamio Documentation

streamio Documentation streamio Documentation Release 0.1.0.dev James Mills April 17, 2014 Contents 1 About 3 1.1 Examples................................................. 3 1.2 Requirements...............................................

More information

Kuyruk Documentation. Release 0. Cenk Altı

Kuyruk Documentation. Release 0. Cenk Altı Kuyruk Documentation Release 0 Cenk Altı Mar 07, 2018 Contents 1 About Kuyruk 3 2 User s Guide 5 3 API Reference 17 4 Indices and tables 21 Python Module Index 23 i ii Welcome to Kuyruk s documentation.

More information

Flask-Cors Documentation

Flask-Cors Documentation Flask-Cors Documentation Release 3.0.4 Cory Dolphin Apr 26, 2018 Contents 1 Installation 3 2 Usage 5 2.1 Simple Usage............................................... 5 3 Documentation 7 4 Troubleshooting

More information

nucleon Documentation

nucleon Documentation nucleon Documentation Release 0.1 Daniel Pope December 23, 2014 Contents 1 Getting started with Nucleon 3 1.1 An example application......................................... 3 1.2 Our first database app..........................................

More information

redis-lock Release 3.2.0

redis-lock Release 3.2.0 redis-lock Release 3.2.0 Sep 05, 2018 Contents 1 Overview 1 1.1 Usage................................................... 1 1.2 Features.................................................. 3 1.3 Implementation..............................................

More information

Basilisk Documentation

Basilisk Documentation Basilisk Documentation Release 0.1 Bonnier Business Polska November 12, 2015 Contents 1 Indices and tables 7 Python Module Index 9 i ii Contents: Basilisk enables Pythonic use of Redis hashes, lists and

More information

TRex Control Plane Design - Phase 1. TRex Control Plane Design - Phase 1

TRex Control Plane Design - Phase 1. TRex Control Plane Design - Phase 1 TRex Control Plane Design - Phase 1 i TRex Control Plane Design - Phase 1 TRex Control Plane Design - Phase 1 ii REVISION HISTORY NUMBER DATE DESCRIPTION NAME TRex Control Plane Design - Phase 1 iii Contents

More information

linkgrabber Documentation

linkgrabber Documentation linkgrabber Documentation Release 0.2.6 Eric Bower Jun 08, 2017 Contents 1 Install 3 2 Tutorial 5 2.1 Quickie.................................................. 5 2.2 Documentation..............................................

More information

Ceph Rados Gateway. Orit Wasserman Fosdem 2016

Ceph Rados Gateway. Orit Wasserman Fosdem 2016 Ceph Rados Gateway Orit Wasserman owasserm@redhat.com Fosdem 2016 AGENDA Short Ceph overview Rados Gateway architecture What's next questions Ceph architecture Cephalopod Ceph Open source Software defined

More information

Requests Mock Documentation

Requests Mock Documentation Requests Mock Documentation Release 1.5.1.dev4 Jamie Lennox Jun 16, 2018 Contents 1 Overview 3 2 Using the Mocker 5 2.1 Activation................................................ 5 2.2 Class Decorator.............................................

More information

django-embed-video Documentation

django-embed-video Documentation django-embed-video Documentation Release 1.1.2-stable Juda Kaleta Nov 10, 2017 Contents 1 Installation & Setup 3 1.1 Installation................................................ 3 1.2 Setup...................................................

More information

Django-CSP Documentation

Django-CSP Documentation Django-CSP Documentation Release 3.0 James Socol, Mozilla September 06, 2016 Contents 1 Installing django-csp 3 2 Configuring django-csp 5 2.1 Policy Settings..............................................

More information

pyramid_assetmutator Documentation

pyramid_assetmutator Documentation pyramid_assetmutator Documentation Release 1.0b1 Seth Davis February 22, 2017 Contents 1 Overview 1 2 Installation 3 3 Setup 5 4 Usage 7 5 Mutators 11 6 Settings 13 7 Asset Concatenation (a.k.a Asset

More information

Give Your Site a Boost With memcached. Ben Ramsey

Give Your Site a Boost With memcached. Ben Ramsey Give Your Site a Boost With memcached Ben Ramsey About Me Proud father of 8-month-old Sean Organizer of Atlanta PHP user group Founder of PHP Groups Founding principal of PHP Security Consortium Original

More information

Redis Tuesday, May 29, 12

Redis Tuesday, May 29, 12 Redis 2.6 @antirez Redis 2.6 Major new features. Based on unstable branch (minus the cluster code). Why a 2.6 release? Redis Cluster is a long term project (The hurried cat produced blind kittens). Intermediate

More information

Python StatsD Documentation

Python StatsD Documentation Python StatsD Documentation Release 3.2.2 James Socol Dec 15, 2017 Contents 1 Installing 3 2 Contents 5 2.1 Configuring Statsd............................................ 5 2.2 Data Types................................................

More information

Torndb Release 0.3 Aug 30, 2017

Torndb Release 0.3 Aug 30, 2017 Torndb Release 0.3 Aug 30, 2017 Contents 1 Release history 3 1.1 Version 0.3, Jul 25 2014......................................... 3 1.2 Version 0.2, Dec 22 2013........................................

More information

Intro to Couchbase Server for ColdFusion - Clustered NoSQL and Caching at its Finest

Intro to Couchbase Server for ColdFusion - Clustered NoSQL and Caching at its Finest Tweet Intro to Couchbase Server for ColdFusion - Clustered NoSQL and Caching at its Finest Brad Wood Jul 26, 2013 Today we are starting a new blogging series on how to leverage Couchbase NoSQL from ColdFusion

More information

Redis as a Time Series DB. Josiah Carlson

Redis as a Time Series DB. Josiah Carlson Redis as a Time Series DB Josiah Carlson - @dr_josiah Agenda Who are you? What is Redis? (3 minutes, optional) What is a time series database? Combining structures for success Analyzing/segmenting events

More information

10/18/2017. Announcements. NoSQL Motivation. NoSQL. Serverless Architecture. What is the Problem? Database Systems CSE 414

10/18/2017. Announcements. NoSQL Motivation. NoSQL. Serverless Architecture. What is the Problem? Database Systems CSE 414 Announcements Database Systems CSE 414 Lecture 11: NoSQL & JSON (mostly not in textbook only Ch 11.1) HW5 will be posted on Friday and due on Nov. 14, 11pm [No Web Quiz 5] Today s lecture: NoSQL & JSON

More information

MERC. User Guide. For Magento 2.X. Version P a g e

MERC. User Guide. For Magento 2.X. Version P a g e MERC User Guide For Magento 2.X Version 1.0.0 http://litmus7.com/ 1 P a g e Table of Contents Table of Contents... 2 1. Introduction... 3 2. Requirements... 4 3. Installation... 4 4. Configuration... 4

More information

PyZabbixObj Documentation

PyZabbixObj Documentation PyZabbixObj Documentation Release 0.1 Fabio Toscano Aug 26, 2017 Contents Python Module Index 3 i ii PyZabbixObj Documentation, Release 0.1 PyZabbixObj is a Python module for working with Zabbix API,

More information

eservices smtp-client

eservices smtp-client eservices smtp-client 4/9/2018 smtp-client cnx-check-idle-time cnx-max-idle-time cnx-pool-size connect-timeout enable-authentication enable-debug exchange-version password port protocol-timeout server

More information

bzz Documentation Release Rafael Floriano and Bernardo Heynemann

bzz Documentation Release Rafael Floriano and Bernardo Heynemann bzz Documentation Release 0.1.0 Rafael Floriano and Bernardo Heynemann Nov 15, 2017 Contents 1 Getting Started 3 2 Flattening routes 5 3 Indices and tables 7 3.1 Model Hive................................................

More information

django-conduit Documentation

django-conduit Documentation django-conduit Documentation Release 0.0.1 Alec Koumjian Apr 24, 2017 Contents 1 Why Use Django-Conduit? 3 2 Table of Contents 5 2.1 Filtering and Ordering.......................................... 5

More information

ipython-gremlin Documentation

ipython-gremlin Documentation ipython-gremlin Documentation Release 0.0.4 David M. Brown Mar 16, 2017 Contents 1 Releases 3 2 Requirements 5 3 Dependencies 7 4 Installation 9 5 Getting Started 11 5.1 Contribute................................................

More information

deluge Documentation Release 2.0b2.dev43 Deluge Team

deluge Documentation Release 2.0b2.dev43 Deluge Team deluge Documentation Release 2.0b2.dev43 Deluge Team December 17, 2017 Contents 1 The Deluge Core 3 1.1 Deluge RPC............................................... 3 2 Deluge s Interfaces 11 2.1 Deluge

More information

PyCrest Documentation

PyCrest Documentation PyCrest Documentation Release 0.0.1 Dreae Mar 12, 2017 Contents 1 Installation 3 2 Getting Started 5 3 Authorized Connections 7 3.1 Refresh Tokens.............................................. 8 3.2 Prevent

More information

EVCache: Lowering Costs for a Low Latency Cache with RocksDB. Scott Mansfield Vu Nguyen EVCache

EVCache: Lowering Costs for a Low Latency Cache with RocksDB. Scott Mansfield Vu Nguyen EVCache EVCache: Lowering Costs for a Low Latency Cache with RocksDB Scott Mansfield Vu Nguyen EVCache 90 seconds What do caches touch? Signing up* Logging in Choosing a profile Picking liked videos

More information

Confuse. Release 0.1.0

Confuse. Release 0.1.0 Confuse Release 0.1.0 July 02, 2016 Contents 1 Using Confuse 3 2 View Theory 5 3 Validation 7 4 Command-Line Options 9 5 Search Paths 11 6 Your Application Directory 13 7 Dynamic Updates 15 8 YAML Tweaks

More information

Contents: 1 Basic socket interfaces 3. 2 Servers 7. 3 Launching and Controlling Processes 9. 4 Daemonizing Command Line Programs 11

Contents: 1 Basic socket interfaces 3. 2 Servers 7. 3 Launching and Controlling Processes 9. 4 Daemonizing Command Line Programs 11 nclib Documentation Release 0.7.0 rhelmot Apr 19, 2018 Contents: 1 Basic socket interfaces 3 2 Servers 7 3 Launching and Controlling Processes 9 4 Daemonizing Command Line Programs 11 5 Indices and tables

More information

A short-term plan for Redis

A short-term plan for Redis A short-term plan for Redis @antirez - Pivotal Redis is made of pieces Transactions Replication Storage API Scripting Sentinel Pub/Sub CLI Cluster Persistence Networking Evolution Redis can be analyzed

More information

MongoTor Documentation

MongoTor Documentation MongoTor Documentation Release 0.1.0 Marcel Nicolat June 11, 2014 Contents 1 Features 3 2 Contents: 5 2.1 Installation................................................ 5 2.2 Tutorial..................................................

More information

FriendlyShell Documentation

FriendlyShell Documentation FriendlyShell Documentation Release 0.0.0.dev0 Kevin S. Phillips Nov 15, 2018 Contents: 1 friendlyshell 3 1.1 friendlyshell package........................................... 3 2 Overview 9 3 Indices

More information

PostgreSQL on Solaris. PGCon Josh Berkus, Jim Gates, Zdenek Kotala, Robert Lor Sun Microsystems

PostgreSQL on Solaris. PGCon Josh Berkus, Jim Gates, Zdenek Kotala, Robert Lor Sun Microsystems PostgreSQL on Solaris PGCon 2007 Josh Berkus, Jim Gates, Zdenek Kotala, Robert Lor Sun Microsystems 1 Agenda Sun Cluster ZFS Zones Dtrace Service Management Facility (SMF) PGCon 2007 2 Hightly Available

More information

ZeroVM Package Manager Documentation

ZeroVM Package Manager Documentation ZeroVM Package Manager Documentation Release 0.2.1 ZeroVM Team October 14, 2014 Contents 1 Introduction 3 1.1 Creating a ZeroVM Application..................................... 3 2 ZeroCloud Authentication

More information

RedBarrel Documentation

RedBarrel Documentation RedBarrel Documentation Release 1.0 2011, Tarek Ziadé August 08, 2011 CONTENTS 1 What s RedBarrel? 3 1.1 Anatomy of a Web Service........................................ 3 1.2 The RBR DSL..............................................

More information

helper Documentation Release Gavin M. Roy

helper Documentation Release Gavin M. Roy helper Documentation Release 2.1.0 Gavin M. Roy September 24, 2013 CONTENTS i ii helper is a command-line/daemon application wrapper package with the aim of creating a consistent and fast way to creating

More information

Redis - a Flexible Key/Value Datastore An Introduction

Redis - a Flexible Key/Value Datastore An Introduction Redis - a Flexible Key/Value Datastore An Introduction Alexandre Dulaunoy AIMS 2011 MapReduce and Network Forensic MapReduce is an old concept in computer science The map stage to perform isolated computation

More information

Home of Redis. Redis for Fast Data Ingest

Home of Redis. Redis for Fast Data Ingest Home of Redis Redis for Fast Data Ingest Agenda Fast Data Ingest and its challenges Redis for Fast Data Ingest Pub/Sub List Sorted Sets as a Time Series Database The Demo Scaling with Redis e Flash 2 Fast

More information

Tagalog Documentation

Tagalog Documentation Tagalog Documentation Release 0.3.1 Government Digital Service July 09, 2014 Contents 1 Documentation index 3 1.1 Tagalog commands............................................ 3 1.2 tagalog Package.............................................

More information

Zumobi Brand Integration(Zbi) Platform Architecture Whitepaper Table of Contents

Zumobi Brand Integration(Zbi) Platform Architecture Whitepaper Table of Contents Zumobi Brand Integration(Zbi) Platform Architecture Whitepaper Table of Contents Introduction... 2 High-Level Platform Architecture Diagram... 3 Zbi Production Environment... 4 Zbi Publishing Engine...

More information

Uranium Documentation

Uranium Documentation Uranium Documentation Release 0.1 Yusuke Tsutsumi Jul 26, 2018 Contents 1 What is Uranium? 1 1.1 Installation................................................ 2 1.2 Tutorial..................................................

More information

Django Better Cache Documentation

Django Better Cache Documentation Django Better Cache Documentation Release 0.7.0 Calvin Spealman February 04, 2016 Contents 1 Table of Contents 3 1.1 bettercache template tags......................................... 3 1.2 CacheModel...............................................

More information

NoSQL: Redis and MongoDB A.A. 2016/17

NoSQL: Redis and MongoDB A.A. 2016/17 Università degli Studi di Roma Tor Vergata Dipartimento di Ingegneria Civile e Ingegneria Informatica NoSQL: Redis and MongoDB A.A. 2016/17 Matteo Nardelli Laurea Magistrale in Ingegneria Informatica -

More information

KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE. Wednesday, September 11, 13

KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE. Wednesday, September 11, 13 KERNEL C.I. USING LINARO S AUTOMATED VALIDATION ARCHITECTURE TYLER BAKER TECHNICAL ARCHITECT HTTP://WWW.LINARO.ORG LAVA DEVELOPER LAVA EVANGELIST FORMER PLATFORM ENGINEER KERNEL HACKER MT. BAKER, WA LAVA

More information

pyprika Documentation

pyprika Documentation pyprika Documentation Release 1.0.0 Paul Kilgo February 16, 2014 Contents i ii Pyprika is a Python library for parsing and managing recipes. Its major features are: Support for recognizing a human-friendly

More information

Capitains.Nautilus Documentation

Capitains.Nautilus Documentation Capitains.Nautilus Documentation Release 0.0.1 Thibault Clérice February 15, 2017 Contents 1 Capitains Nautilus 1 1.1 Documentation.............................................. 1 1.2 Running Nautilus

More information

Flask-Assets Documentation

Flask-Assets Documentation Flask-Assets Documentation Release 0.12 Michael Elsdörfer Apr 26, 2017 Contents 1 Installation 3 2 Usage 5 2.1 Using the bundles............................................ 5 2.2 Flask blueprints.............................................

More information

Django REST Framework JSON API Documentation

Django REST Framework JSON API Documentation Django REST Framework JSON API Documentation Release 2.0.0-alpha.1 Jerel Unruh Jan 25, 2018 Contents 1 Getting Started 3 1.1 Requirements............................................... 4 1.2 Installation................................................

More information

pymodbustcp Documentation

pymodbustcp Documentation pymodbustcp Documentation Release 0.1.6 Loïc Lefebvre May 14, 2018 Contents 1 Quick start guide 1 1.1 Overview of the package......................................... 1 1.2 Package setup..............................................

More information

Redis to the Rescue? O Reilly MySQL Conference

Redis to the Rescue? O Reilly MySQL Conference Redis to the Rescue? O Reilly MySQL Conference 2011-04-13 Who? Tim Lossen / @tlossen Berlin, Germany backend developer at wooga Redis Intro Case 1: Monster World Case 2: Happy Hospital Discussion Redis

More information

Couchbase Architecture Couchbase Inc. 1

Couchbase Architecture Couchbase Inc. 1 Couchbase Architecture 2015 Couchbase Inc. 1 $whoami Laurent Doguin Couchbase Developer Advocate @ldoguin laurent.doguin@couchbase.com 2015 Couchbase Inc. 2 2 Big Data = Operational + Analytic (NoSQL +

More information