Re: Why use threads ( was: Alan Cox quote?)

Victor Yodaiken (yodaiken@fsmlabs.com)
Wed, 20 Jun 2001 15:26:04 -0600


On Wed, Jun 20, 2001 at 02:01:16PM -0700, David Schwartz wrote:
> It's very hard to use processes for this purpose. Consider, for example, a
> web server. You don't want to use one process for each client because that
> would limit your scalability (16,000 clients would become difficult, and
> with threads it's trivial). You don't want to use one thread for each client

How is it trivial? How do you debug a 16,000 thread application?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/