Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A memcached based data structure for storing and querying key/vals in very helpful ways.
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
interface
lib
README
test_aggregation.php
test_insert.php
test_insert_stress.php
test_multiQuery.php

README

MemoryList - Memcached based data structure.


See files for detailed comments, main intent:

General library to store large amounts of data in memcache and be able to easily query, persistently traverse and aggregate it.  Potential and currently tested uses below.


Main features:
* Query modifiers: limit / offset.
* Waypoints: keep multiple waypoints to persistently iterate through the stream.
* Abstraction points available for storing to other medium like mysql, compatible with waypoints and modifiers.
* Aggregation: frees memory and aggregates data best as possible where similar, or to a max level (aggregate maximum 10 duplicate entries)
* Multi-Query: maintain and query multiple streams to get results sorted by time.


Potential Uses:
* Real time stat keeping/viewing.
* Very easy to implement notification system like friends actions on a website.
* Temporarily store app/stat data for many users with periodic dumps to disk.
* Chat system. Not an ideal use case but I've done it for fun :)
Something went wrong with that request. Please try again.