Note that there are some explanatory texts on larger screens.

plurals
  1. USRubinous
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COYour answer was very educating, thank you. Hope those PyCon links will be up soon. But. While our overall goal is actually to understand the theory of different web server types (towards which your answer helped alot), with this SO question, we aim to understand the limitations of numbers of threads in a thread based web server. Is it physical memory? Or is it related to context switching overhead perhaps?
      singulars
    2. COHow many threads and processes you had configured for your Apache? At least in case of a realistic web app (not just static file serving) it makes a difference. Try tweaking the numbers for the Apache's mpm_worker_module (http://httpd.apache.org/docs/2.2/mod/worker.html) and see how it affects the results. I believe that when you increase the requests and the amount of threads, you will hit a wall at some point with Apache while node.js still keeps scaling.
      singulars
    3. COI agree with that. However in this case, by trust, I mean that I don't know those people who make the templates. I am just providing a Django application as a third party module to external organizations but I require the organizations to make their own templates as I don't want to put any constrains to their html and I am also only interested in the logic myself. But I want to handle security in the logic (in the views) so that template providers have less responsibility and smaller risk of exposings something they shouldn't. It would be difficult to keep the question simple with a real case.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload