Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 680719BB2 for ; Sat, 8 Sep 2012 11:27:41 +0000 (UTC) Received: (qmail 66816 invoked by uid 500); 8 Sep 2012 11:27:40 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 66560 invoked by uid 500); 8 Sep 2012 11:27:37 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 66538 invoked by uid 99); 8 Sep 2012 11:27:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 11:27:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 11:27:31 +0000 Received: by vbip1 with SMTP id p1so766281vbi.18 for ; Sat, 08 Sep 2012 04:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=vnggzu+STWdLu9cKm/MHIYRis0Tz8UNL0Re73Lw3uVg=; b=0r1BmpaQjEpNyJj7UdCdiw2F5cDUghQ6CTU7a/N3pkKzGo67MX5HALyR6sAy4kJGRK UyY3X19Ex1OEpa+KKrh+CA5aSuwcqzQPv+260pxdgcwHoufgqtTsv8j9YNPMhrcBZEg5 dvZHeHrZab1e+4EEVjv9ubBlNyZVvt7EyQrN+wUAGAF/g9Mx29KgifvxZf9dY4j00Mtq rJKk+GYkPGcacqesGAttoKWwucl9zoSp/1QnIvdOe7O4gZra//lXi2lGfrgOqGf7Fzpf 5n2/OtQ072NkwuQjWq/95xoEbgIAQYBscOAp2c4t2uPWQwCgkttqWyN8NbqgGmq0Hprl Ax0g== MIME-Version: 1.0 Received: by 10.58.79.178 with SMTP id k18mr11950823vex.3.1347103630760; Sat, 08 Sep 2012 04:27:10 -0700 (PDT) Received: by 10.58.213.97 with HTTP; Sat, 8 Sep 2012 04:27:10 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 Sep 2012 15:27:10 +0400 Message-ID: Subject: Re: to improve the performance of form-based upload for Tomcat 7 From: Konstantin Kolinko To: Tomcat Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2012/9/5 Link Qian : > hello, > Thank you for your interest. > I am the owner of open source project,fastupload. It's more faster 5.x th= an apache commons file upload in test. also, I test the form-based file upl= oading implementation of Servlet 3.0 API in Tomcat 7, for example, HttpSer= vletRequest.getParts(). it's slower than apache common file upload. > HttpServletRequest.getParts() is just a wrapper around code copied from Apache Commons Fileupload. I would not expect it to be noticeably slower. > Now, I want to refactor the part code of form-based file uploading of Tom= cat server implement. to improve the performance for it. sounds good? If a problem is with the code from Apache Commons Fileupload project, then I think it would be better to apply the changes to that project first. After that the changes can be ported to Tomcat. > > I haven't involved development process of apache open source project. w= ho is the right person I need to contact? > > fast upload project reference: https://sourceforge.net/projects/fastuploa= d/ > Contributions are normally discussed on the dev mailing list and are submitted as patches via Bugzilla (for Tomcat) or JIRA (for Apache Commons). They are covered by clause 5 of the Apache License, http://www.apache.org/licenses/LICENSE-2.0 Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org