Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 83466 invoked from network); 14 Jun 2005 20:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 20:24:33 -0000 Received: (qmail 42626 invoked by uid 500); 14 Jun 2005 20:24:13 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 42570 invoked by uid 500); 14 Jun 2005 20:24:12 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 42318 invoked by uid 99); 14 Jun 2005 20:24:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 13:24:08 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4D44D40F for ; Tue, 14 Jun 2005 22:23:48 +0200 (CEST) Message-ID: <67715981.1118780628315.JavaMail.jira@ajax.apache.org> Date: Tue, 14 Jun 2005 22:23:48 +0200 (CEST) From: "David Read (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Created: (BEEHIVE-814) Provide ability to track lifetime of PageFlow instances Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Provide ability to track lifetime of PageFlow instances ------------------------------------------------------- Key: BEEHIVE-814 URL: http://issues.apache.org/jira/browse/BEEHIVE-814 Project: Beehive Type: New Feature Components: NetUI Versions: TBD Environment: All Reporter: David Read Assigned to: Rich Feit Priority: Minor Fix For: TBD We've been looking at how to capture the lifetime of PageFlow instances through the EventReporter API. The original thinking was to generate create and destroy events that were correlated with an instance identifier for the PageFlow. Someone who wanted to analyze PageFlow usage could then "join" the create/destroy events to understand (1) how many of what type of PageFlow were created (over what period of time) and (2) how long PageFlows of each type existed. We originally looked at using system identity hash code to identify an instance (session id doesn't work since the same flow can exist more than once in a given session ... at the same time or over time). The problem with that approach is when clustering is involved. If the destroy event happened on a "secondary" server, the (calculated) correlation value would be different. Two other approaches come to mind ... but there could be others ... (1) capture the create time as a non-transient attribute of the flow and expose that via a public API. That would allow the event reporter to ignore the create event (WRT lifetime), and just capture the destroy event. While this does add to memory and serialization cost, the benefit is that it is fairly small and is fixed. (2) capture an identity as a non-transient attribute of the flow and expose that via a public API. This may be a more useful concept, but might have a larger (or more variable) impact on performance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira