Return-Path: Delivered-To: apmail-hadoop-avro-user-archive@minotaur.apache.org Received: (qmail 46091 invoked from network); 2 Sep 2009 17:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 17:30:57 -0000 Received: (qmail 69943 invoked by uid 500); 2 Sep 2009 17:30:57 -0000 Delivered-To: apmail-hadoop-avro-user-archive@hadoop.apache.org Received: (qmail 69894 invoked by uid 500); 2 Sep 2009 17:30:57 -0000 Mailing-List: contact avro-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-user@hadoop.apache.org Delivered-To: mailing list avro-user@hadoop.apache.org Received: (qmail 69885 invoked by uid 99); 2 Sep 2009 17:30:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:30:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eelco.hillenius@gmail.com designates 209.85.211.177 as permitted sender) Received: from [209.85.211.177] (HELO mail-yw0-f177.google.com) (209.85.211.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 17:30:49 +0000 Received: by ywh7 with SMTP id 7so427017ywh.21 for ; Wed, 02 Sep 2009 10:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=obnqbIYNgdI1NLi96gkTRrRfTlFUOMdI6QyBnEWnyMo=; b=q+muplzeZ0kEsSDAsJ+0Adha4ETWqHUcUV9GxHdY6UFO1f0lPvBsDc25Bl1emdd3xM klf9+OO2q7N0Mhr9yiiI13+h7WzF1yVtBpJ6YoPzav8XpiY/jvaDlwGLbgGnUZsixs7D g3Dp4XU+2eOX45B5swPH4nP42Ep5QPO4kIk9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=vdwYafC/KBQepu41srh9mB4q6zdQl2HpskbZr0r5gvhy3H6yxi7w6ZFf6DqmAEw1E7 TFHHFJ4KxPBWwf4Wk0IYoLNkJehIPD77wArEHwmAKiq8BuxoJ9BUioqTJMhRz/t/1OoN 25yOzUiEuFIltl1WAtMt4phs0LT03khmZQcps= MIME-Version: 1.0 Received: by 10.150.71.4 with SMTP id t4mr14289534yba.226.1251912626604; Wed, 02 Sep 2009 10:30:26 -0700 (PDT) In-Reply-To: <4A9EA5EA.5020306@apache.org> References: <4A9EA5EA.5020306@apache.org> From: Eelco Hillenius Date: Wed, 2 Sep 2009 10:30:06 -0700 Message-ID: Subject: Re: user experience To: avro-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > I've found that generating classes with the specific API is both simpler = and > faster. =A0In particular, if you have a set of related classes, use a > method-free protocol file (.avpr) to define them. =A0The Java classes are > generated by an Ant task. The reason we don't want to go for the specific API is because we like our development process to be as minimal as possible, and that includes avoiding code generation where we can. We're with fine paying a performance penalty for that, especially since for our purposes Avro with reflection is definitively fast (and compact) enough. And the nice thing about Avro is that if certain records turn out to be bottlenecks, we can always turn them into specific ones. My 2c, Eelco