php, python, perl, again.

Paul T pault12345 at yahoo.com
Fri Jun 30 22:30:08 UTC 2006


Brian,
 
> >  1. What are the sizes of the *values*?
> 
> They are $x (0-100).  That is what the set/get
> scripts set earlier.

 That's what I was suspecting. 10 bytes.
 Try 10K values. (Saying that for the third time.)

> >  2. Now for your curiosity - wrap the 
> > 
> >  for($x=0;$x<100;$x++){
> >     $var = $MEMCACHE->get("thing$x");
> >  }
> > 
> >  In:
> >  
> > 
> for($iterations=0;$iterations<10000;$iteration++){
> >     for($x=0;$x<100;$x++){
> >       $var = $MEMCACHE->get("thing$x");
> >     }
> >  }
> > 
> >  Measuring 100 iterations rarely makes sense.
> 
> The code is all there.  Go for it.  I am done with
> these tests.  I have 
> blown way too many hours on it already and the
> results are really still 
> the same as when I started this in Februrary.

 Too bad.

> Besides, 1,000,000 memcache gets in one script is
> extreme.  On our 
> pages, we do upwards of 50 or 60.  So, I feel 100 is
> a good test.

 You are (still) not getting it. It is *not* 1.000.000
memcached gets. It is 10.000 of 100 hits bursts. If
10.000 iterations is too much for you - make at least
1000 iterations. Or 100.

 Not *one* iteration (of "100 hits burst"), for crying
out loud. 

 There is no 'benchmarks' with 1 iteration. 

> Thanks for the feedback though.

 That was not easy.

 I am certainly done with this thread. 

 Unless you begin writing papers on "Cheap Deals",
that is domain that I don't know, might be
interesting.

Rgds.Paul.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the memcached mailing list