Hi robot
Description
Info
 
View All
Media
 
Synopsismonitoring, profiling, tracing, logging, performance analysis
Opened May-26
Status Idea
Opened by Vayngrib Gene
ModifiedMay-26
Product HF
Component WebDAV server
Assigned to Gins Jacob
Planned in version 4.0
Id 2,091
Tags ORM Monitoring Debugging
Priority Normal
TouchedMay-26

need for performance analysis

The need. Declarative nature of Lablz Web Apps requires better debugging tool. We currently trace into error.log and this file gets huge and hard to read. In the past we added indispensable Dev zone menu to see only the log for the last HTTP request, sql log for the last HTTP request and stats for queries that hit or missed the cache. But we need better a much way to assess the performance, discover slow and inefficient queries, analyze cache effectiveness, discover exceptions and debug the DAV to SQL mapping.

performance as a standard data source

We have recently cleaned up the Profiling tool which shows WebDAV queries grouped by class. We redesigned Profiling tool from being a custom made HTML generator to producing normal DavResources and utilize the standard resource list painter. This cleaned up the presentation and the code so much that it gave us the idea of fully transforming the unstructured source of data (error.log) into a structured data source using Lablz core DavServlet plugin architecture. Thus MonitorDavServlet was born. New monitoring tool will add the ability to analyze XHR (Ajax) requests, ability to see previous N
HTTP requests, drill down to an individual WebDAV query level and even the ability to re-execute the last WebDAV query collecting the resulting SQL log.

QA, support and other uses

What is amazing is that as performance data becomes structured data the other possibilities instantly open up. These are a couple we thought up:
  1. testing framework can use monitoring stats to discover bugs automatically. Initial ideas: execute all bookmarks on every host and compare the number of SQL queries, number of cache hist and misses with the baseline. Also compare the execution time to timely discover performance regression.
  2. instant problem indicators. We will place a couple of icons in a visible place (near Home menu or as a badge icon on top of it) to indicate an error which might otherwise be invisible, a presence of a slow query and other exceptions.
  3. automatically collect current state of the system at the bug submission time. This can be done by producing .csv backup of monitoring resources and attached to the Bug resource in Lablz CRM. This can be further automated much like Ubuntu bug submission tool which collects system info on behalf of the user. The developer can then load these .csv files into his system for analysis.
Most of the initial development has been done and Dev Zone menu already contains a link to Monitoring. Please review and submit your comments and ideas.

Implementation notes:
  1. we begin collecting monitoring info on the first request to /monitor location. That means the stats will start accumulating only after your first click on Monitoring link in the Dev zone.
  2. we collect info on an HTTP session. This means you will see only your own requests.
  3. data on the last 10 requests are kept in memory, no extra disk operations are performed


 
Other

Work committed  (0)

Duplicates these  (0)

They duplicate me  (0)

Views  (0)
  • l.html?-$action=searchLocal&bUri=sql%3furi%3dsql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dchangeHistory%2526b_p%253dforResource&-total=1

  • l.html?-$action=searchLocal&bUri=sql%3furi%3dsql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dchangeHistory%2526b_p%253dforResource&-total=1
Change history  (1)
Files
  • l.html?view=http://crm.lablz.com/wf/Feature/968CBA164319B08A0B43D428129DCABA&bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dattachments%2526b_p%253dforResource
Attachments(0) Explore as Web Folders
  • l.html?view=http://crm.lablz.com/wf/Feature/968CBA164319B08A0B43D428129DCABA&bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dchatHistory%2526b_p%253dforResource
Chat history(0) Explore as Web Folders
Messages
  • l.html?bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dmyUnreadMessages%2526b_p%253dassociatedWith&refType=http://www.hudsonfog.com/voc/software/crm/Feature&$rootFolder=http://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%3fsynopsis%3dmonitoring,%2bprofiling,%2btracing,%2blogging,%2bperformance%2banalysis%26opened%3d2010-05-26%2b12:52:13&type=http://www.hudsonfog.com/voc/system/parse/Message
My unread messages(0)
  • l.html?bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dmyFlaggedMessages%2526b_p%253dassociatedWith&refType=http://www.hudsonfog.com/voc/software/crm/Feature&$rootFolder=http://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%3fsynopsis%3dmonitoring,%2bprofiling,%2btracing,%2blogging,%2bperformance%2banalysis%26opened%3d2010-05-26%2b12:52:13&type=http://www.hudsonfog.com/voc/system/parse/Message
My flagged messages(0)
Subscription
  • l.html?bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dsubscribers%2526b_p%253dforum&refType=http://www.hudsonfog.com/voc/software/crm/Feature&type=http://www.hudsonfog.com/voc/model/portal/Subscribed&limit=2
Subscribers(2)
  • l.html?bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dinvitedSubscribers%2526b_p%253dinvitedTo&refType=http://www.hudsonfog.com/voc/software/crm/Feature&type=http://www.hudsonfog.com/voc/model/portal/Invitation&limit=2
Invited subscribers(2)
  • l.html?bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dpendingSubscribers%2526b_p%253dforum&refType=http://www.hudsonfog.com/voc/software/crm/Feature&type=http://www.hudsonfog.com/voc/model/portal/PendingSubscription
Pending subscribers(0)
  • bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dcomments%2526b_p%253dforum&-total=2

Comments 
1-2 of 2
It's great to see the stats this way now; so much>>
sw Jun-03
Is it possible to see other session collections? >>
sw Jun-03
  • bUri=http://crm.lablz.com/sql%3furi%3dhttp://crm.lablz.com/sql/www.hudsonfog.com/voc/software/crm/Feature%253fsynopsis%253dmonitoring,%252bprofiling,%252btracing,%252blogging,%252bperformance%252banalysis%2526opened%253d2010-05-26%252b12:52:13%2526m_p%253dchangeHistory%2526b_p%253dforResource&-total=1

Change history 
1-1 of 1
May-26, 2010 12:52 Vayngrib Gene
Tags ORM Monitoring Debugging
     
Submit onlineSubmit comment






Lablz © 2000-2010 Third-party credits