- SEE ALSO
- COPYRIGHT AND LICENSE
Plack::Middleware::Throttle::Lite::Backend::Simple - Simple (in-memory) backend for Throttle::Lite
# inside your app.psgi enable 'Throttle::Lite', backend => 'Simple';
This is very simple implemetation of the storage backend. It holds all data in memory. If you restart application all data will be flushed.
The parameter backend must be set to
Simple in order to use this storage backend with the Throttle::Lite middleware in your Plack application.
Returns total proceeded requests for current key.
Increments total proceeded requests by one for current key.
Anton Gerasimov <firstname.lastname@example.org>
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.