Re: Cherrypy horizontal scaling

Benjamin Melki <[email protected]>
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Ok so i just launch several instances, each on a different http port. 

Will they get automatically distributed on the cpu cores? Anything special to do about that. Os will be linux.  

> Le 15 avr. 2016 à 22:17, David Allouche <[email protected]> a écrit :
> 
> 
>> On 15 Apr 2016, at 01:17, Benjamin Melki <[email protected]> wrote:
>> 
>> Thank you this is exactly what i wanted to know. So the horizontal scaling is independant from cherrypy. 
>> 
>> Can you please briefly point me on correct resource to learn more about python process?
> 
> Briefly, in the simple case you just start multiple instances with different http configurations. No python code involved at all.
> 
> If you have some communication between instances, you need something more complex. Check the "multiprocessing" package from the standard library.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google Groups "cherrypy-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/cherrypy-users/jb29As1CSzc/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.