| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sun, 18 Jan 2026 10:52:24 GMT
X-Served-By: cache-dfw-kdfw8210168-DFW, cache-bom-vanm7210038-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768733544.130347,VS0,VE383
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
wai-rate-limit-postgres: See README for more info
wai-rate-limit-postgres: See README for more info
Downloads
- wai-rate-limit-postgres-0.6.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.0.0, 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.6.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.14 && <5), bytestring (>=0.10 && <0.12), postgresql-simple (>=0.6 && <0.7), resource-pool (>=0.2.3.2 && <0.4), text (>=1.2.4 && <2.1), wai-rate-limit (>=0.3.0.0 && <1.0) [details] |
| Tested with | ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.3 |
| License | Apache-2.0 |
| Copyright | 2022 Aditya Manthramurthy |
| Author | Aditya Manthramurthy |
| Maintainer | Aditya Manthramurthy <aditya.mmy@gmail.com> |
| Uploaded | by AdityaManthramurthy at 2022-06-27T23:32:30Z |
| Category | Security, Web, Network |
| Home page | https://github.com/donatello/wai-rate-limit-postgres |
| Bug tracker | https://github.com/donatello/wai-rate-limit-postgres/issues |
| Source repo | head: git clone https://github.com/donatello/wai-rate-limit-postgres.git |
| Distributions | |
| Downloads | 566 total (22 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2022-06-28 [all 1 reports] |
Readme for wai-rate-limit-postgres-0.6.0.0
[back to package description]wai-rate-limit-postgres
This is a companion package to wai-rate-limit that adds support to use PostgreSQL as a backend.
Depending on traffic and latency of PostgreSQL, this backend may or may not be appropriate for you.
Testing locally with Docker
Start a PostgreSQL docker container in a terminal:
$ docker run --name some-postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -it --rm postgres -c log_statement=all
Run tests in another terminal with:
$ export PG_DB_URI=postgres://postgres:postgres@localhost:5432/postgres
$ cabal test