Hi,

    I am playing with the current Perl Threads, (5.6.1 and up) which 
completely differ from the previous versions.
    I was thinking in a more elegant implementation, the problem is not the 
threads by themselves, but sharing variables between them... Actually 
sharing complex multidimensional variables between the threads is a pain in 
the butt... because you have to shared every node.

    Anyway... the big question... is... would the benefits, worth the 
trouble?

    Now... about POE... I never used it, it might be interesting, but I 
wonder if it wouldn't be too much overhead.
    I guess things have to be tried first, so I will give a ride to POE.

    Regards!
Javier




----- Original Message ----- 
From: "Przemek Czerkas" <[EMAIL PROTECTED]>
To: "Questions and Answers for users of ASSP Anti-Spam SMTP Proxy" 
<[email protected]>
Sent: Monday, June 26, 2006 4:48 PM
Subject: Re: [Assp-user] Multi threading ASSP


>>      Has anybody analyzed the possibility of rewrtitting ASSP as as multi
>> threaded proxy instead of using the socket select alone?
>>      Do you think this may have any technical benefit per se? (Without 
>> the
>> consideration of all the work that this would mean of course)
>>
>>      I am asking this because I started playing with the concept, and
>> getting up a simple (dumb) multithreaded SMTP proxy was fairly simple. Of
>> course, all the features are the difficult thing to achieve.... but as a
>> proof of concept it did work really easily.
>>
>>     Any opinions about it?
>
>
> I've added simple cooperative multitasking kernel based on semi-coroutines
> emulated in pure Perl - the implementation is rather ugly, but theres no 
> need
> to use synchronization objects like semafores, mutexes etc and it was
> straighforward (put cede() subroutine here and there :-)
>
> AFAIK Perl's threads are stable from 5.8.0 upwards, but I have no 
> experience
> with them. One may also consider use of POE framework.
>
> Przemek
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user
> 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to