Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    appendonly 1.0.1

    Download button

    No screenshots available
    Downloads: 191  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tres Seaver, Agendaless Consulting | More programs
    ZPL / FREE
    February 22nd, 2012, 17:17 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    appendonly description

    Persistent append-only data structures

    appendonly is a module that provides a set of data structures for use in ZODB applications where standard BTrees are poor fits for an application's requirements.

    In particular, these data structures are designed to minimize conflict errors when doing frequent "append" operations to queues and stacks.

    appendonly.AppendStack

    This class provides a LIFO stack of separately-persisted objects:

     * The stack manages a set of "layer" objects, with a configurable limit on the number of layers. Each layer has a configurable maximum length, and a sequential generation number.
     * The stack appends items to most recent layer until the layer is filled; it then adds a new layer.
     * If the number of layers then exceeds the configured maximum, the stack pruneds the oldest layer(s) to conform to that limit.
     * When pruning, the stack calls an application-supplied callback for archiving / cleanup of the pruned layer.
     * Iteration over the stack yields (generation, index, object) tuples. in reverse order to that in which the objects were appended.

    The stack is implemented as a single persistent record, with custom ZODB conflict resolution code.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Fix brown-bag in 1.0 release ('Accumulator.append' changes were not persisted).

      


    TAGS:

    data structures | ZODB applications | persistent | append-only | ZODB

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM