PAGI::FastAPI::RateLimit::Driver::CHI

CPAN version License: Artistic 2.0

PAGI::FastAPI::RateLimit::Driver::CHI is a storage driver plugin for PAGI::FastAPI::Middleware::RateLimit. It enables PAGI::FastAPI applications to leverage any caching backend supported by Perl's CHI framework, including Memcached, Redis, FastMmap, SharedMemory, and File-based storage.

By delegating state management to CHI, rate-limiting hit counters can easily be shared across multiple web worker processes or distributed application clusters.

INSTALLATION

Install the distribution from CPAN using your preferred client:

cpanm PAGI::FastAPI::RateLimit::Driver::CHI

Copyright (C) 2026 Mohammad Sajid Anwar.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License (2.0).