Re: AnyEvent mode?

[email protected] (Aleksandar Lazic)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
On Don 02.12.2010 19:04, Matt Sergeant wrote:
> On Thu, 2 Dec 2010, Ask Bjørn Hansen wrote:
>
>>
>> On Dec 2, 2010, at 10:37, Aleksandar Lazic wrote:
>>
>>> Maybe we can make another benchmark AnyEvent vs  Danga::Socket due to
>>> the fact that AnyEvent with EV as underlaying event lib looks very fast
>>> from the internet source ;-)
>>
>> Matt was (I'm guessing) testing a load that's artificial to anyone who's 
>> not just archiving spam from a spam trap.  For the rest of us by far most 
>> of the resources go to the various spam filtering stuff, so the performance 
>> will be fine.
>>
>> More important is the ease of use of the APIs, the general eco system etc.  
>> On those AnyEvent wins (in my opinion).
>
> Sorry yeah I think I have it working, but our work data centre is down
> right now so I can't get at the files :-(
>
> Will email the latest ones here when I get the chance.

Thanks, I'am quite interested.

> And yes it was slower than Danga::Socket (despite EV being "fast",
> Danga::Socket hits directly to epoll, with very little API in the way,
> so ends up being faster) but Ask's point stands - there's more dev
> done around AnyEvent on CPAN.

Ok. I will try to get the runbench2, in eg directory of AnyEvent,
working with Danga::Socket and try to compare.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.