Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12F001627 for ; Fri, 22 Apr 2011 06:23:10 +0000 (UTC) Received: (qmail 24294 invoked by uid 500); 22 Apr 2011 06:23:08 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 24157 invoked by uid 500); 22 Apr 2011 06:23:08 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 24149 invoked by uid 99); 22 Apr 2011 06:23:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 06:23:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 06:22:58 +0000 Received: by vws4 with SMTP id 4so463815vws.14 for ; Thu, 21 Apr 2011 23:22:37 -0700 (PDT) Received: by 10.52.180.72 with SMTP id dm8mr1148544vdc.118.1303453357123; Thu, 21 Apr 2011 23:22:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.95.129 with HTTP; Thu, 21 Apr 2011 23:22:17 -0700 (PDT) X-Originating-IP: [67.160.196.149] In-Reply-To: References: From: Ted Dunning Date: Thu, 21 Apr 2011 23:22:17 -0700 Message-ID: Subject: Re: 0.90 latency performance, cdh3b4 To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec51a7d4c55291704a17be2f0 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51a7d4c55291704a17be2f0 Content-Type: text/plain; charset=ISO-8859-1 Yeah... but with UDP you have to do packet reassembly yourself. And do source quench and all kinds of things. Been there. Done that. Don't recommend it unless it is your day job. We built the Veoh peer to peer system on UDP. It had compelling advantages for us as we moved a terabit of data per second 5 years ago, but it was distinctly non-trivial to get right. The benefits we had included: - we could make our flows very aggressive, but less aggressive than TCP. That made them feel like smoke relative to web-surfing. (not a benefit here) - we could handle thousands of connections if necessary (not a benefit here) - we could penetrate firewalls more easily by state spoofing (not a benefit here) - our protocol did magical window reassembly from multiple sources (not a benefit here) But getting this to work was weeks of work and months of testing with thousands of different clients. I wouldn't want to repeat that without serious reasons. On Thu, Apr 21, 2011 at 11:12 PM, Dmitriy Lyubimov wrote: > > What do you see here D? > > I am not sure. I am not very good at understanding network frames. but > tcp kind of spends a lot of resources to ensure the flow. While udp > wouldn't bother with all that nonsense. > --bcaec51a7d4c55291704a17be2f0--