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

    Cache::Memcached::XS 0.01

    Download button

    No screenshots available
    Downloads: 356  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jacques Caron & Oxado SARL | More programs
    Perl Artistic License / FREE
    May 28th, 2007, 22:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Cache::Memcached::XS description

    Cache::Memcached::XS is a client library for memcached (memory cache daemon) using libmemcache.

    Cache::Memcached::XS is a client library for memcached (memory cache daemon) using libmemcache.

    SYNOPSIS

    use Cache::Memcached::XS;

    $memd = new Cache::Memcached {
    'servers' => [ "10.0.0.15:11211", "10.0.0.15:11212",
    "10.0.0.17:11211", [ "10.0.0.17:11211", 3 ] ],
    'compress_threshold' => 10_000,
    };
    $memd->set_servers($array_ref);
    $memd->set_compress_threshold(10_000);
    $memd->enable_compress(0);

    $memd->set("my_key", "Some value");
    $memd->set("object_key", { 'complex' => [ "object", 2, 4 ]});

    $val = $memd->get("my_key");
    $val = $memd->get("object_key");
    if ($val) { print $val->{'complex'}->[2]; }

    $memd->incr("key");
    $memd->decr("key");
    $memd->incr("key", 2);

    This is the Perl API for memcached, a distributed memory cache daemon. More information is available at:

    http://www.danga.com/memcached/

    This version differs from the original Cache::Memcached perl client in that it uses the libmemcache library and uses quite a lot less CPU.

    A few features from the original client are not (yet) supported:

    - no_rehash
    - debug
    - stats
    - disconnect_all

    Other than this, it should be pretty much a drop-in replacement for the original client.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    memcached library | memory cache | Perl module | Cache::Memcached::XS | memcached | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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