Re: MySQL server + memcached: CPU usage very low, but Memory quite high

2010-03-25 Thread p23
> In general I would advice you to be very carefull running multiple instances > of memory and > connection (yes, a connection to localhost is still a connection) consuming > entities on > one machine. In various scenarios this will produce unpredictable behavior. > Why bother? 2% more memory i

MySQL server + memcached: CPU usage very low, but Memory quite high

2010-03-25 Thread p23
Hi, I've 3 server running apache,MySQL and memcached. i monitor the CPU+Memory usage of MySQL. it show when i'm using MySQL with memcached (dedicated server), the cpu usage is very low but the memory quite higher a little bit. It's not much, but i'm wonder why it goes higher (than MySQL with memcac

Re: does memcached fasten web server?

2010-03-16 Thread p23
On Mar 15, 8:19 pm, Gabriel Sosa wrote: > 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

Re: does memcached fasten web server?

2010-03-09 Thread p23
> 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.

does memcached fasten web server?

2010-03-08 Thread p23
Hi, I do simple benchmark on my web server by issuing 50 queries. I send 10,000 request and it shows by using memcached is slightly slower than (or almost the same) without memcached. The result shows 216.29 request per second for memcached enabled and 216.51 for memcached disabled. However, if i r

Test memcached

2010-02-08 Thread p23
I'm noob to memcached. I'm currently running a project to test memcached performance. i'm using three machines, 1 for apache2 web server, 1 for MySQL as the database server and another one for memcached server. All machines located in the same LAN. Pc 1 = apache2 Pc 2 = mysql server Pc 3 = memcac

Test memcached

2010-02-08 Thread p23
I'm noob to memcached. I'm currently running a project to test memcached performance. i'm using three machines, 1 for apache2 web server, 1 for MySQL as the database server and another one for memcached server. All machines located in the same LAN. Pc 1 = apache2 Pc 2 = mysql server Pc 3 = memcac

invalidate entry in memcache using php

2010-02-05 Thread p23
Hi, I'm very beginner to memcached and php How do i invalidate items in memcache after the database has been written? I put these query to mysql to read: “SELECT * FROM employees" so will retrieve it from database and cache it using a key. Let say it will gives result of 10 records. After a whil