JezK
Edit File: smart_spawning.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="570" height="420" id="svg3235" sodipodi:version="0.32" inkscape:version="0.48.2 r9819" sodipodi:docname="smart_spawning.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.0" inkscape:export-filename="/Users/hongli/Projects/passenger/doc/images/smart_spawning.png" inkscape:export-xdpi="78.947365" inkscape:export-ydpi="78.947365"> <defs id="defs3237"> <marker inkscape:stockid="Arrow1Mend" orient="auto" refY="0" refX="0" id="Arrow1Mend" style="overflow:visible"> <path id="path3877" d="M 0,0 L 5,-5 L -12.5,0 L 5,5 L 0,0 z" style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none" transform="matrix(-0.4,0,0,-0.4,-4,0)" /> </marker> <linearGradient id="linearGradient3177"> <stop style="stop-color:#d0e3ff;stop-opacity:1;" offset="0" id="stop3179" /> <stop style="stop-color:#3586ff;stop-opacity:1;" offset="1" id="stop3181" /> </linearGradient> <inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 526.18109 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="744.09448 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" id="perspective3243" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient3177" id="linearGradient3851" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.3645117,0,0,0.9754098,-8.3060528,168.12366)" x1="400" y1="25.362183" x2="399" y2="147.36218" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient3177" id="linearGradient3853" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.3425034,0,0,0.9754098,228.67469,247.12366)" x1="400" y1="25.362183" x2="399" y2="147.36218" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient3177" id="linearGradient3855" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.3425034,0,0,0.9754098,227.67469,92.623656)" x1="400" y1="25.362183" x2="399" y2="147.36218" /> <linearGradient inkscape:collect="always" xlink:href="#linearGradient3177" id="linearGradient4651" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.6588721,0,0,0.5983607,-6.798482,145.68645)" x1="400" y1="25.362183" x2="399" y2="147.36218" /> </defs> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="1" inkscape:pageshadow="2" inkscape:zoom="1" inkscape:cx="406.58261" inkscape:cy="159.47704" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" inkscape:window-width="1280" inkscape:window-height="703" inkscape:window-x="0" inkscape:window-y="72" inkscape:window-maximized="0" /> <metadata id="metadata3240"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <rect ry="10" rx="10" y="160.86218" x="52.5" height="73" width="479" id="rect4649" style="fill:url(#linearGradient4651);fill-opacity:1;stroke:none" /> <g id="g3791" transform="translate(14.07821,6.654763)"> <rect y="165.45535" x="48.593178" height="51.813644" width="200.81364" id="rect2383" style="fill:#0000cc;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.18635821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> <text id="text2385" y="199.62164" x="61.700211" style="font-size:23.59850502px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial;-inkscape-font-specification:Arial" xml:space="preserve"><tspan style="font-weight:normal;-inkscape-font-specification:Arial" y="199.62164" x="61.700211" id="tspan2387" sodipodi:role="line">Application code</tspan></text> <rect y="165.36218" x="249.5" height="52" width="257" id="rect3159" style="fill:#7c00c5;fill-opacity:1;stroke:none" /> <text id="text3165" y="200.48074" x="265.81216" style="font-size:23.59850502px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial;-inkscape-font-specification:Arial" xml:space="preserve"><tspan style="font-weight:normal;-inkscape-font-specification:Arial" y="200.48074" x="265.81216" id="tspan3167" sodipodi:role="line">Rails framework code</tspan></text> </g> <g id="g3827" transform="translate(-237.26407,168.03301)"> <rect ry="15" rx="15" y="117.36218" x="258.5" height="119" width="249" id="rect3175" style="fill:url(#linearGradient3855);fill-opacity:1;stroke:none" /> <rect y="166.36218" x="282.5" height="52" width="201" id="rect3173" style="fill:#0ea500;fill-opacity:1;stroke:none" /> <text id="text3169" y="200.31409" x="305.53094" style="font-size:23.59850502px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial;-inkscape-font-specification:Arial" xml:space="preserve"><tspan style="font-weight:normal;-inkscape-font-specification:Arial" y="200.31409" x="305.53094" id="tspan3171" sodipodi:role="line">Other memory</tspan></text> <text id="text3185" y="150.08478" x="305.36664" style="font-size:66.72337341px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" xml:space="preserve"><tspan style="font-size:23.35318184px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial" y="150.08478" x="305.36664" id="tspan3187" sodipodi:role="line">App process 1</tspan></text> </g> <g id="g3835" transform="translate(39.34019,15.091883)"> <rect ry="15" rx="15" y="271.86218" x="259.5" height="119" width="249" id="rect3799" style="fill:url(#linearGradient3853);fill-opacity:1;stroke:none" /> <rect y="320.86218" x="283.5" height="52" width="201" id="rect3801" style="fill:#0ea500;fill-opacity:1;stroke:none" /> <text id="text3803" y="354.81409" x="306.53094" style="font-size:23.59850502px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial;-inkscape-font-specification:Arial" xml:space="preserve"><tspan style="font-weight:normal;-inkscape-font-specification:Arial" y="354.81409" x="306.53094" id="tspan3805" sodipodi:role="line">Other memory</tspan></text> <text id="text3807" y="302.58478" x="303.36664" style="font-size:66.72337341px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" xml:space="preserve"><tspan style="font-size:23.35318184px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial" y="302.58478" x="303.36664" id="tspan3809" sodipodi:role="line">App process 2</tspan></text> </g> <g id="g3843" transform="translate(130.8873,-174.84062)"> <rect ry="15" rx="15.963856" y="192.86218" x="24.5" height="119" width="265" id="rect3813" style="fill:url(#linearGradient3851);fill-opacity:1;stroke:none" /> <rect y="242.86218" x="54.5" height="52" width="201" id="rect3815" style="fill:#0ea500;fill-opacity:1;stroke:none" /> <text id="text3817" y="276.81409" x="77.530945" style="font-size:23.59850502px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial;-inkscape-font-specification:Arial" xml:space="preserve"><tspan style="font-weight:normal;-inkscape-font-specification:Arial" y="276.81409" x="77.530945" id="tspan3819" sodipodi:role="line">Other memory</tspan></text> <text id="text3821" y="225.58478" x="99.366638" style="font-size:66.72337341px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" xml:space="preserve"><tspan style="font-size:23.35318184px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:Arial" y="225.58478" x="99.366638" id="tspan3823" sodipodi:role="line">Preloader</tspan></text> </g> <path style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Mend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 288.93817,136.4787 L 288.93817,174.66247" id="path3861" /> <path style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 148.22392,285.67824 L 148.22392,263.05082 L 423.99556,263.05082 L 423.99556,287.79956" id="path4643" /> <path style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Mend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 288.93816,261.72239 L 288.93816,223.53862" id="path4645" /> </g> </svg>