Re: Proper cherrypy config to run multiple sites on same server

David Allouche <[email protected]> Wed, 2 Nov 2016 13:48:51 +0100
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
> On 2 Nov 2016, at 13:03, Benj <[email protected]> wrote:
> 
> Hello,
> 
> I'm going to use cherrypy on a multicore dedicated server, that will host 15 different sites.
> What's the proper way to configure cherrypy to take advantage of the available power ?
> 
> 1 Cherrypy process for all the sites (with thread pool taking advantage of multi core)
> or

Python thread pools cannot use multiple cores effectively because of the Python GIL

> 1 Cherrypy process for each site ?
> or
> 1 Cherrypy process per core ?

1 server process per core is right.

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.