> 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.

Reply via email to