MESSAGE
DATE | 2020-09-14 |
FROM | Mithun Bhattacharya
|
SUBJECT | Re: [Hangout - NYLXS] cache a object in modperl
|
From hangout-bounces-at-nylxs.com Sat Sep 26 03:24:09 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 40A25163FC0; Sat, 26 Sep 2020 03:23:33 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 2A939163FB8; Sat, 26 Sep 2020 03:20:57 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Sat, 26 Sep 2020 03:20:57 -0400 Resent-Message-ID: <20200926072057.GD10387-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mrbrklyn.com (Postfix) with ESMTP id C78AB161150 for ; Mon, 14 Sep 2020 01:48:52 -0400 (EDT) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 3B55F121F08 for ; Mon, 14 Sep 2020 05:48:51 +0000 (UTC) Received: (qmail 3746 invoked by uid 500); 14 Sep 2020 05:48:50 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 3734 invoked by uid 99); 14 Sep 2020 05:48:50 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2020 05:48:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 7E6051FF42E for ; Mon, 14 Sep 2020 05:48:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id 3CKTrER_ruLF for ; Mon, 14 Sep 2020 05:48:49 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::935; helo=mail-ua1-x935.google.com; envelope-from=mithnb-at-gmail.com; receiver= Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id D31527F981 for ; Mon, 14 Sep 2020 05:48:48 +0000 (UTC) Received: by mail-ua1-x935.google.com with SMTP id z46so5078220uac.13 for ; Sun, 13 Sep 2020 22:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0wAkhdGozCwH3CvtdWccAMiR4EqJDVMY3VlbFQkywwo=; b=qaBHNPaXuFkjKR3N5S8mZwMOIExzJaRXRVjhcy9WoPrH6axkhrxc87F6AyFeZjQbzC zs2wxFbjMuoh0i3Zb8LbQPYzsL2gcHOxwsrCmGLzRTdJ2Q3+Mk5Tgo85CfmYr2wwPr8y XLa59ed7TRjHcX3Bk+dh6otteY3USvqvRoijCOjoiMY3pedhyTu1r2nB4ZatRBCQrKPG 5aFunIOX35q5D4WnCldSwbdo4VIZspOVZ/5lEBZmEu1R1lLd5u4GZGMIGiUDfoRIXD7J f+iuwLrgEFcaRcLvkWFexi5Znr/GxxG+SIOymUGxNkCZSZ8rJPmuh1wkZyy1q/GhBJJB ZeNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0wAkhdGozCwH3CvtdWccAMiR4EqJDVMY3VlbFQkywwo=; b=Sq0/JbF4eKREVMQNVIhUtd2nUDa9Q4aBO/FGb/NcrMvkG3+XmfpGlkzsfZ5HBVrDkr ESQsm81n9Hs6IGr/Un2MrxGGBQ0KbYATc872SQBbX+aR9wSkVaNCG0uiplWKLNAOxcWX Uli7tczp4qOp4747EumCGrDkeqci3ngFbDC6hl+6EZGAT/u59lP9CEaDAqK/oAnLb4gS DBRxezl2qwSCeCg+DzNiUuBqxZmP0D3WzmmFMsuRCHdNxLZYdw70wiCOE3smx7sJrPND DQF+y8gfvsM60xui4jpfLBk+PAJuqMTlRNWqIP4dxzOlK8AwHV7jSoGxRBFhYRiB95kF iekw== X-Gm-Message-State: AOAM532fciqsqHmd7NpLWYRiJjHzGXLGuC0CdTmz1gTSnibqOH+OWp8x 4ZDX0U8YatPWSi6FH3Pm2oQRL7gSP1QOqN2HuQNk+eZY X-Google-Smtp-Source: ABdhPJx0/5xQ0N46eU9496bJTRne7lLuLYYLdNW+gKLwqNzYfusU+bqh/AjTJAGJ61CwCzn7oPi5ZzHr7Y6/Ah9zgMU= X-Received: by 2002:ab0:73da:: with SMTP id m26mr5830707uaq.136.1600062521727; Sun, 13 Sep 2020 22:48:41 -0700 (PDT) MIME-Version: 1.0 References: <08a9afe6-15e4-e31e-2dd2-6e64e73fe285-at-pobox.com> <82A06BD9-2EDE-4D5E-923B-3C5120E4B37A-at-utoronto.ca> <971fca75-2a0d-f064-5db9-199fec334219-at-pobox.com> In-Reply-To: <971fca75-2a0d-f064-5db9-199fec334219-at-pobox.com> From: Mithun Bhattacharya Date: Mon, 14 Sep 2020 00:48:30 -0500 Message-ID: To: mod_perl list Subject: Re: [Hangout - NYLXS] cache a object in modperl X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0862353073==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============0862353073== Content-Type: multipart/alternative; boundary="00000000000039dcea05af3f960b"
--00000000000039dcea05af3f960b Content-Type: text/plain; charset="UTF-8"
Haha I can't answer that - I work with systems which are always up. We have users working across the globe so there is no non-active time.
In my case I would have to throw an independent cache (my current choice is REDIS but you could chose a DB_File for all I know) and refresh it as needed - IANA I could hit every 30 min to check for update :)
On Mon, Sep 14, 2020 at 12:44 AM Wesley Peng wrote:
> > > Mithun Bhattacharya wrote: > > Does IANA have an easy way of determining whether there is an update > > since a certain date ? I was thinking it might make sense to just run a > > scheduled job to monitor for update and then restart your service or > > refresh your local cache depending upon how you solve it. > > Yes I agree with this. > I may monitor IANA's database via their version changes, and run a > crontab to restart my apache server during the non-active user time > (i.e, 3:00 AM). > > Or do you have better solution? > Thanks. >
--00000000000039dcea05af3f960b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Haha I can't answer that - I work with systems which a= re always up. We have users working across the globe so there is no non-act= ive time.
In my case I would have to throw an independen= t=C2=A0cache (my current choice is REDIS but you could chose a DB_File for = all I know) and refresh it as needed - IANA I could hit every 30 min to che= ck for update :)
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex">
Mithun Bhattacharya wrote:
> Does IANA have an easy way of determining whether there is an update <= br> > since a certain date ? I was thinking it might make sense to just run = a
> scheduled job to monitor for update and then restart your service or <= br> > refresh your local cache depending upon how you solve it.
Yes I agree with this.
I may monitor IANA's database via their version changes, and run a
crontab to restart my apache server during the non-active user time
(i.e, 3:00 AM).
Or do you have better solution?
Thanks.
--00000000000039dcea05af3f960b--
--===============0862353073== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============0862353073==--
--===============0862353073== Content-Type: multipart/alternative; boundary="00000000000039dcea05af3f960b"
--00000000000039dcea05af3f960b Content-Type: text/plain; charset="UTF-8"
Haha I can't answer that - I work with systems which are always up. We have users working across the globe so there is no non-active time.
In my case I would have to throw an independent cache (my current choice is REDIS but you could chose a DB_File for all I know) and refresh it as needed - IANA I could hit every 30 min to check for update :)
On Mon, Sep 14, 2020 at 12:44 AM Wesley Peng wrote:
> > > Mithun Bhattacharya wrote: > > Does IANA have an easy way of determining whether there is an update > > since a certain date ? I was thinking it might make sense to just run a > > scheduled job to monitor for update and then restart your service or > > refresh your local cache depending upon how you solve it. > > Yes I agree with this. > I may monitor IANA's database via their version changes, and run a > crontab to restart my apache server during the non-active user time > (i.e, 3:00 AM). > > Or do you have better solution? > Thanks. >
--00000000000039dcea05af3f960b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Haha I can't answer that - I work with systems which a= re always up. We have users working across the globe so there is no non-act= ive time.
In my case I would have to throw an independen= t=C2=A0cache (my current choice is REDIS but you could chose a DB_File for = all I know) and refresh it as needed - IANA I could hit every 30 min to che= ck for update :)
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex">
Mithun Bhattacharya wrote:
> Does IANA have an easy way of determining whether there is an update <= br> > since a certain date ? I was thinking it might make sense to just run = a
> scheduled job to monitor for update and then restart your service or <= br> > refresh your local cache depending upon how you solve it.
Yes I agree with this.
I may monitor IANA's database via their version changes, and run a
crontab to restart my apache server during the non-active user time
(i.e, 3:00 AM).
Or do you have better solution?
Thanks.
--00000000000039dcea05af3f960b--
--===============0862353073== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============0862353073==--
|
|