Re: shared memory

[prev] [thread] [next] [Date index for 2005/03/15]

From: Perrin Harkins
Subject: Re: shared memory
Date: 18:04 on 15 Mar 2005
On Tue, 2005-03-15 at 17:47 +0000, Martin Moss wrote:
> I haven't used Memchache yet, but it has nothing to do
> with databases....
> It CAN be used to prevent database load, OR it could
> be used to prevent too much access to flocking
> files...

This is true, but  it sounds like Andre wants to replace a bespoke
database structure with something else, and Memcached should not be
considered for that.  It has no permanent storage, no failover, and will
silently drop data if it runs out of space.  Good for caching, lousy for
database storage.

I agree that a low-impact RDBMS like MySQL is an obvious choice here,
but the fastest choice if it only needs to run on one machine would be
BerkeleyDB.  In my benchmarks, it is one of the fastest methods of
shared storage available from Perl.  IPC::MM is fast, but not really
maintained anymore.  Cache::FastMmap is fast, but will drop things over
the allocated cache size limit, just like Memcached will.

So, I recommend BerkeleyDB or MySQL.

- Perrin

(message missing)

shared memory
=?ISO-8859-1?Q?Andr=E9_Warnier?= 16:35 on 15 Mar 2005

Re: shared memory
Jonathan Vanasco 16:37 on 15 Mar 2005

Re: shared memory
=?ISO-8859-1?Q?Andr=E9_Warnier?= 17:07 on 15 Mar 2005

Re: shared memory
=?ISO-8859-1?Q?Andr=E9_Warnier?= 22:53 on 15 Mar 2005

Re: shared memory
Martin Moss 17:47 on 15 Mar 2005

Re: shared memory
Perrin Harkins 18:04 on 15 Mar 2005

Re: shared memory
Jonathan Vanasco 19:11 on 15 Mar 2005

Re: shared memory
Perrin Harkins 19:48 on 15 Mar 2005

Re: shared memory
Dan Sully 19:53 on 15 Mar 2005

Re: shared memory
jonathan vanasco 00:30 on 17 Mar 2005

Re: shared memory
Jonathan Vanasco 20:05 on 15 Mar 2005

Re: shared memory
Perrin Harkins 20:14 on 15 Mar 2005

Re: shared memory
=?ISO-8859-1?Q?Andr=E9_Warnier?= 22:26 on 15 Mar 2005

Re: shared memory
Perrin Harkins 22:31 on 15 Mar 2005

Re: shared memory
=?ISO-8859-1?Q?Andr=E9_Warnier?= 23:26 on 15 Mar 2005

Re: shared memory
Jonathan Vanasco 23:40 on 15 Mar 2005

Re: shared memory
Eric Wilhelm 23:50 on 15 Mar 2005

Re: shared memory
Perrin Harkins 00:29 on 16 Mar 2005

Re: shared memory
Scott Gifford 03:29 on 16 Mar 2005

Re: shared memory
William McKee 14:36 on 18 Mar 2005

Re: shared memory
Perrin Harkins 00:30 on 16 Mar 2005

Re: shared memory
jonathan vanasco 00:40 on 16 Mar 2005

Re: shared memory
Perrin Harkins 00:50 on 16 Mar 2005

Re: shared memory
Ofer Nave 01:20 on 16 Mar 2005

Re: shared memory
jonathan vanasco 01:56 on 16 Mar 2005

Re: shared memory
Perrin Harkins 01:06 on 17 Mar 2005

Generated at 16:59 on 18 Mar 2005 by mariachi v0.52