Il giorno 25/mag/2012, alle ore 14:05, Vlad K. ha scritto: > > 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?
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: [email protected] -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
