mysql cluster + get_lock

komtanoo.pinpimai at livetext.com komtanoo.pinpimai at livetext.com
Mon Oct 30 15:45:30 UTC 2006


I've thought about that, but if a Memcached server storing the key downs,
it's not 100% guarantee mutual exclusion.

-kem

On Mon, October 30, 2006 12:34 am, Cahill, Earl wrote:
> You could use IPC::Lock::Memcached :)
>
>
> http://search.cpan.org/~earl/IPC-Lock-0.14/lib/IPC/Lock/Memcached.pm
>
>
> It locks via Memcached's add function.
>
>
> Earl
>
>
> -----Original Message-----
> From: mogilefs-bounces at lists.danga.com
> [mailto:mogilefs-bounces at lists.danga.com] On Behalf Of Jay Buffington
> Sent: Saturday, October 28, 2006 10:31 PM
> To: mogilefs at lists.danga.com
> Subject: Re: mysql cluster + get_lock
>
>
> See the below thread where we talked about getting rid of GET_LOCK
> altogether by using a transactions.  I think ndbd is transactional.
>
> http://lists.danga.com/pipermail/mogilefs/2006-September/000522.html
>
>
> I plan on implementing oracle support (and, thus, switching from
> locking to transactions) after the busy holiday season.
>
> Jay
>
>



More information about the mogilefs mailing list