Abdullah Ibn Hamad wrote:
> Do you have any plans to have multi-threading since we
> have more OSes like FreeBSD supports that now, and the
> upcoming cpus multi with core from Intel and AMD?

There are more roads under the sun that lead to enlightenment:

http://www.kegel.com/c10k.html

Multi-threading is *not* the holy grail of high-performance IO.

My current thinking is that we want to max out the sql-server by serving
many clients from a single (or a few) server processes that together
share a single pool of sql-connections.

Currently the maximum number of concurrent clients is limited by the
maximum number of concurrent connections allowed by the sql-server, even
though many of those sql-connections will be idle most of the time.
Making the server code multi-threaded is no remedy here (afaik). But
using multiplexing IO is. After that, the raw performance of the
sql-server will become the main performance bottleneck (I suspect). As
well it should be.

Don't expect this stuff until the 2.3 development series though. 2.1 is
mainly aimed at adding new features, improving imap performance and
doing code cleanups.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to