Re: Qpsmtpd vs Haraka performance

2011-09-14 Thread Aleksandar Lazic

Hi Matt,

On Die 13.09.2011 11:10, Matt Sergeant wrote:

I just benchmarked Qpsmtpd vs Haraka and thought some here might find
the results interesting:

http://baudehlo.wordpress.com/2011/09/13/node-js-is-fast/

(not meant as inflammatory, obviously I still have love for Qpsmtpd)

Matt.


How about to check the regex performance with a plugin like:

check_badmailfrom_patterns
check_badrcptto_patterns
rcpt_regexp

I think the main benefit of perl is his regex engine.

BR
Aleks


Re: Qpsmtpd vs Haraka performance

2011-09-14 Thread Matt Sergeant

Aleksandar Lazic wrote:

Hi Matt,

On Die 13.09.2011 11:10, Matt Sergeant wrote:

I just benchmarked Qpsmtpd vs Haraka and thought some here might find
the results interesting:

http://baudehlo.wordpress.com/2011/09/13/node-js-is-fast/

(not meant as inflammatory, obviously I still have love for Qpsmtpd)

Matt.


How about to check the regex performance with a plugin like:

check_badmailfrom_patterns
check_badrcptto_patterns
rcpt_regexp

I think the main benefit of perl is his regex engine.


Regular expressions are much faster in Javascript (well, in V8). They 
also suck (lots and lots of features missing). But if you don't need 
advanced features then they are going to be faster.


Matt.