Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 4384 invoked from network); 14 Sep 2007 07:01:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 07:01:05 -0000 Received: (qmail 22809 invoked by uid 500); 14 Sep 2007 07:00:57 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 22776 invoked by uid 500); 14 Sep 2007 07:00:57 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 22767 invoked by uid 99); 14 Sep 2007 07:00:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 00:00:57 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [82.223.190.84] (HELO flsc030.serveursdns.net) (82.223.190.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 07:00:54 +0000 Received: from localhost (12.55.101-84.rev.gaoland.net [84.101.55.12]) by smtp-01.serveursdns.net (Postfix) with ESMTP id 60B3F6E416A for ; Fri, 14 Sep 2007 09:00:31 +0200 (CEST) Date: Fri, 14 Sep 2007 09:00:32 +0200 From: Julien Vermillard To: dev@mina.apache.org Subject: Re: slightly OT: how to write an NIO provider Message-ID: <20070914090032.0e0237ff@localhost> In-Reply-To: <9f066ee90709131002t7679613aubc4a23bb80ccabdb@mail.gmail.com> References: <9f066ee90709101041p772c86bofde89e5284bc8fc7@mail.gmail.com> <768dcb2e0709130210sf2f9cfkeb12cd164185d71f@mail.gmail.com> <44ee70730709130910q155e64baj6a98e84eb019fb8f@mail.gmail.com> <9f066ee90709131002t7679613aubc4a23bb80ccabdb@mail.gmail.com> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 13 Sep 2007 13:02:25 -0400 Mark wrote: > I am looking to write a provider that performs NIO on a Unix Domain > Socket. This would be used to communicate between JVMs on the same > box and do it in a way that is faster than TCP. > Hi Mark, My APR based connector is starting purring. TCP & UDP are supported (I think SCTP too but I made no test). Perhaps I can force/modify APR for supporting Unix domain socket. Unix socket can be very usefull too for communication between a C prog and a Java one, but I'm not sure nowadays loopback UDP is really slower than Unix sockets. Julien