Giter VIP home page Giter VIP logo

plack-middleware-throttle-lite-backend-memcached's Introduction

NAME
    Plack::Middleware::Throttle::Lite::Backend::Memcached - Memcache-driven
    storage backend for Throttle-Lite

VERSION
    version 0.03

DESCRIPTION
    This is implemetation of the storage backend for
    Plack::Middleware::Throttle::Lite. It uses memcache-server to hold
    throttling data, automatically sets expiration time for stored keys to
    save memory consumption.

SYNOPSYS
        # inside your app.psgi
        enable 'Throttle::Lite',
            backend => [
                'Memcached' => {
                    servers => [
                        'mc1.example.com:11211',
                        'mc1.example.com:11212',
                        'mc2.example.net:11210',
                    ],
                }
            ];

OPTIONS
    There are no backend-specific options. All options directly passing to
    downstream interface to memcached server. At the moment this is
    Cache::Memcached::Fast. See Cache::Memcached::Fast for available
    configuration options.

METHODS
  mc
    Returns a memcached connection handle.

  init
    See "ABSTRACT METHODS" in
    Plack::Middleware::Throttle::Lite::Backend::Abstract

  reqs_done
    See "ABSTRACT METHODS" in
    Plack::Middleware::Throttle::Lite::Backend::Abstract

  increment
    See "ABSTRACT METHODS" in
    Plack::Middleware::Throttle::Lite::Backend::Abstract

BUGS
    Please report any bugs or feature requests through the web interface at
    <https://github.com/Wu-Wu/Plack-Middleware-Throttle-Lite-Backend-Memcach
    ed/issues>

SEE ALSO
    Cache::Memcached::Fast

    Plack::Middleware::Throttle::Lite

    Plack::Middleware::Throttle::Lite::Backend::Abstract

AUTHOR
    Anton Gerasimov <[email protected]>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2013 by Anton Gerasimov.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

plack-middleware-throttle-lite-backend-memcached's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.