Performance monitoring

2 views
Skip to first unread message

Kegan Gan

unread,
Dec 9, 2009, 9:43:20 PM12/9/09
to Django users
Hi,

Google App Engine provides a rather extensive set of tools to monitor
the performance of your applications running in App Engine. Is there
something similar for Django?

Thanks.

Andy McKay

unread,
Dec 9, 2009, 11:28:28 PM12/9/09
to django...@googlegroups.com
Not that I know of. There's django-debug-toolbar and a quick hack I
wrote to track the time of each sql query. But I would classify both as
debugging tools. Is there anything specific you are looking for?
--
Andy McKay, @clearwind
Training: http://clearwind.ca/training/
Whistler conference: http://clearwind.ca/djangoski/

Kegan Gan

unread,
Dec 9, 2009, 11:43:11 PM12/9/09
to Django users
Thanks for reply, Andy.

I am aware of django-debug-toolbar. I am looking something to run with
production.

How do people monitor Django application performance in production
environment today?

Thanks.

Andy McKay

unread,
Dec 9, 2009, 11:53:15 PM12/9/09
to django...@googlegroups.com
On 09-12-09 8:43 PM, Kegan Gan wrote:
> Thanks for reply, Andy.
>
> I am aware of django-debug-toolbar. I am looking something to run with
> production.
>
> How do people monitor Django application performance in production
> environment today?

Hmm I guess if I knew what you were looking for I could help more. Like
I say I've run a sql query recording tool, its v. simple. But most of
the time I rely on system tools like munin or monit.

Sam Walters

unread,
Dec 10, 2009, 12:02:47 AM12/10/09
to django...@googlegroups.com
You can always place some more performance testing code inside your views:

import time
t = time.time()
search_time=0.00
#
#place some code which hits the database here
#
search_time+=time.time()-t
search_time="%.3f"%(search_time)

This does not test the memory footprint of your application though.
Put all your db calls into a unit test sort of framework is what i did
when developing a search engine for the site im developing.
> --
>
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>
>

Mikhail Korobov

unread,
Dec 10, 2009, 1:23:31 AM12/10/09
to Django users
Performance monitoring doesn't have to be related to django itself.
There are external projects that cant do performance monitoring (CPU,
i/o, memory usage over time). You may give munin (http://
munin.projects.linpro.no/) a chance.

Rory Hart

unread,
Dec 10, 2009, 5:01:24 AM12/10/09
to django...@googlegroups.com
--

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



Quite so, I would suggest Zabbix (http://www.zabbix.com/) we have used it in a couple of deployments now to great success.

--
Rory Hart
http://www.whatisthescience.com
http://blog.roryhart.net
Reply all
Reply to author
Forward
0 new messages