kickass_redis

A loose framework of kick-ass Redis patterns
Download

kickass_redis Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Price:
  • FREE
  • Publisher Name:
  • Dvir Volk
  • Publisher web site:
  • https://github.com/EverythingMe/

kickass_redis Tags


kickass_redis Description

kickass_redis aims to create a repository of useful Python libraries built on top of redis (and using each other), to automate data modeling with Redis.Redis is relatively low level, and while it is simple to start using, getting a good knowledge of how to model problems with it in an efficient way can be tricky. So I've created this project to wrap common use cases, into a loose framework of redis based solutions for real world problems.Components:1. Object Storea fast yet simple ORM (well, OM actually) that automates creation, indexing and searching for complex objects using redis.Indexes include: simple string index, numeric index that supports sorting and ranges, simplistic full text index, and a unique key.2. Bitmap Counterefficient unique value counter (to be used mostly as a unique users counter) with time slots, making use of redis bitmaps.It makes use of new redis-2.6 commands BITCOUNT and BITOP, so it will not function on redis-2.4.3. LuaCallA convenience wrapper that allows you to edit, precache and call Lua scripts available in redis-2.6, as if they were native python functions.4. Id GeneratorUsed in the object store, this can also be used standalone, as a centralized unique, incremental id generator using redis. To optimize performance, it reserves in local memory many ids when accessing redis, which can be tuned.5. Redis UnitA unit-test like set of assertions about redis data to be used to validate the data inside a redis database.Product's homepage


kickass_redis Related Software