How are you filling your cache? if you are doing in in the same
script, you should run it more than once.

Also I would like to see how your code was done. If you could post
part of it maybe we can see what's going on. We've been using
memcached for years on our PHP application and we got an incredible
performance (once the queries filled the cache)

On Tue, Mar 9, 2010 at 2:37 AM, p23 <[email protected]> wrote:
>
>> What is your app and what exactly is it doing? What are the components, db
>> queries, etc?
> This test is used to monitor the throughput (req/sec) using apache
> bench to compare result between webserver with memcached enabled and
> memcached disabled.
> I written a php code to request 50 mysql queries. each queries will
> return about 4 rows.
> These are the details of my hardware and application used.
>
> I used 3 machines for:
> Web Server
> Database Server
> Memcached Server
>
> Server Specification
> ====================
> Processor: AMD64 Phenom (quad core)
> RAM: 1.7G
> NIC: Ethernet Gigabit
> Hard disk: Sata
>
> Software Details
> ================
> Web Server
> ----------
> Ubuntu Server 64-bit version 9.10
> PHP Version 5.2.10-2ubuntu6.4
> Apache 2.2.12
> memcached extension 2.2.5
>
> Mysql Server
> ------------
> Ubuntu Server 64-bit version 9.10
> mysql-server 5.1
>
> Memcached Server
> ----------------
> Ubuntu Server 64-bit version 9.10
> memcached version 1.4.4
>
> Client: using ab (apache bench)
> ab -n10000 -c50 http://server/read.php
>
>> have you verified memcached is being accessed instead of the
>> database?
>
> Yes, I have. I'm using memcached function getExtendedStats();
> it shows that all 50 queries are cached. In addition, I use cacti to
> monitor my Mysql Server. It shows RAM and CPU usage, and the network
> traffic are quite low. So it alleviate the database right?..
>
> But, is it necessary to be faster than server memcached disabled?
> Thanks.
>



-- 
Gabriel Sosa
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein

Reply via email to