NON VOLATILE MEMORY, PHP extension
Brian Moon
brianm at dealnews.com
Thu Jan 11 06:28:02 UTC 2007
Roberto Spadim wrote:
> maybe :)
>
> i was checking with php
> mysql_query('select * from table where
> hash_key='hash_value'');mysql_fetch_row();mysql_free_result();
> is faster than
> memcache_get(server,hash_value);
Did you simulate 400 people doing that at one time? I mean all at the
same time? Unless you did, you did not do a real test. if you only
have one query ever running at one time, you don't need memcached.
According to my tests (YMMV), the PHP extension is the fastest between
PHP, Perl and Python. http://dealnews.com/developers/memcachedv2.html
--
Brian Moon
-------------
http://dealnews.com/
It's good to be cheap =)
More information about the memcached
mailing list