diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2019-11-02 22:49:07 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2019-11-02 23:32:07 +0100 |
commit | 86e4cd0731b7164a8947fa3497483378aa1de209 (patch) | |
tree | fb81c6c2ab180e40cd9e5a4fe66f843689bc4edf /web/html/tu.php | |
parent | a29155ac5bab3fcae46543ac97f64e3496e0194d (diff) | |
download | aur-86e4cd0731b7164a8947fa3497483378aa1de209.tar.gz aur-86e4cd0731b7164a8947fa3497483378aa1de209.tar.xz |
aurjson: use APCu/memcached for rate limiting
There's no need to use permanent storage for rate limiting information;
try to keep it in memory if caching is enabled.
From experiments with our live setup, this reduces the number of
INSERT/DELETE operations per second from 15 to almost 0. Disk writes on
the server hosting the AUR are reduced by 90% (from ~3MB/s to ~300kB/s).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/tu.php')
0 files changed, 0 insertions, 0 deletions