Typhoon App Engine Redis Datastore.
Project description
This package contains an API proxy stub to connect TyphoonAE or the Google App Engine SDK to a Redis database.
Introduction
Redis is an advanced key-value store. In contrast to approaches like memcache, its dataset is not volatile, and values can be strings, lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server side union, intersection, difference between sets, and so forth. And Redis supports different kinds of sorting abilities.
Since Redis provides master-slave replication with very fast non-blocking first synchronization and auto reconnection on net split, it is very interesting to be used as Datastore backend for TyphoonAE. This package contains the API proxy stub to seamlessly connect TyphoonAE or the Google App Engine SDK to a Redis database server.
See http://code.google.com/p/redis for further information on Redis.
Copyright and License
Copyright 2010 Tobias Rodaebel
This software is released under the Apache License, Version 2.0. You may obtain a copy of the License at
Building and Testing
Get a local copy of the TyphoonAE Redis repository with this command:
$ hg clone https://redis.typhoonae.googlecode.com/hg/ typhoonae-redis
Change into the typhoonae-redis directory and run the buildout:
$ python bootstrap.py $ bin/buildout
To run all unit tests start the Redis server and enter the following command:
$ bin/nosetests
Using the TyphoonAE Redis Datstore with the Google App Engine SDK
This buildout already downloads and patches the Google App Engine SDK for you. In order to use the Redis Datastore just start the development appserver with an additional option:
$ bin/dev_appserver –use_redis parts/google_appengine/demos/guestbook/
Important: The Redis server must be listening on port 6379.
The Datastore Redis stub also supports the SDK’s bulkloader. Thus it should be possible to restore downloaded data into your local running application.
Contributing
Since the TyphoonAE project uses Mercurial as SCM, you can easily create a clone of it on http://code.google.com/p/typhoonae/source/clones?repo=redis.
Visit the project page http://typhoonae.googlecode.com for further information.
Feel free to join the TyphoonAE Discussion Group:
Report issues here:
CHANGES
Version 0.1.0b1 (2010-05-13)
First beta release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file typhoonae.redis-0.1.0b1.tar.gz
.
File metadata
- Download URL: typhoonae.redis-0.1.0b1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4a4d2098ae303fc578cc19972a6b590f94fb83650f94a2312470170965003d |
|
MD5 | a1f8e61355352e1a432988bdc6d994a1 |
|
BLAKE2b-256 | efcb29a49dd7841597ec53d8ad6b75b12dab1877a5ba7f2d1771a25b48faf2e0 |