Re: Why does ThreadedAppServer.addSocketHandler() write to disk?
Steve Schwarz <[email protected]> Tue, 8 Jun 2010 14:44:58 -0500
| Newsgroups | gmane.comp.python.webware |
|---|---|
| Message-ID | <[email protected]> |
--===============6900772663492046186== Content-Type: multipart/alternative; boundary=001636c5c0de3cf53704888a06e4 --001636c5c0de3cf53704888a06e4 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jun 8, 2010 at 2:35 PM, Christoph Zwerschke <[email protected]> wrote: > Am 08.06.2010 21:27 schrieb Steve Schwarz: > > We'd like to simplify our deployment. Now our admins have to install > > Webware multiple times for each appserver instance on multiple servers. > > It would be easier to just deploy once and have all instance refer to > > that one check out. > > Ok, as I understand, your working dir is on a shared directory? > In the process pool install each server would have one checkout shared by 10-20 SingleThreadedAppServer Webware instances. > > > We also see better performance running with a pool of single threaded > > appservers instead of using the ThreadedAppServer. > > Are you using multi-core/multi-processing machines? > Yep. Looks like we are experiencing GIL contention on our compute heavy pages. Refactoring is also going on in the application to solve that problem. Steve --001636c5c0de3cf53704888a06e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Jun 8, 2010 at 2:35 PM, Christoph Zwerschke <span dir=3D"ltr"><<= a href=3D"mailto:[email protected]">[email protected]</a>></span> wrote:<br><d= iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"border-= left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left= : 1ex;"> Am 08.06.2010 21:27 schrieb Steve Schwarz:<br> <div class=3D"im">> We'd like to simplify our deployment. Now our ad= mins have to install<br> > Webware multiple times for each appserver instance on multiple servers= .<br> > It would be easier to just deploy once and have all instance refer to<= br> > that one check out.<br> <br> </div>Ok, as I understand, your working dir is on a shared directory?<br></= blockquote><div>In the process pool install each server would have one chec= kout shared by 10-20 SingleThreadedAppServer Webware instances. <br></div> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class=3D"im"><br> > We also see better performance running with a pool of single threaded<= br> > appservers instead of using the ThreadedAppServer.<br> <br> </div>Are you using multi-core/multi-processing machines?<br></blockquote><= div>Yep. Looks like we are experiencing GIL contention on our compute heavy= pages. Refactoring is also going on in the application to solve that probl= em.<br> Steve<br></div></div> --001636c5c0de3cf53704888a06e4-- --===============6900772663492046186== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo --===============6900772663492046186== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Webware-discuss mailing list Webware-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/webware-discuss --===============6900772663492046186==--