modoboa/modoboa-stats

Improve parser performance

tonioo opened this issue · 1 comments

From @tonioo on December 4, 2013 15:22

Originally created by Antoine Nguyen on 2009-11-06T11:02:11Z

We need to define a better parser structure:

  • Don't parse already handled lines (based on the date)

Copied from original issue: modoboa/modoboa#44

Posted by Florent Dionisi on 2009-11-26T17:24:10Z

Improved by parsing line timestamp only when it changes by rrd time step, at least.

It Needs to be tested on large log file before setting to "fixed".

Parser structure can still be improved by grouping each match or search operation by program type (cleanup, smtpd,etc...).