[p2pu-dev] p2pu.org really slow to load today...
Dirk Uys
dirk at p2pu.org
Mon Dec 17 20:04:03 UTC 2012
So, I found the offending piece of code that causes the performance
troubles:
https://github.com/p2pu/lernanta/blob/master/lernanta/apps/projects/models.py#L323
This function looks for users that completed the challenge. Any suggestion
on how we can improve it?
Cheers
d
On Thu, Dec 13, 2012 at 5:43 PM, Dirk Uys <dirk at p2pu.org> wrote:
> Hi Bekka, Jose
>
> This is something I've also noticed.
>
> There are several things contributing to the problems. One of them is how
> followers for courses are set up - it seems like the generated SQL queries
> hits the db quite hard. Another problem is lots of data lying around in the
> db that makes things slower as the size of the tables increases.
>
> I'll be looking into this carefully.
>
> Thanks for reporting the trouble
>
> Cheers
> d
>
>
> On Thu, Dec 13, 2012 at 5:47 AM, Jos Flores <josmasflores at gmail.com>wrote:
>
>> Nope, it's still slow... trying to edit a page... taking ages! :S
>>
>> cheers,
>> José
>>
>> On 13 December 2012 10:43, Jos Flores <josmasflores at gmail.com> wrote:
>> > Hey Bekka, it was quite slow for a while but seems to be back to normal
>> now?
>> >
>> > cheers,
>> > José
>> >
>> >
>> > On 13 December 2012 10:39, Rebecca Kahn <bekka at p2pu.org> wrote:
>> >> Is it just me?
>> >> _______________________________________________
>> >> p2pu-dev mailing list
>> >> p2pu-dev at lists.p2pu.org
>> >> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >>
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20121217/a754e5c5/attachment.html>
More information about the p2pu-dev
mailing list