[pLog-svn] memcached

Mark Wu markplace at gmail.com
Mon May 22 15:20:38 GMT 2006


Hi Oscar:

I am not quite sure why should we lock the key?  To aviod data dirty? If two
people access the same key, I suppose who modify(update/insert/delete) first
who takes the winner :P

Mark

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of 
> Oscar Renalias
> Sent: Monday, May 22, 2006 1:11 PM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] memcached
> 
> Can we wait for 1.1.1 or 1.2 for something like this? Option 
> 2 is you add the code but we don't tell anyone that it's there :)
> 
> I do agree that's very interesting, and I had it in my TODO 
> list for next versions. Great to see that you were faster!
> 
> By the way how did you get around the "no-locking" feature? 
> That's definitely got to be considered.
> 
> On 5/21/06, Mark Wu <markplace at gmail.com> wrote:
> > BTW, I think Ican release it as a patch instead of adding 
> it to core ...
> >
> > Because I don't think it is a good time to add it to our 
> core, because 
> > "I hope our 1.1 dao can stablized first ..... "
> >
> > :)
> >
> > Mark
> >
> > > -----Original Message-----
> > > From: Mark Wu [mailto:markplace at gmail.com]
> > > Sent: Sunday, May 21, 2006 6:53 PM
> > > To: 'plog-svn at devel.lifetype.net'
> > > Subject: RE: [pLog-svn] memcached
> > >
> > > I already have a memcached version of cache manager.
> > >
> > > And, I will release it when lifetype 1.1.x or 1.2 coming.
> > > Because I hope our 1.1 dao can stablized first ..... . :(
> > >
> > > BTW, till now, it works very good in my testing machine ..:)
> > >
> > > My testing machine:
> > > 2 memcached deamon.
> > > 1 db server
> > > 1 lighttpd server.
> > >
> > > Mark
> > >
> > > > -----Original Message-----
> > > > From: plog-svn-bounces at devel.lifetype.net
> > > > [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon 
> > > > Daley
> > > > Sent: Sunday, May 21, 2006 3:42 AM
> > > > To: LifeType SVN
> > > > Subject: [pLog-svn] memcached
> > > >
> > > >     I am not sure how much this is needed with the new 
> 1.1 caching 
> > > > stuff, but it looks pretty neat, and particularly good 
> for large 
> > > > installations with multiple servers.
> > > >
> > > >     There is a memcache-php package, so it is easy to use
> > > in that sense.
> > > > I am not sure how much work would have to be done to get the 
> > > > key/id stuff into LT, and I am not sure how you would go about
> > > invalidating
> > > > the data on update, but presumably there is a function 
> to do that.
> > > >
> > > >
> > > > memcached optimizes specific high-load serving 
> applications that 
> > > > are designed to take advantage of its versatile 
> no-locking memory 
> > > > access system.  Clients are available in several different 
> > > > programming languages, to suit the needs of the specific 
> > > > application.  Traditionally this has been used in 
> mod_perl apps to 
> > > > avoid storing large chunks of data in Apache memory, 
> and to share 
> > > > this burden across several machines.
> > > >
> > > > Danga Interactive developed memcached to enhance the speed of 
> > > > LiveJournal.com, a site which was already doing 20 million+ 
> > > > dynamic page views per day for 1 million users with a bunch of 
> > > > webservers and a bunch of database servers.  memcached dropped. 
> > > > the database load to almost nothing, yielding faster page load 
> > > > times for users, better resource utilization, and 
> faster access to 
> > > > the databases on a memcache miss.
> > > >
> > > > Homepage: http://people.freebsd.org/~seanc/libmemcache/
> > > >
> > > >
> > > >
> > > > **************************************
> > > > Jon Daley
> > > > http://jon.limedaley.com/
> > > >
> > > > To generalize is to be an idiot.
> > > > -- William Blake
> > > > _______________________________________________
> > > > pLog-svn mailing list
> > > > pLog-svn at devel.lifetype.net
> > > > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list