OpenVZ Forum


Home » General » Support » Sharing Shared Memory ? (Is it possible to communicate between containers via IPC?)
Sharing Shared Memory ? [message #37063] Sun, 16 August 2009 23:02 Go to next message
Banana is currently offline  Banana
Messages: 4
Registered: August 2009
Junior Member
Hi

I wish to provide a service which would pass information to customers each of which would be in their own container. Is it possible to share shared memory between my service (which would write to the shmem) and n containers (which would read from the same shmem).

Thanks
Re: Sharing Shared Memory ? [message #37093 is a reply to message #37063] Tue, 18 August 2009 18:30 Go to previous messageGo to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Have you consider using the network enabled memcache server which allows sharing information between servers in memory?
Re: Sharing Shared Memory ? [message #37098 is a reply to message #37093] Tue, 18 August 2009 23:04 Go to previous messageGo to next message
Banana is currently offline  Banana
Messages: 4
Registered: August 2009
Junior Member
No. I've no idea what it is or where to get more information about it.
Re: Sharing Shared Memory ? [message #37107 is a reply to message #37063] Wed, 19 August 2009 07:45 Go to previous messageGo to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Hi,

It's a scalable distributed in-memory object store that uses key/variable pairs.

http://www.danga.com/memcached/

It is in use at some very high traffic sites as an in memory cache system, but could be used for sharing information between applications on different servers. Smile
Re: Sharing Shared Memory ? [message #37108 is a reply to message #37063] Wed, 19 August 2009 11:18 Go to previous messageGo to next message
Banana is currently offline  Banana
Messages: 4
Registered: August 2009
Junior Member
Because it's not what I want.

I would like to have a block of shared memory that is shared by ALL domains on the server. One domain would write to this block and the remainder would read-only from it.

I don't want a distributed memory system. I want a shared memory system in a virtualised environment.
Re: Sharing Shared Memory ? [message #37115 is a reply to message #37063] Wed, 19 August 2009 13:18 Go to previous messageGo to next message
tomp is currently offline  tomp
Messages: 64
Registered: August 2007
Member
Sorry I couldn't be of more help...I won't bother next time. Rolling Eyes
Re: Sharing Shared Memory ? [message #37129 is a reply to message #37063] Wed, 19 August 2009 21:53 Go to previous message
Banana is currently offline  Banana
Messages: 4
Registered: August 2009
Junior Member
There's simply no need to get upset. Just as there is no point in answering a different question Smile I appreciate your efforts, please don't think otherwise.
Previous Topic: How to use two different eth interfaces inside CT
Next Topic: openVZ-2.6.27 Ext4 stable patch?
Goto Forum:
  


Current Time: Fri May 10 03:30:15 GMT 2024

Total time taken to generate the page: 0.01534 seconds