On 09/11/2013 06:51 PM, Reindl Harald wrote:
> as i read in serverl discussions POP3 should not be
> affected from spin-locks/event-handkler problems
> this sounds for me like dbmail-pop3d is still
> single threaded?
Correct. Only imapd is threaded.
> does this finally mean that only one connection
> is served with data while the others practically
> wait?
No. It is single-threaded, but multiplexed. All connections will be
served as fast as possible.
>
> if yes - should we not start more than one process
> and what happens if the current served client is
> terrible slow while receive a 15 MB message?
>
> will all others have to wait for him?
No. A multiplexed server is perfectly capable to send data to many, many
concurrent clients. The only thing that will block IO, is well, blocking
actions. This basically boils down to queries. Queries block the
process, so while a query is underway, nothing else happens. But queries
used by pop3d are typically very fast, so they don't hold things up too
much.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail