[Lxc-users] Proper way to use LXC to serve multiple apps execution from outside

Đỗ Hoàng Khiêm dohoangkhiem at gmail.com
Thu May 10 08:51:22 UTC 2012


Yes, I think it needs a new process for each request serving.

In overall, I have a web application, it receives the application scripts
and execution requests from clients then try to execute it on the server
side. So I think that each request is isolated and I want to try the
ability to execute these requests in a sandbox environment.

Thanks.

On Thu, May 10, 2012 at 2:57 PM, Ben Butler-Cole <ben at bridesmere.com> wrote:

> On 10 May 2012 03:00, Đỗ Hoàng Khiêm <dohoangkhiem at gmail.com> wrote:
>
>> Ok, let suppose that I use a single container handling multiple requests.
>> So can you describe a right strategy to serve many applications at same
>> time, in my naive thinking, I would invoke such command like "lxc-execute
>> -n *my-lxc-name* *command_to_execute args*",  but is it possible to
>> execute it simultaneously, as I see that when I started a container, I
>> can't run lxc-execute for this container from host machine.
>>
>
> Can you tell me a bit more about the application you are running? Do you
> need to create a new process for each request that you serve? Is there is a
> daemon process running somewhere which initially handles the requests and
> spawns the new processes?
>
> -Ben
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120510/a6600c25/attachment.html>


More information about the lxc-users mailing list