From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.5 required=3.0 tests=AWL,FROM_LOCAL_NOVOWEL, MSGID_FROM_MTA_HEADER,TVD_RCVD_IP shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Damian Janowski Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Out of band stuff? Date: Fri, 6 Apr 2012 18:49:34 -0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333749439 8829 80.91.229.3 (6 Apr 2012 21:57:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Apr 2012 21:57:19 +0000 (UTC) To: "Rainbows! list" Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Fri Apr 06 23:57:18 2012 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Greylist: delayed 451 seconds by postgrey-1.31 at rubyforge; Fri, 06 Apr 2012 21:57:09 UTC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=2pXyiOpA0oyj+PpG3kiov3kgUex3H+aAdGAMbX8DM4Q=; b=GWTyVXCSSwVnCMHqDz2Wv5Y7ocbHq4GjVRkj7qiosXvvuXkubXYZD66U3UiJ3Z/gNj zs/j/ZpVEq5OCXawH+nOv0NKG9F1/v92HJlZN2xHbWDSGAlyBG5eEKbV0cEJ5bxl4GyW YDQiUzNH9HANj2J7s1FF4llKM8hlU/Nz7WA3jwjfUUU/lwwUtVghZDnXMDNzoc+ISnqf xdt1XSLLCs7JtFHI3Fot/9FxeCWXZmt7OD55GZT0R+ZxH8BseHye8ylwluvnz+qGy4Vu lLeQb/CbUvJT5Xwm/ZVEYJAgVgi313ta7AOtmndYB9zAz7hhzX4B6hlvPZqr6Tlh4h6H 67vA== X-Google-Sender-Auth: R13RlUTiFmu75odywfpW_9Bg9WI X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:336 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SGH9f-00037w-Vd for gclrrg-rainbows-talk@m.gmane.org; Fri, 06 Apr 2012 23:57:16 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 39BDB4A810; Fri, 6 Apr 2012 21:57:14 +0000 (UTC) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by rubyforge.org (Postfix) with ESMTP id 8D4264A810 for ; Fri, 6 Apr 2012 21:57:09 +0000 (UTC) Received: by lbbge1 with SMTP id ge1so1048447lbb.23 for ; Fri, 06 Apr 2012 14:57:08 -0700 (PDT) Received: by 10.152.127.136 with SMTP id ng8mr10719714lab.16.1333748974651; Fri, 06 Apr 2012 14:49:34 -0700 (PDT) Received: by 10.112.81.226 with HTTP; Fri, 6 Apr 2012 14:49:34 -0700 (PDT) Hello everyone, I'm needing to perform a couple of tasks outside of the request cycle. For instance, I want to ping a web service every X minutes so that I can maintain a persistent connection to it and have better response times for some requests that I have to do *inside* the request cycle. What would be the reasonable way of doing this? I'm thinking the OOB GC is just another example. But the current way the OOB GC is written makes one think it's a very specific case and not something one should use for other purposes. Thoughts? Thanks in advance. D. _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying