Most (all I've tested) of the DB-drivers are not threadsave in Perl 5.xx - 
if for example someone uses Whitelist in DB - ASSP will crash if you try 
to use %Whitelist in an other thread -  there is no way to do this in Perl 
5.xx!
The only way to do maintenance for cache flushing and cleaning is to make 
new Tie::RDBM connections with new cache variables and do the maintenance 
with them!
We are thinking about ASSP-multithreading (one thread for every Con, one 
for maint and one for control management) in future dev version (maybe 
1.3.6) but at this time we are far away from a possible solution!

Thomas 




"Craig Schmitt" <[EMAIL PROTECTED]> 
Gesendet von: [EMAIL PROTECTED]
27.02.2008 22:17
Bitte antworten an
ASSP development mailing list <[email protected]>


An
"ASSP development mailing list" <[email protected]>
Kopie

Thema
[Assp-test] a multi-threaded assp






Is anyone interested in testing a multi-threaded version of assp?

I've been working on converting 1.3.5 to run all of the maintenance tasks 
(grip download, rebuildspamdb, cache flushing and cleaning ) in a separate 

thread to prevent blocking of SMTP connection processing.

I've been testing it on Win32 for a couple days but haven't tried it on 
linux, etc. yet.

any interest in that?

Craig 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test


DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to