Re: Req. Info - ts_lua

2014-12-05 Thread Shu Kit Chan
Here is a small example of using ts_lua as a global plugin. please make sure you a line of "tslua.so /home/kichan/main.lua" in plugin.config and the content of main.lua is as below. ts.add_package_cpath('/home/kichan/lib/?.so') ts.add_package_path('/home/kichan/lualib/?.lua;/home/kichan/lualib/soc

Re: [PROPOSAL] Move out release schedule by ~1 month going forward

2014-12-05 Thread Bryan Call
+1 -Bryan > On Dec 5, 2014, at 8:34 AM, Phil Sorber wrote: > > On Mon Dec 01 2014 at 10:12:17 AM Leif Hedstrom wrote: > >> [Resending this, since I messed up and added the wrong dev@ list >> initially. Please reply to this email, and not the original post]. >> >> Hi all, >> >> I’d like t

RE: Req. Info - ts_lua

2014-12-05 Thread Luca Rea
Hi, can you share with us some lines of code / examples?

Re: Req. Info - ts_lua

2014-12-05 Thread Shu Kit Chan
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 defin

Re: Req. Info - ts_lua

2014-12-05 Thread Shu Kit Chan
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.

Re: [PROPOSAL] Move out release schedule by ~1 month going forward

2014-12-05 Thread Phil Sorber
On Mon Dec 01 2014 at 10:12:17 AM Leif Hedstrom wrote: > [Resending this, since I messed up and added the wrong dev@ list > initially. Please reply to this email, and not the original post]. > > Hi all, > > I’d like to propose that we shift all future releases forward by roughly 2 > month. So, th

RE: Req. Info - ts_lua

2014-12-05 Thread Luca Rea
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.

RE: Req. Info - ts_lua

2014-12-05 Thread Luca Rea
Hi, Using lua does is possible to define and initiate some global shared resources (eg. tcp sockets) then call and control them in other hooks?