[IIAB] Internet-in-a-Box WSGI Performance

Joel Steres joel.steres at ymobility.com
Tue Jul 16 21:25:50 PDT 2013


Great news! Good work.  If template rendering time becomes an issue --
probably won't occur until deployed under load -- take a look at the
flask-cache extension.

On Tue, Jul 16, 2013 at 9:19 PM, Braddock <braddock at braddock.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Guys,
> I've got the IIAB load time using WSGI/Apache on an XO down from 32
> seconds to 5 seconds.  A New RPM is available in the yum repository,
> Internet-in-a-Box version 0.4.4.
>
> This lag is due to the python environment starting up - it doesn't
> necessarily indicate a bottleneck if many clients are using iiab
> simultaneously because the python environments get reused.  Although
> we could probably tune it better.
>
> The change requires a couple extra lines in the Apache config file,
> documented in section "Installation as an Apache WSGI Service" of
> https://github.com/braddockcg/internet-in-a-box/blob/master/INSTALL.txt
>
> Thanks to Jerry for giving me ssh to a School Server XO to test on.
>
> There are other areas that need performance optimization, like loading
> the Wikipedia page (about 30 sec).  Working on it.
>
> - -braddock
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJR5htOAAoJEHWLR/DQzlZumagIALFkpmJSkrijgsHhIcH9z0hI
> He5do6LpN4rzU1b+vXW05GGqGLJff8sN4br2M4spUAygo6W4RUZECFpUVj+7AzsW
> 5+NV8WENrs06vDY9cjIySDIy/hHEd4MKUHFB6FJ5TGpPaV649gSFjnleDFJUBCIZ
> 5XVZ7MIBUP9bBz9HbnkBvIoo9ZusPgOOkmz+4CZ304FNCY8N44JbTCg3Yaroz7MJ
> xKLELCf9banXyC4u7Fd9lu7sMQA60S1GN1y/aW7ag98wnze2EmR4c7Dn8OcbjKm0
> 2ZX7ImsiSsPZKEq/V8vgbBhRNBZgSeTwlhMAGW2gxAhgt3r5luDwX047edyQ/lE=
> =Pv3u
> -----END PGP SIGNATURE-----
>



More information about the IIAB mailing list