Shared memory between servers

Hi all:

I was thinking about this question all weekend. It’s possible to have
shared memory or objets or repository of objets between servers??

Imagine this: I want that all servers (several) have same data (an
array for example). If one server change a value, this value change for
all servers, if another server add item, this item is added for all
servers.

This could be interesting for cluster app, etc.

Any idea?

On 24/07/06, [email protected] [email protected] wrote:

This could be interesting for cluster app, etc.

Any idea?

Drb could fit the bill:
http://www.ruby-doc.org/stdlib/libdoc/drb/rdoc/index.html

It’s in in the standard lib.

Farrel

On 07/24/06/07/06 17:45 +0900, [email protected] wrote:

This could be interesting for cluster app, etc.
check memcached [1], a cache shared over multiple servers; it can be
used
for what you want, but it may very well be an overkill. A ruby binding
available at [2].

-eyal

[1] http://www.danga.com/memcached/
[2] http://www.deveiate.org/projects/RMemCache/

On Mon, 24 Jul 2006, [email protected] wrote:

This could be interesting for cluster app, etc.

Any idea?

you want a tuplespace. it’s part of drb, which ships with ruby.

-a

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs