aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/bayes_expiry.lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Reformat all Lua code, no functional changesVsevolod Stakhov2023-08-071-25/+30
|
* [Minor] Update my email and the copyright yearVsevolod Stakhov2022-03-251-1/+1
|
* Spelling (#4086)Josh Soref2022-02-221-11/+11
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] bayes_expiry: Fix type checkAlexander Moisseev2020-01-141-1/+1
|
* [Minor] Bayes_expiry: Test type before trying to evaluateVsevolod Stakhov2020-01-131-17/+20
| | | | Issue: #3208
* [Feature] Calculate tokens occurrences distributionmoisseev2019-07-131-2/+53
|
* [Minor] Avoid using reserved wordmoisseev2019-07-111-4/+4
| | | | as a local variable
* [Rework] Bayes expiry: eliminate `default` expiration modeAlexander Moisseev2019-06-271-17/+7
| | | | as it has no benefits over `lazy` mode
* [Fix] Another fix for Redis sentinelVsevolod Stakhov2019-04-011-4/+7
| | | | Issue: #2796
* [Minor] Remove too long strings in Lua codeVsevolod Stakhov2018-12-231-4/+9
|
* [Minor] Simplify uniqueness checkVsevolod Stakhov2018-11-231-11/+4
|
* [Minor] Fix configuring logic for bayes_expiryVsevolod Stakhov2018-11-231-5/+28
|
* [Minor] Fix bayes_expiry disablingAlexander Moisseev2018-11-231-1/+1
|
* [Minor] Fix expiry config overridingVsevolod Stakhov2018-10-301-1/+5
|
* Update bayes_expiry.luaThomas Leuxner2018-07-151-1/+1
| | | Fix whitespace in logger message.
* [Minor] Distinguish `insignificant` tokens group in bayes_expiryAlexander Moisseev2018-04-211-16/+28
|
* [Minor] Properly merge Redis hash into a tableAlexander Moisseev2018-04-211-10/+3
|
* [Minor] Store expiry cycle statistics counters in RedisAlexander Moisseev2018-04-201-31/+76
|
* [Minor] Keep cursor permanentlyAlexander Moisseev2018-04-191-2/+2
|
* [Minor] Add support of read only redis paramsVsevolod Stakhov2018-04-191-1/+6
|
* [Minor] Keep expiry step number in RedisAlexander Moisseev2018-04-181-13/+14
|
* Merge pull request #2182 from moisseev/expiryVsevolod Stakhov2018-04-181-0/+1
|\ | | | | [Minor] Stop expiry if read_servers configured
| * [Minor] Stop expiry if read_servers configuredAlexander Moisseev2018-04-171-0/+1
| |
* | [Minor] Fix templateVsevolod Stakhov2018-04-181-1/+1
|/
* [Feature] Implement cluster-aware bayes expiryVsevolod Stakhov2018-04-161-18/+47
|
* [Minor] Discriminate infrequent common tokens as wellAlexander Moisseev2018-04-161-7/+7
|
* [Minor] Log expiry step numberAlexander Moisseev2018-04-141-2/+5
|
* [Minor] Use lua_util.unpack for compatibility with Lua 5.3Alexander Moisseev2018-04-141-1/+1
|
* [Minor] Fix bayes_expiry loggingAlexander Moisseev2018-04-141-9/+20
|
* [Feature] Allow to change `expire` of live statisticsAlexander Moisseev2018-04-121-8/+14
| | | | | | | | This change allows to set lower `expire` value in configuration. TTLs greater than new `expire` will be reset during the expiry cycle. In order to set `expire` value greater than current one, first make tokens persistent (set `expire = -1;`) and set new `expire` value when at least one expiry cycle completed.
* [Feature] Add lazy expiration mode for new classifier schemaAlexander Moisseev2018-04-101-17/+43
|
* [Minor] Use fixed TTL to expire common elementsAlexander Moisseev2018-04-081-11/+15
|
* [Minor] Log combined statistic at the final expiry stepAlexander Moisseev2018-03-231-14/+20
|
* [Minor] Fix division by zeroVsevolod Stakhov2018-03-221-2/+6
|
* [Minor] Try better to expiry bayes in a clustered setupVsevolod Stakhov2018-03-121-5/+17
|
* [Minor] Add jittering to expiration periodicVsevolod Stakhov2018-03-121-1/+1
|
* [Minor] Try to improve tokens expiration logicVsevolod Stakhov2018-03-121-18/+38
|
* [Minor] Use more portable rounding functionVsevolod Stakhov2018-03-111-2/+2
|
* [Fix] Fix expire roundingVsevolod Stakhov2018-03-111-13/+10
|
* [Minor] Add common methods to find a primary controllerVsevolod Stakhov2018-02-261-1/+1
|
* [Feature] New bayes expiry pluginVsevolod Stakhov2018-02-241-234/+186
|
* [Feature] Store plugins stateVsevolod Stakhov2017-12-031-1/+4
|
* [Minor] Use controller for single-instance tasksAndrew Lewis2017-08-261-2/+2
|
* [Feature] Bayes expiry pluginAndrew Lewis2017-06-101-0/+296