Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
If nothing else, the documentation on this page could suggest some reasonable 
defaults for a typical Python web application:

https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines

Original comment by [email protected] on 7 Oct 2013 at 5:21

from modwsgi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Please note that the mailing list is a better forum for discussion.

http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Asking_Your_Questions

Because web applications are normally I/O bound, the GIL is not the big problem 
people think it is and multithreading tends to be more than adequate. 
Multiprocessing only becomes more important when you are talking about CPU 
bound activities.

More important in web applications is usually memory usage and using single 
threading and many processes will use a lot lot more memory. This will often 
exhaust a users system memory long before they reach any performance issue due 
to the use of threading.

So overall the safer option for the typical user is a single process with 
multiple threads.

As to reasonable defaults, that is an impossible question to answer as it 
depends on your specific web application. There is no one right way.

I would suggest you go watch my talks:

http://lanyrd.com/2012/pycon/spcdg/
http://lanyrd.com/2013/pycon/scdyzk/

Original comment by [email protected] on 8 Oct 2013 at 5:42

from modwsgi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
OK, well thanks for the reply. I agree that "reasonable defaults" is 
subjective, and I will check out the talks. Thanks again.

Original comment by [email protected] on 11 Oct 2013 at 6:55

from modwsgi.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Closing out documentation issues. Will pick up another time on github side when 
get enough momentum to work on documentation again.

Original comment by [email protected] on 12 Nov 2014 at 11:03

  • Changed state: WontFix

from modwsgi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.