Re: [Sipping] Alternate CLF syntax proposal

"Vijay K. Gurbani" <vkg@alcatel-lucent.com> Thu, 26 March 2009 02:57 UTC

Return-Path: <vkg@alcatel-lucent.com>
X-Original-To: sipping@core3.amsl.com
Delivered-To: sipping@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC5ED3A6DB3 for <sipping@core3.amsl.com>; Wed, 25 Mar 2009 19:57:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQ6ekVC4nlr3 for <sipping@core3.amsl.com>; Wed, 25 Mar 2009 19:57:13 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by core3.amsl.com (Postfix) with ESMTP id E67D63A6D8A for <sipping@ietf.org>; Wed, 25 Mar 2009 19:57:12 -0700 (PDT)
Received: from umail.lucent.com (h135-3-40-61.lucent.com [135.3.40.61]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id n2Q2w45d014931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Mar 2009 21:58:05 -0500 (CDT)
Received: from [135.244.32.187] (vkg.lra.lucent.com [135.244.32.187]) by umail.lucent.com (8.13.8/TPES) with ESMTP id n2Q2w3jb002392; Wed, 25 Mar 2009 21:58:04 -0500 (CDT)
Message-ID: <49CAEF3B.40309@alcatel-lucent.com>
Date: Wed, 25 Mar 2009 21:58:03 -0500
From: "Vijay K. Gurbani" <vkg@alcatel-lucent.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Adam Roach <adam@nostrum.com>
References: <49CAE21C.5060309@nostrum.com>
In-Reply-To: <49CAE21C.5060309@nostrum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
Cc: sipping WG <sipping@ietf.org>, draft-gurbani-sipping-clf@tools.ietf.org
Subject: Re: [Sipping] Alternate CLF syntax proposal
X-BeenThere: sipping@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "SIPPING Working Group \(applications of SIP\)" <sipping.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipping>
List-Post: <mailto:sipping@ietf.org>
List-Help: <mailto:sipping-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Mar 2009 02:57:14 -0000

Adam Roach wrote:
> In the spirit of "send text," I've put together a straw-man proposal for 
> an easy-to-generate and fast-to-process extensible format for saving SIP 
> log messages:
> 
> http://www.ietf.org/internet-drafts/draft-roach-sipping-clf-syntax-00.txt
[...]

Adam: Essentially you are advocating for a table-of-content
type of approach where you read the ToC and index straight
to where you want to go.  I have worked on SIP parsers
designed this way.

The parsing is optimized, yes, when compared to the ASCII
version -- though perl can do wonders, but not to outperform
binary parsing.  The disadvantage is that you loose readability
and would need specialized tools to, say, grep through such
a file.

It will be interesting to see what others think...

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60566 (USA)
Email: vkg@{alcatel-lucent.com,bell-labs.com,acm.org}
Web:   http://ect.bell-labs.com/who/vkg/