Closed WALL-E closed 3 years ago
have you seen #234?
@Tieske there could be significant difference, for example, plug-in doesn't have enough ability to judge the requestor is a robot or not, it needs to rely on a third-party, risk management or big-data.
Throttling algorithm seems rather coarsely.
the plugin's schema.lua may be like
return {
fields = {
deferred_execution_ millisecond = { default = 100, type = "number" }
}
}
Sorry, not getting the requested behaviour just yet.
I need a plugin to delay all http requests when the system is in an abnormal state, not limited or rejected,
Questions;
judge the requestor is a robot or not, it needs to rely on a third-party, risk management or big-data.
how does this fit into the way the plugin should work?
so the plugin should defer ALL requests?
Sorry, I may be a misnomer. Not all, only to meet certain conditions of the request
when should it start returning errors?
most of the time, do not return an error, just slow down the request
so you intent to use it as a devops tool? some monitoring tool triggers it and then you insert this plugin automatically through the management api? (and remove again when the situation normalizes)
no devops tool, but user behavior analysis
may be need two config option (For each user)
There are two roles
Recently I was developing a software firewall, I need a plugin to delay all http requests when the system is in an abnormal state, not limited or rejected, especially when doing “flash deal”
Two reasons
Others?