Return-Path: X-Original-To: apmail-shiro-user-archive@www.apache.org Delivered-To: apmail-shiro-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 165B09E20 for ; Thu, 26 Jan 2012 14:21:24 +0000 (UTC) Received: (qmail 27362 invoked by uid 500); 26 Jan 2012 14:21:24 -0000 Delivered-To: apmail-shiro-user-archive@shiro.apache.org Received: (qmail 27280 invoked by uid 500); 26 Jan 2012 14:21:23 -0000 Mailing-List: contact user-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@shiro.apache.org Delivered-To: mailing list user@shiro.apache.org Received: (qmail 27272 invoked by uid 99); 26 Jan 2012 14:21:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 14:21:23 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2012 14:21:18 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RqQC9-000097-Rn for user@shiro.apache.org; Thu, 26 Jan 2012 06:20:57 -0800 Date: Thu, 26 Jan 2012 06:20:57 -0800 (PST) From: vdzhuvinov To: user@shiro.apache.org Message-ID: <1327587657854-7227093.post@n2.nabble.com> In-Reply-To: References: <1327562419649-7226206.post@n2.nabble.com> Subject: Re: Shiro on Cluster MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Navid Mohaghegh wrote > > Thank you Vladimir. I try to be as specific as I can: Image a cluster of > 4 servers each has a quad processor AMD Opteron 6272 (e.g. total of 64 > cores per server running at 2.1 GHz sharing a 16 MB of L3 cache). Each > server has 64 GB of ECC registered DDR3 memory clocked at 1333MHz. The > servers will be connect using Infiniband links of 40 GB/s. We can add > SSD/HDD for caching on disk or persistent sessions. I want to know how > many sessions concurrently in total can be tolerated here and how fast we > can expect to get the authentication done (e.g. average of 15-20 ms for > the authentication request and persisting the session ...?). Thank you. > I cannot give you an answer, but here is how you can get a feeling of what to expect. In terms of memory, if a single session object is 1kByte on average, you would be able to store 1 million sessions in 1Gb. So memory space is not likely to be an issue for sessions that store just a few strings of info. The other factor is processing load and this will depend on the number of HTTP requests you get per second. You may look at benchmarks to get a feeling for that. If you're planning to use Terracotta here is one useful guide: http://docs.terracotta.org/confluence/display/docs35/Deployment+Guide#DeploymentGuide-MemorySizing My rule of thumb is not to worry too much about actual hardware performance, but to make sure fault tolerance, disaster recovery and the ability to scale and stay fluid is well thought of in advance. Vladimir ----- Vladimir Dzhuvinov -- View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-on-Cluster-tp7225939p7227093.html Sent from the Shiro User mailing list archive at Nabble.com.