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

John Kim thinkndev at gmail.com
Wed Jul 17 15:30:42 PDT 2013


On 2013년 07월 16일 (화) 오후 09시 25분 50초, Joel Steres wrote:
> 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-----
>>
>
>

Awesome work there!  That is a huge improvement in load time.

--
John Kim
Ubuntu User #35405
thinkndev at gmail.com




More information about the IIAB mailing list