Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7A4499D3 for ; Mon, 17 Oct 2011 19:23:15 +0000 (UTC) Received: (qmail 57135 invoked by uid 500); 17 Oct 2011 19:23:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57094 invoked by uid 500); 17 Oct 2011 19:23:12 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57085 invoked by uid 99); 17 Oct 2011 19:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 19:23:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 19:23:04 +0000 Received: from [192.168.245.129] (montserrat.wissensbank.com [212.85.37.175]) by tor.combios.es (Postfix) with ESMTPA id AF551DA02BC for ; Mon, 17 Oct 2011 21:22:40 +0200 (CEST) Message-ID: <4E9C8060.5090300@ice-sa.com> Date: Mon, 17 Oct 2011 21:22:08 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Is incoming connection request queue totally ordered? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Stevo Slavić wrote: > Hello Tomcat users, > > Are HTTP and AJP connector incoming connection request queues totally > ordered (FIFO)? Just want to make sure whether connection requests > waiting for executor will fight for it once one becomes available, or > will the order connection request were made be respected. > As ar as I know, this is something controlled by the TCP/IP stack of your host. It is not dependent on Tomcat or Java. Tomcat (through Java) just "accepts" a waiting connection, and gets the one which the native TCP/IP stack returns. But yes, intuitively, it should always be a FIFO. I have a feeling that a lot of things would not work quite right if it wasn't. And it would certainly be unfair. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org