Return-Path: X-Original-To: apmail-trafficserver-dev-archive@www.apache.org Delivered-To: apmail-trafficserver-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C79B105AC for ; Fri, 5 Dec 2014 18:18:33 +0000 (UTC) Received: (qmail 17001 invoked by uid 500); 5 Dec 2014 18:18:33 -0000 Delivered-To: apmail-trafficserver-dev-archive@trafficserver.apache.org Received: (qmail 16943 invoked by uid 500); 5 Dec 2014 18:18:33 -0000 Mailing-List: contact dev-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@trafficserver.apache.org Delivered-To: mailing list dev@trafficserver.apache.org Received: (qmail 16931 invoked by uid 99); 5 Dec 2014 18:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 18:18:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chanshukit@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 18:18:28 +0000 Received: by mail-wi0-f171.google.com with SMTP id bs8so2244201wib.10 for ; Fri, 05 Dec 2014 10:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kC0AE7x4SYTscL8yHTS9Ti9ge2tgcDz98wHm4TEkv4M=; b=TOI7A3zhb04ZhFCg2rWmdjQ2HyHcn1qtV9jARG+uenHT6B2H2s3T98eeCccg/mSmFv 1ElIX4AZi8KHejbo4o1LI1ZrvTCY+chaKw1hRKaewuBGAKkHs1BhXWE0/kvWhdTIP/8y REYitSHVU1Jwi+CsfV1mY/fe5avRWRSUqn3UlWsUVJARIe6UBRo9uyvEeHAJ+xcQmsav e2ug/tdFBzKVwy7KNbRNdZ0hLbSaabOo2q/qQAXYKJoZpmyCGrXuPKkyRAYQLmHYh2Q2 9jRu4Rvkjvp9aOeimZNwQNFOV2AXCsoy1kjEmG4d8dKrA13xdDH+d5Zls0nraDV8Hl6U cSCQ== MIME-Version: 1.0 X-Received: by 10.195.12.76 with SMTP id eo12mr26325697wjd.22.1417803397041; Fri, 05 Dec 2014 10:16:37 -0800 (PST) Received: by 10.217.52.66 with HTTP; Fri, 5 Dec 2014 10:16:36 -0800 (PST) In-Reply-To: References: <954D23549BF60D4488191378EE57420B1BC6B42D@BEAR.tomatowin.local> <954D23549BF60D4488191378EE57420B1BCD49E5@BEAR.tomatowin.local> <954D23549BF60D4488191378EE57420B1BD0E63D@BEAR.tomatowin.local> <954D23549BF60D4488191378EE57420B1BD12F18@BEAR.tomatowin.local> Date: Fri, 5 Dec 2014 10:16:36 -0800 Message-ID: Subject: Re: Req. Info - ts_lua From: Shu Kit Chan To: "dev@trafficserver.apache.org" Content-Type: multipart/alternative; boundary=047d7bfceb4cd794c705097c1377 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfceb4cd794c705097c1377 Content-Type: text/plain; charset=UTF-8 Also we need to be careful in these use cases as well since the thread can be blocked by the usage of the resource if we are not careful. And perfomrnace will be affected. Thanks. Kit On Fri, Dec 5, 2014 at 10:14 AM, Shu Kit Chan wrote: > I tried LuaSocket and redis-lua and I was able to define the > client/resources globally and use it inside the hooks. > But if you encounter any strange things, please feel free to answer us > questions here. > > Also I have filed TS-3224 and TS-3225 for the fix and enhancement I am > planning to commit soon. > > Thanks. > > Kit > > On Fri, Dec 5, 2014 at 4:02 AM, Luca Rea wrote: > >> Hi, >> I mean tcp sockets for external resources such as messaging systems >> (hornetq), db (redis) or others, the can be initiated, shared, controlled >> and used directly by lua. >> > > --047d7bfceb4cd794c705097c1377--