• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Prefork, Perchild, Worker, Threadpool, Leader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefork, Perchild, Worker, Threadpool, Leader


  • Subject: Re: Prefork, Perchild, Worker, Threadpool, Leader
  • From: Dario <email@hidden>
  • Date: Wed, 14 Apr 2004 19:34:47 +0200

Il giorno 14/apr/04, alle 18:59, Eric Seidel ha scritto:

You want either pre-fork (if you have dependancies on modules which are not yet guaranteed thread safe -- like php or any of the opensource apple modules), or worker (if you can guarantee thread safty) depending on your setup/platform etc.

If you don't know which to choose, I would default to "pre-fork" and if you find yourself with performance problems, investigate other options.

-eric


On Apr 14, 2004, at 8:27 AM, Dario wrote:

However I am now installing Apache 2 and I have seen these 5 types of server :
Prefork, Perchild, Worker, Threadpool, Leader.

As apache documentation says threadpool shouldn't be used, since most of his code is now built in the more performant worker, it was just a variant, now is a testlab for worker future.

http://httpd.apache.org/docs-2.0/mod/prefork.html
http://httpd.apache.org/docs-2.0/mod/perchild.html
http://httpd.apache.org/docs-2.0/mod/leader.html
http://httpd.apache.org/docs-2.0/mod/worker.html

what coulb be the best of these kind of server ?
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.




this is not only a question of performance or thread safety, I have always known that a threadpool server like prechild,threadpool or worker were slower and simplier to write the code of the protocol since it was able to acept blockable read/write operation
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >Prefork, Perchild, Worker, Threadpool, Leader (From: Dario <email@hidden>)

  • Prev by Date: Re: Prefork, Perchild, Worker, Threadpool, Leader
  • Next by Date: Re: Unbinding an endpoint in OT when running in Classic.
  • Previous by thread: Re: Prefork, Perchild, Worker, Threadpool, Leader
  • Next by thread: Re: Unbinding an endpoint in OT when running in Classic -- solved.
  • Index(es):
    • Date
    • Thread