Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 95102 invoked from network); 22 Dec 2007 05:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2007 05:50:00 -0000 Received: (qmail 92979 invoked by uid 500); 22 Dec 2007 05:49:48 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 92949 invoked by uid 500); 22 Dec 2007 05:49:48 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 92938 invoked by uid 99); 22 Dec 2007 05:49:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 21:49:48 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-mail-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Dec 2007 05:49:24 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id lBM5nEJD015599 for ; Sat, 22 Dec 2007 05:49:26 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JTF00701RZKY900@fe-emea-09.sun.com> (original mail from Thomas.Nielsen@Sun.COM) for derby-user@db.apache.org; Sat, 22 Dec 2007 05:49:12 +0000 (GMT) Received: from [10.0.0.3] ([88.91.49.38]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JTF005JQS5X1D10@fe-emea-09.sun.com> for derby-user@db.apache.org; Sat, 22 Dec 2007 05:49:12 +0000 (GMT) Date: Sat, 22 Dec 2007 06:47:27 +0100 From: Thomas Nielsen Subject: Re: Help Urgent:Apache derby network server In-reply-to: <14465522.post@talk.nabble.com> Sender: Thomas.Nielsen@Sun.COM To: Derby Discussion Message-id: <476CA4EF.5000701@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <14458006.post@talk.nabble.com> <476BEABB.10906@amberpoint.com> <14465522.post@talk.nabble.com> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) X-Virus-Checked: Checked by ClamAV on apache.org musky, That statement does not mean Derby has a limit of 25 concurrent clients. Like Brian said in his reply, Derby can handle thousands of connections, and they can all work at the same time. The statement is most likely the result of a simple "sanity test" the author of the article did, or refers to, with (pick a number, any number) 25 concurrent clients to see if the different databases handle concurrency at all, and if so how well they do. Adding more clients normally increase total throughput, to a certain degree, and with performance depending on the utilization of the system running the database, also like Brian suggested. There is a tradeoff - by adding more client you may experience longer execution time in each connection. Remember all your concurrnet clients are competing for a piece of the available resources on the database host to execute their query. Unless you are executng really complex queries, dealing with huge amounts of data, or a lot(!) of connections, you would most likely still be talking milliseconds timeframe. It all depends on what, and how much, you are trying to do. The clients normally use a lot more time on the client side than on the database side, especially so if there is user interaction on the client side. Hope this helps, Thomas musky wrote: > thanks for your quick reply: > i read a comparison of mysql and apache derby and i found this line > interesting: > "it easily handles processing requests of 25 concurrent connections". > source:"http://www.devx.com/ibm/Article/28526" > what does this mean? > does it mean that only 25 remote hosts can access the database simuaneously? > > please help. > > > > Bryan Pendleton wrote: > >>> i want to know how many hosts can access(both insertion and retrieval)the >>> derby database via the derby network server. >>> >> You mean, at the same time? Thousands. >> >> The limits aren't in Derby itself, but involve things like: >> - whether your operating system can scale well >> - how much hardware you can afford >> - how carefully you write your application. >> >> If your clients aren't simultaneously accessing Derby, then >> the limits are even higher. >> >> thanks, >> >> bryan >> >> >> >> >> >> > >