We are looking to understand "Apply Throughput Quota Assertion" VS "Apply Rate Limit Assertion"
Release : 10.0
Component :
These assertions are documented:
The Apply Rate Limit assertion allows you to limit the rate of transactions passing through the Layer7 API Gateway for a given user, client IP address, or other identifier - Not global and for Transaction passing through at a given time.
If you are looking to limit calls at one time (overload), the Apply rate limit could be used.
For a lot more details see documentation
The Apply Throughput Quota Assertion allows you to limit the number of service requests permitted within a predetermined time period.
This counter is global to the Gateway and stored in the SSG db table counters, different services can contain Apply Throughput Quota assertions that use the same counter
In the example I only allow 2000 transactions a day once reached the assertions will log and fail for the remainder of the day. Query on the counters table showing my CLientIP and day limit reached
mysql> SELECT from_unixtime(last_update/1000), countername, cnt_day FROM ssg.counters ORDER BY from_unixtime(last_update/1000) ASC;
+---------------------------------+---------------------------------------+---------+
| from_unixtime(last_update/1000) | countername | cnt_day |
+---------------------------------+---------------------------------------+---------+
| 2022-02-09 15:36:17.9010 | PRESET(eeb3791fca0a74b9)<ClientIP>| 2000 |
+---------------------------------+---------------------------------------+---------+
1 row in set (0.00 sec)