Skip to content

Instantly share code, notes, and snippets.

@manfre
Created September 5, 2012 14:28

Revisions

  1. manfre revised this gist Sep 6, 2012. 1 changed file with 2 additions and 49 deletions.
    51 changes: 2 additions & 49 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -1,50 +1,3 @@
    Faking a Process based Apache MPM on Windows
    ============================================

    mpm_winnt
    ---------

    - One process, many threads

    ----

    What's Wrong With Threads?
    --------------------------

    - GIL says "Good luck with that"

    - "Understanding the GIL" - David Beazley `http://www.dabeaz.com/GIL/`_

    .. _`http://www.dabeaz.com/GIL/`: http://www.dabeaz.com/GIL/

    - All sites are IO heavy

    - Network -> Cache -> Database -> Disk -> Network

    ----

    How To Fake It?
    ---------------

    - Web farm on a box (many Apaches)
    - Load balancer

    - mod_proxy_balancer (on the box)
    - HAProxy
    - ...

    - Benefit: Forces you to plan for scaling

    ----

    Is There A Better Way?
    ----------------------

    If you have ideas, please contact me.

    Michael Manfre

    manfre on Bitbucket | Github | Freenode

    ----
    Moved to `http://manfre.github.com/talk-process-apache-windows/`_

    .. _`http://manfre.github.com/talk-process-apache-windows/`: http://manfre.github.com/talk-process-apache-windows/
  2. manfre revised this gist Sep 5, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@ What's Wrong With Threads?
    .. _`http://www.dabeaz.com/GIL/`: http://www.dabeaz.com/GIL/

    - All sites are IO heavy

    - Network -> Cache -> Database -> Disk -> Network

    ----
  3. manfre revised this gist Sep 5, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,7 @@ How To Fake It?

    - Web farm on a box (many Apaches)
    - Load balancer

    - mod_proxy_balancer (on the box)
    - HAProxy
    - ...
  4. manfre revised this gist Sep 5, 2012. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -15,20 +15,21 @@ What's Wrong With Threads?

    - "Understanding the GIL" - David Beazley `http://www.dabeaz.com/GIL/`_

    - Newer HTTP requests lag previous requests

    .. _`http://www.dabeaz.com/GIL/`: http://www.dabeaz.com/GIL/

    - All sites are IO heavy
    - Network -> Cache -> Database -> Disk -> Network

    ----

    How To Fake It?
    ---------------

    - Web farm on a box (many Apaches)
    - Load balancer

    - mod_proxy_balancer (on the box)
    - HAProxy
    - ...

    - Benefit: Forces you to plan for scaling

    @@ -41,7 +42,7 @@ If you have ideas, please contact me.

    Michael Manfre

    manfre on Bitbucket | Github | IRC
    manfre on Bitbucket | Github | Freenode

    ----

  5. manfre revised this gist Sep 5, 2012. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -30,6 +30,8 @@ How To Fake It?
    - mod_proxy_balancer (on the box)
    - HAProxy

    - Benefit: Forces you to plan for scaling

    ----

    Is There A Better Way?
  6. manfre revised this gist Sep 5, 2012. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ What's Wrong With Threads?

    - GIL says "Good luck with that"

    - "Understanding the GIL" - David Beazley `http://www.dabeaz.com/GIL/`_
    - "Understanding the GIL" - David Beazley `http://www.dabeaz.com/GIL/`_

    - Newer HTTP requests lag previous requests

    @@ -27,6 +27,9 @@ How To Fake It?
    - Web farm on a box (many Apaches)
    - Load balancer

    - mod_proxy_balancer (on the box)
    - HAProxy

    ----

    Is There A Better Way?
    @@ -36,7 +39,7 @@ If you have ideas, please contact me.

    Michael Manfre

    manfre on IRC | Bitbucket | Github | IRC
    manfre on Bitbucket | Github | IRC

    ----

  7. manfre revised this gist Sep 5, 2012. 1 changed file with 22 additions and 6 deletions.
    28 changes: 22 additions & 6 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,6 @@
    Faking a Process based Apache MPM on Windows
    ============================================

    Michael Manfre

    manfre on (IRC|Bitbucket|Github|IRC)


    mpm_winnt
    ---------

    @@ -17,10 +12,31 @@ What's Wrong With Threads?
    --------------------------

    - GIL says "Good luck with that"
    - "Understanding the GIL" - `http://www.dabeaz.com/GIL/`_

    - "Understanding the GIL" - David Beazley `http://www.dabeaz.com/GIL/`_

    - Newer HTTP requests lag previous requests

    .. _`http://www.dabeaz.com/GIL/`: http://www.dabeaz.com/GIL/

    ----

    How To Fake It?
    ---------------

    - Web farm on a box (many Apaches)
    - Load balancer

    ----

    Is There A Better Way?
    ----------------------

    If you have ideas, please contact me.

    Michael Manfre

    manfre on IRC | Bitbucket | Github | IRC

    ----

  8. manfre revised this gist Sep 5, 2012. 1 changed file with 15 additions and 1 deletion.
    16 changes: 15 additions & 1 deletion faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,26 @@
    Faking a Process based Apache MPM on Windows
    ============================================

    Michael Manfre

    manfre on (IRC|Bitbucket|Github|IRC)


    mpm_winnt
    ---------

    - One process, many threads

    ----

    What's Wrong With Threads?
    --------------------------

    - GIL says "Good luck with that"
    - Newer HTTP requests act as anchor for previous requests.
    - "Understanding the GIL" - `http://www.dabeaz.com/GIL/`_
    - Newer HTTP requests lag previous requests

    .. _`http://www.dabeaz.com/GIL/`: http://www.dabeaz.com/GIL/

    ----

  9. manfre created this gist Sep 5, 2012.
    12 changes: 12 additions & 0 deletions faking-process-based-mpm-on-windows.rst
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    Faking a Process based Apache MPM on Windows
    ============================================

    mpm_winnt
    ---------

    - One process, many threads
    - GIL says "Good luck with that"
    - Newer HTTP requests act as anchor for previous requests.

    ----