Re: [lxc-users] Unix Sockets communications between containers

2014-11-12 Thread CDR
I tested Tokudb long ago but strange enough you cannot have huge-pages enabled in the server. My servers have a minimum of 500 G of RAM, so the idea is a no-go. All virtualization technologies benefit from huge-pages. I don´t know if the Tokudb developers live in a parallel universe. On Tue, Nov

[lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
Dear friends I have a container with mysql and wish to have all other containers, and the host, being able to use a socket to post queries to my database. I thought of sharing a common host-directory, such as /temp. Once all containers can access the same directory, will they actually be able to

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread Hans Feldt
With a dir potentially you get a bunch of other sockets available in the container, how can such security issue be handled? /Hans On 11/11/2014 08:03 PM, Serge Hallyn wrote: Yup - the dir is generally recommended since if the daemon dies and restarts, you'll be able to pick up the new socket

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): On Tue, 2014-11-11 at 20:20 +0100, Hans Feldt wrote: With a dir potentially you get a bunch of other sockets available in the container, how can such security issue be handled? Use tailored application specific directories for the

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
This is fascinating. I will try and report if it does work. Now, suppose the container is a mount that at the same time it is exported an NFS share. Will the computers that are remotely mounting that share, be able to use the socket for querying mysql? That opens a realm of possibilities for my

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread Stéphane Graber
No, this will not work over NFS. On Tue, Nov 11, 2014 at 03:03:34PM -0500, CDR wrote: This is fascinating. I will try and report if it does work. Now, suppose the container is a mount that at the same time it is exported an NFS share. Will the computers that are remotely mounting that share,

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread Michael H. Warfield
On Tue, 2014-11-11 at 15:03 -0500, CDR wrote: This is fascinating. I will try and report if it does work. Now, suppose the container is a mount that at the same time it is exported an NFS share. Will the computers that are remotely mounting that share, be able to use the socket for querying

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread CDR
That is how we do business now, over TCP. By the way, I downloaded a new derivative of Mysql, http://paralleluniverse-inc.com/, and it seems, in my tests, several times faster than any other version, at least for this query select count(*) from table; where table has 550 million records. I have

Re: [lxc-users] Unix Sockets communications between containers

2014-11-11 Thread Fajar A. Nugraha
On Wed, Nov 12, 2014 at 9:27 AM, CDR vene...@gmail.com wrote: That is how we do business now, over TCP. By the way, I downloaded a new derivative of Mysql, http://paralleluniverse-inc.com/, and it seems, in my tests, several times faster than any other version, at least for this query