Execute remote Lua Script

Posted by Bruno Lee on Stack Overflow See other posts from Stack Overflow or by Bruno Lee
Published on 2010-04-04T20:13:33Z Indexed on 2010/04/04 20:23 UTC
Read the original article Hit count: 469

Hi, I want to make an application that executes a remote script. The user can create a script (probabily a LUA script) then stores it in the server. Then he can uses an API for execute the script. I was thinking that API could be a webservice. So my questions are:

I need high performance to execute the script. So my first choice was LUA script. Someone has another sugestion?

Cause I need high perfomance, I was thinking if the webservice is the best solution. Maybe I could create a TCP/IP Windows Service that hold the users request. It is important to say that I will have many user executing scripts at the same time. So I will have a concurrency problem.

My scripts will query in a database. I will use Tokyo Cabinet or Tokio Tyrant. I think Tokio Tyrant is the only solution cause I will have many requests. For perfomance, Do I need to make a connection pooling? Is there anyway to share variables between webservices requests?

To make the webservice or the Windows service i was thinking to use C++.

Can someone help with these questions?

thanks

© Stack Overflow or respective owner

Related posts about lua

Related posts about script