Let’s say, I want to limit all user who visit my site (except register page) 5 times per second.
Suppose, there is a new user come to my site. My site register for the user, and then though the admin API to create a user in kong, and at last add a restriction for the user thought the admin API? (This is somthing like specific user)
Another way to achieve this is: every time user in kong, using a costom plugin to query (though my site) weather the user achieve the limitation.
The first solution is more complex, the second solution is to bad because the limit logic is not in doing in Kong. Is there anthoer better way to doing this?
And what’s the performance of the Kong(simple proxy request with no plugin)? Is there any page to show the statistic?