Hi Patrik,

i just pushed Version 1.002 to github and CPAN:

--
The following new features have been added:

- New option: timing_redis_password allows to specifiy a redis password

  - New option: timing_redis_exclude_re excludes rules from timing
    statistics. By default set to '^__' which will exclude all sub-rules

  - New option: timing_redis_database allows to select a non-default
    database in redis. (redis SWITCH call)

  - New option: timing_redis_bulk_update will queue timing updates
    before sending them to redis and execute them in a bulk via a
    single call to a server-side script. By default this option is set
    to 50 entries. Set to 0 do disable. Requires redis >= 2.6.0 and a
    Redis perl >= 1.954 module.
--

I'm currently not using it on a system where the overhead is relevant for me, but
i tried to reduce the number of redis command executed.
I hope this will reduce the overhead significant.

Feedback and test results welcome.

Markus

Am 2015-07-15 23:22, schrieb Patrick Ben Koetter:
Markus,

are you planning to add 'password' and 'database ID' support for redis
connects to RuleTimingRedis?

What's your experience regarding Timing overhead? My simple tests on the
commandlne show about 1 second overhead when RuleTimingRedis is added:

# Without RuleTimingRedis
mail# time spamassassin --lint

real    0m1.975s
user    0m1.852s
sys 0m0.116s

# Enable RuleTimingRedis
mail# vim /etc/mail/spamassassin/init.pre

# With RuleTimingRedis
mail# time spamassassin --lint

real    0m2.828s
user    0m2.128s
sys 0m0.392s

p@rick



* Benning, Markus <i...@markusbenning.de>:
Hello,

i want to announce the release of the SpamAssassin Plugins:

RedisAWL - redis support for spamassassin AWL/TxRep
RuleTimingRedis - collect SA rule timings in redis

Both can be downloaded from CPAN or GitHub:

https://metacpan.org/author/BENNING

https://github.com/benningm

Timings gathered with the RuleTimingRedis plugin can be used in collectd
with the Collectd-Plugins-RedisClient module also available from CPAN.

 Markus

--
Markus Benning, https://markusbenning.de/

--
Markus Benning, https://markusbenning.de/

Reply via email to