Re: Basic ietf process question ...

Hector Santos <hsantos@isdg.net> Sat, 04 August 2012 17:04 UTC

Return-Path: <hsantos@isdg.net>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EB3921F87F1 for <ietf@ietfa.amsl.com>; Sat, 4 Aug 2012 10:04:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.586
X-Spam-Level:
X-Spam-Status: No, score=-102.586 tagged_above=-999 required=5 tests=[AWL=0.013, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47r3BGOo4ePx for <ietf@ietfa.amsl.com>; Sat, 4 Aug 2012 10:04:25 -0700 (PDT)
Received: from dkim.winserver.com (secure.winserver.com [208.247.131.9]) by ietfa.amsl.com (Postfix) with ESMTP id EDC4421F8535 for <ietf@ietf.org>; Sat, 4 Aug 2012 10:04:24 -0700 (PDT)
DKIM-Signature: v=1; d=isdg.net; s=tms1; a=rsa-sha1; c=simple/relaxed; l=3054; t=1344099855; h=Received:Received: Received:Received:Message-ID:Date:From:Organization:Subject:To: List-ID; bh=oSl+YetAikfdYKrhZAXLYC0tJtU=; b=SJPitUvXLgamAT1+3oZe 00noLgqTzFUtMkevm7aFxKhfwQjCe1Ftdo8qXphBQ9xcs7GmGkXZ3vAvnuIo9LPI rATQTptC4C7AX+NgzavxYXktJm3firyJpY5ni+sTlMnlGhUs0dMIiAIGQAvLJ7hN 2SRZJjT21wOeLm9TbKXyMhg=
Received: by winserver.com (Wildcat! SMTP Router v7.0.454.4) for ietf@ietf.org; Sat, 04 Aug 2012 13:04:15 -0400
Authentication-Results: dkim.winserver.com; dkim=pass header.d=beta.winserver.com header.s=tms1 header.i=beta.winserver.com; adsp=pass policy=all author.d=isdg.net asl.d=beta.winserver.com;
Received: from beta.winserver.com ([208.247.131.23]) by winserver.com (Wildcat! SMTP v7.0.454.4) with ESMTP id 121670524.8257.968; Sat, 04 Aug 2012 13:04:14 -0400
DKIM-Signature: v=1; d=beta.winserver.com; s=tms1; a=rsa-sha256; c=simple/relaxed; l=3054; t=1344099696; h=Received:Received: Message-ID:Date:From:Organization:Subject:To:List-ID; bh=2Gm2Aay /3X/arQfTGwHErTqgKc0pVIHKmXMBY13lnH8=; b=OuGY7jYCQ77jFkoz1X6Em8e X5Z/ultgl35S4rKmaxsFnSPm39oG/n0mh5fvA5vPCsE1DUdh0m8ukPRBG0L7sbt8 PwNnUwGJcWmnoifbyZ29f97xSsKYaPuUZGyzTsUQyuj2CBOCfXAtTPm2vWi1hXyI DfVhYZKyjZ9yNd/K6Lfw=
Received: by beta.winserver.com (Wildcat! SMTP Router v7.0.454.4) for ietf@ietf.org; Sat, 04 Aug 2012 13:01:36 -0400
Received: from [192.168.1.101] ([99.3.147.93]) by beta.winserver.com (Wildcat! SMTP v7.0.454.4) with ESMTP id 720493911.9.3332; Sat, 04 Aug 2012 13:01:35 -0400
Message-ID: <501D560F.7030206@isdg.net>
Date: Sat, 04 Aug 2012 13:04:15 -0400
From: Hector Santos <hsantos@isdg.net>
Organization: Santronics Software, Inc.
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
CC: "ietf@ietf.org list" <ietf@ietf.org>
Subject: Re: Basic ietf process question ...
References: <20120802055556.1356.17133.idtracker@ietfa.amsl.com> <CALaySJK6RE1pnk0RJZjpU8jHb9KKb3zOjGc5NqTcVyb7kTBOyw@mail.gmail.com> <CAL0qLwZaoVDtt_8o1Qr5NqG-rBk6jkAMMVT+jUUoiD2rhEvmuw@mail.gmail.com> <501AA9DF.6010208@raszuk.net> <EDC652A26FB23C4EB6384A4584434A0407E24713@307622ANEX5.global.avaya.com> <501AB4F5.7030205@raszuk.net> <501AC2C7.6040707@gmail.com> <270DDF46-AA04-49C0-B54C-35FD0AE0350F@mnot.net> <01OIMHY7BVKK0006TF@mauve.mrochek.com> <8D242074-DA5B-4C31-807D-79116517A64D@mnot.net> <01OIMJ1NAB5W0006TF@mauve.mrochek.com> <1D580354-3D3D-424B-8DE8-C5C436E8B14D@mnot.net> <CABkgnnXRu6c7RpJQoMEL8zW_=6ySM_-1Uato2GubnWtgEd=H8A@mail.gmail.com>
In-Reply-To: <CABkgnnXRu6c7RpJQoMEL8zW_=6ySM_-1Uato2GubnWtgEd=H8A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Comment: Missing recipient address appended by wcSMTP router.
To: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Aug 2012 17:04:26 -0000

Martin Thomson wrote:
> On 4 August 2012 08:52, Mark Nottingham <mnot@mnot.net> wrote:
>>> The other interesting case is where large amounts of data arrive in a stream.
>>> SAX and SAX-like libraries makes this easy to implement with XML. I hope
>>> there's an equivalent for Json; if not there needs to be.
>> Funny you mention that, I was just looking into that yesterday.
>>
>> This seems to be in the front running:
>>   http://lloyd.github.com/yajl/
> 
> The conclusion that I reached on this subject was that both XML and
> JSON are poorly suited to streaming use cases for large datasets.  Try
> implementing XMPP "framing" some time and tell me afterwards how much
> you love SAX.
> 
> I prefer CSV or lots of small objects.

+1, too much overhead, cries/needs for compiling and p-coding it comes 
in.  But it depends much on how much dynamic vs static data is 
involved in the application.  For on the fly dynamic processing, too 
much overhead and relaxing on strong syntaxing (i.e. allow for 
errors). Of course, thats getting cheaper these day.  One other issue, 
at least for us, to make it more useful, more layers will be needed. 
So this library may be great, but not for the layman to use. It will 
good for the systems level people to write the high layers tools (for 
application developers) perhaps.  That has been the dearth for many 
vendors who have to interface with different flavored APIs.  Single 
sourcing it is a strategic benefit for many which means having to 
write/port/convert the libraries into other languages.

Regarding the XML related question for IETF processing, well, the way 
I look at it is document writing should not involved requiring XML 
knowledge. Its already complex and it gets even more complex with XML 
Schemas, so its the last thing I want to spend time learning, 
relearning or refreshing on on.   But for usage as a tools to help 
IETF processors, management, perhaps, in what is essentially a static 
application it probably ok and keeps up with a direction in using XML 
for all things static (and even dynamic, not always the best result). 
It can help with I/O Communications, perhaps decentralization areas, a 
bunch of things once a common format is used.  But lets not require 
document writers having to know XML and XML schema just to be involved 
and productive with the IETF.

PS: For XML processing, we use the super light weight PUGXML C/C++ 
code in many areas

http://www.codeproject.com/Articles/3502/PugXML-A-Small-Pugnacious-XML-Parser

For JSON, well, thus far, we only needed it for web clients and 
javascript applets, and javascript is naturally JSON.  For the server 
side, I am probably going to relook at V8 again (googles stuff) which 
is also used for Chrome.

http://en.wikipedia.org/wiki/V8_(JavaScript_engine)

The nice thing I felt was the ability to built on top of it, new 
layers, language independent imports and more importantly, JIT "Just 
in time" pcode compiling/processing which is how Chrome gets its 
Javascripting speed from.

-- 
HLS