RAID & memcached

Veres Lajos vlajos at ludens.elte.hu
Tue Feb 7 12:16:49 UTC 2006


Hello,

I have a php layer for this type off session management.
Very basic, but forks for me.

If you are interested I can send you.

If a server fails the layer uses the stored data from other servers, but 
tries to connect all the servers. And the connection trying to the dead 
server is slow. (timeouts)
("server is dead" information should be stored somewhere)

I think this "read-from-one/write-to-all" mechanism should placed into a 
bottom layer, but some people here says that this 
not matches really to the main goals of memcached. (caching only)

I agree with your idea. It would be great if there will be a pair for all 
function to manipulate all cache server at the same time.

add->add_toall
set->set_toall
...

maybe get should a pair:
get_fromany
which checks all server if data is missing at first try.

On Tue, 7 Feb 2006, BUSTARRET, Jean-Francois wrote:

> I'm thinking about adding memcached-backed session management to some of our PHP apps. In this case, I do not want to loose data (but do not want to spend too much money on data protection either).
>
> A simple RAID layer over memcached would be fine. read-from-one/write-to-all is easy to implement, bot not very efficient & does not scale well.
>
> Has anyone played with RAID over memcached ?
>
> Jean-François Bustarret
> eTF1 - Responsable infrastructure et syst?me
> http://www.tf1.fr <http://www.tf1.fr/>
>
>
>

-- 
Veres Lajos
vlajos at ludens.elte.hu
+36 20 438 5909


More information about the memcached mailing list