• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..29-Oct-2021-

Makefile.incH A D29-Oct-20211.1 KiB257

READMEH A D29-Oct-20211.1 KiB2517

limiter.hH A D29-Oct-20214.4 KiB158107

rate_limit.ccH A D29-Oct-20215.4 KiB163102

sni_limiter.ccH A D29-Oct-20214.2 KiB13385

sni_limiter.hH A D29-Oct-20211.3 KiB4216

sni_selector.ccH A D29-Oct-20214.9 KiB14181

sni_selector.hH A D29-Oct-20211.7 KiB5628

txn_limiter.ccH A D29-Oct-20215.8 KiB166113

txn_limiter.hH A D29-Oct-20211.8 KiB5024

utilities.ccH A D29-Oct-20214 KiB11469

utilities.hH A D29-Oct-20211.1 KiB309

README

1Rate Limiting plugin
2====================
3
4This ATS provides basic rate limiting functionality, it currently has two modes:
5
6* As a remap plugin, it will limit the number of concurrent transactions
7* As a global plugin, it will limit the number of concurrent TLS connections
8
9TODO
10====
11
12This is still POC / MVP, and needs work. Here's a short list of ToDo items:
13
14* We ought to have a YAML configuration, and YAML parser, for the SNI limiters.
15
16* The global YAML configuration(s) also should be reloadable at run time. This
17  likely is best done replacing the entire SNI selector, at which point care has
18  to be taken when replacing the current selector, and when to delete it (ref-count?).
19
20* The per-remap rules each creates its own queue processing continuation. This is
21  pretty inefficient, and it would make sense to make a new TXN based selector, which
22  keeps the list of all TXN limiters currently in used. Care has to be taken here when
23  reloading remaps, to only remove limiters which are no longer needed (should be ok
24  since the remap destructor only gets called after all ref-counts are zero).
25