Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 6467 invoked from network); 29 Jul 2007 20:50:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2007 20:50:26 -0000 Received: (qmail 49383 invoked by uid 500); 29 Jul 2007 20:50:21 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 49370 invoked by uid 500); 29 Jul 2007 20:50:20 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 49359 invoked by uid 99); 29 Jul 2007 20:50:20 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 13:50:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pharkins@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 20:50:16 +0000 Received: by an-out-0708.google.com with SMTP id c28so255705ana for ; Sun, 29 Jul 2007 13:49:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=CqaKfM70Oom6LYH9uwBrF/cgBbktoNryyoM/Gct2qwpdOqLBupDzM4CnYYAbVt2yMNMLWuTIc9m2Y3TiTdAtFRM/r0I+UwPWWKN07USX/BEXZQijuArShTe4PCDDEgZl0RO2KKPodX0uMj+jab48I7MfABM6H3RkvzsXt5UZdes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lDWmMgVyhNvSKtPZZJd9BrYZFiZRKTfxEYqytAy8EXCYEWAMTNedYAPi7a1/Asg1ih08ATAr8BCUEYUL/hwq/LOlO2Ftt96mof8BgqjVgOgnCA96gC6NvOIoiDufNwT0h42aLWhF2EqxbGGYl4BfgARv5/WtkBtI2QchMITmgc0= Received: by 10.100.167.7 with SMTP id p7mr4262721ane.1185742196082; Sun, 29 Jul 2007 13:49:56 -0700 (PDT) Received: by 10.100.177.10 with HTTP; Sun, 29 Jul 2007 13:49:56 -0700 (PDT) Message-ID: <66887a3d0707291349g462b18f1g6a9cbcbe15ca3cab@mail.gmail.com> Date: Sun, 29 Jul 2007 13:49:56 -0700 From: "Perrin Harkins" Sender: pharkins@gmail.com To: "Brian Reichert" Subject: Re: mod_perl2 and SDBM-tied hashes Cc: modperl@perl.apache.org In-Reply-To: <20070729152936.GA28279@numachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070729152936.GA28279@numachi.com> X-Google-Sender-Auth: d91bc79d30ef58b1 X-Virus-Checked: Checked by ClamAV on apache.org On 7/29/07, Brian Reichert wrote: > The symptom I see that after a 'set', subsequent 'gets' show me > various results; sometimes the data comes back set, sometimes not. The dbm implementation you're using will not always write everything to disk until you untie it. To make this transparent, you can use MLDBM::Sync, which unties and reties on every request. This is necessary for read/write sharing on all dbms except BerkeleyDB. - Perrin