How do web servers like apache do things asynchronously? Does django have relative logic too? -


  1. i learn being asynchronous when write code twisted, wonder how common web servers process thing asynchronously. case of below: apache client request a, , there maybe operations block main process. if apache doesn't tricks here, @ time client b send request , , client b no response. right? guess, every client request processed in dependent process/thread?

  2. and django web framework, question whether django has logic "not blocking", or work handled totally web servers.

there no tricks here, really. apache spins multiple processes and/or threads (depending on how configured), , request routed next available one.

the logic exclusively in web server.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -