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 8FBB1107B6 for ; Fri, 8 Nov 2013 19:34:33 +0000 (UTC) Received: (qmail 98781 invoked by uid 500); 8 Nov 2013 19:34:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98731 invoked by uid 500); 8 Nov 2013 19:34:30 -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 98722 invoked by uid 99); 8 Nov 2013 19:34:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 19:34:30 +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 dmikusa@gopivotal.com designates 209.85.216.42 as permitted sender) Received: from [209.85.216.42] (HELO mail-qa0-f42.google.com) (209.85.216.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 19:34:25 +0000 Received: by mail-qa0-f42.google.com with SMTP id ii20so2095788qab.1 for ; Fri, 08 Nov 2013 11:34:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=4q0iI3Nco/xX+FASkAVhukP/Jf0uMqXBNZgkHAERz/s=; b=YbulvRyMP/kFo3G9KZAQoEPbHc3LVvWVxPfwQRGYrof32LWfYIvy5HRQgXtRa3+zGR M5TlKwfISri0JrHiPo3jMz9JXctWX3jrqXS5Zc3q2JPoiaordT0hmuoYLtnwgOWE+jwW eCPYhzWwRC4PJd/z9wjtQsTDNQqrpCyn2q2jEZSgHarMqAoyYj7+pylEp3bbkElkOZmt hw8VZ1Pm/ZA5mpxqV59vlkunCkiwmXIYTaiEyzKhMls04rk9S26mffMyQEsAoYTTH/0b g9aik5ZHQ27efepIO7z9bxgz2vwBpNxMK9gm3Kgx8EhcKJlRgXS5TFYoVnGlWcVTwtL2 juvg== X-Gm-Message-State: ALoCoQmMc6bGAXHd5W9T7f7sAiyM9wZTKIiEr8vDRN9d32FbyJt4ewxnqf7oQnck8HTRzvAfE72L X-Received: by 10.224.45.197 with SMTP id g5mr27218287qaf.2.1383939244458; Fri, 08 Nov 2013 11:34:04 -0800 (PST) Received: from [192.168.0.6] (d118-75-246-224.col.wideopenwest.com. [75.118.224.246]) by mx.google.com with ESMTPSA id r5sm25591522qaj.13.2013.11.08.11.34.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Nov 2013 11:34:03 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: PersistentManager + JdbcStore From: Daniel Mikusa In-Reply-To: Date: Fri, 8 Nov 2013 14:34:03 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <00AC90DF-13AE-4369-BDE0-AE3227DA3035@gopivotal.com> References: To: "Tomcat Users List" X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 8, 2013, at 2:14 PM, spring@gmx.eu wrote: > Hi, >=20 > is it possible to use the PersistentManager + JdbcStore to enable a = 100% > failover/cluster solution for sessions? You could, but I'm not sure that's it's intended purpose. As I = understand it, the PersistentManager is for pushing session data that = hasn't been used in a while out of memory, thus allow a Tomcat server to = handle more sessions with less memory. > As far as I can see not, because the session data is written async = into the > database and only in a min. interval of 1 s. > Is this right? This is my understanding as well. Sessions are persisted to the = database periodically instead of on-demand. If you need sessions = replicated as changes occur then you'll want to look at a different = solution, like the built-in cluster support. Dan >=20 > Thank you >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org