Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Performance monitoring
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vlad K.  
View profile  
 More options May 25 2012, 8:05 am
From: "Vlad K." <v...@haronmedia.com>
Date: Fri, 25 May 2012 14:05:53 +0200
Local: Fri, May 25 2012 8:05 am
Subject: Performance monitoring

I'm interested in visualizing some performance metrics of my Pyramid app.

1. Average, min and max response time per route group (eg. interface
views vs API calls)
2. Optimal threads per process ratio
3. Backlog size

I'm using uwsgi. I've found this:

http://projects.unbit.it/uwsgi/wiki/ManagementFlag

from which it seems I can monitor the backlog and then some.

For #1, I thought to write a simple tween that would write realtime
stats to memcached, to be read every 5 minutes by munin for some nice
graphs. I can also graph the uwsgi backlog (also there appears to be
some munin plugins for this).

I'm not quite sure what to do for #2. I guess the easiest thing is start
with some numbers and observe graphs for #1 and #3, change the thread
per process ratio periodically and observe whether there's improvement
or degradation in graphs.

Advices? Suggestions?

Thanks,

--

.oO V Oo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto De Ioris  
View profile   Translate to Translated (View Original)
 More options May 25 2012, 8:19 am
From: Roberto De Ioris <robe...@unbit.it>
Date: Fri, 25 May 2012 14:19:33 +0200
Local: Fri, May 25 2012 8:19 am
Subject: Re: Performance monitoring

Il giorno 25/mag/2012, alle ore 14:05, Vlad K. ha scritto:

This is a far better approach:

http://projects.unbit.it/uwsgi/wiki/StatsServer

having simple json to manage is an invaluable feature.

You may want to look at the uwsgitop project for an example usage.

--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad K.  
View profile   Translate to Translated (View Original)
 More options May 25 2012, 8:41 am
From: "Vlad K." <v...@haronmedia.com>
Date: Fri, 25 May 2012 14:41:19 +0200
Local: Fri, May 25 2012 8:41 am
Subject: Re: Performance monitoring
On 05/25/2012 02:19 PM, Roberto De Ioris wrote:

> This is a far better approach:

> http://projects.unbit.it/uwsgi/wiki/StatsServer

> having simple json to manage is an invaluable feature.

> You may want to look at the uwsgitop project for an example usage.

> --
> Roberto De Ioris
> http://unbit.it
> JID: robe...@jabber.unbit.it

Great, looks like an excellent additional set of stats I can monitor.  
Thanks for that.

--

.oO V Oo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bard stéphane  
View profile  
 More options May 27 2012, 4:30 pm
From: bard stéphane <stephane.b...@gmail.com>
Date: Sun, 27 May 2012 22:30:58 +0200
Local: Sun, May 27 2012 4:30 pm
Subject: Re: Performance monitoring
you could be interested by this small pyramid tween

pyramid_perfstat

https://bitbucket.org/tuck/pyramid_perfstat

also available in pypi

http://pypi.python.org/pypi/pyramid_perfstat

easy to use and maybe more pyramid aware. It logs
average in sqllite db.
view, route, url, sql min, max average

it could be useful to monitor projects

Hope to be helpfull

Le 25/05/2012 14:41, Vlad K. a crit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ergo  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 2:44 am
From: Ergo <erg...@gmail.com>
Date: Sun, 27 May 2012 23:44:38 -0700 (PDT)
Local: Mon, May 28 2012 2:44 am
Subject: Re: Performance monitoring

Hi,

You can use errormator wsgi client, that allows you to use free
https://errormator.com service.

It will show you slow requests/slow sqlalchemy queries within your app,
you would need to tweak the client to show you requests below 1s (that's
min default for this in the client).

Because it's more geared towards error monitoring and finding code
bottlenecks, but maybe it's a good start.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad K.  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 7:19 am
From: "Vlad K." <v...@haronmedia.com>
Date: Mon, 28 May 2012 13:19:52 +0200
Local: Mon, May 28 2012 7:19 am
Subject: Re: Performance monitoring
On 05/28/2012 08:44 AM, Ergo wrote:

> Hi,

> You can use errormator wsgi client, that allows you to use free
> https://errormator.com service.

> It will show you slow requests/slow sqlalchemy queries within your app,
> you would need to tweak the client to show you requests below 1s
> (that's min default for this in the client).

> Because it's more geared towards error monitoring and finding code
> bottlenecks, but maybe it's a good start.

Thanks for the suggestion, but the external service is not something I
can use here.

--

.oO V Oo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad K.  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 7:23 am
From: "Vlad K." <v...@haronmedia.com>
Date: Mon, 28 May 2012 13:23:06 +0200
Local: Mon, May 28 2012 7:23 am
Subject: Re: Performance monitoring
On 05/27/2012 10:30 PM, bard stéphane wrote:

Thanks, this seems to be what I need. I originally meant to use
memcached for performance reasons. I need this for constant monitoring
not just to troubleshoot, so I'm afraid sqlite might become a
bottleneck, but we'll see.

--

.oO V Oo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bard stéphane  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 2:13 pm
From: bard stéphane <stephane.b...@gmail.com>
Date: Mon, 28 May 2012 20:13:03 +0200
Local: Mon, May 28 2012 2:13 pm
Subject: Re: Performance monitoring
you're right, It's just a starter kit to help young developers
getting started with pyramid, and for the
moment I only target alchemy scaffold
(get inspired from dozer project and so one ...).

my goal :
     - a project with tiny finger print (low package dependency)
     - scaffold agnostic, it should work with url dispatch or traversal
         o disable sql reports for traversal
     - be easy to configure and high level information
     - high performance, reduce the latency induced.
       (I've hardcoded sql to improve that, but it's a mess => brown bag)
     - offer some kind of api to work with different backend ...

I hope to get some times in few week to push another release
Feel free to fork the project and propose a work around, I'll be
happy to go further.

Le 28/05/2012 13:23, Vlad K. a �crit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »