0
votes
2answers
100 views

Can I use two machines to set up memcache server for a php web app?

I have a web server which hosts my PHP web app and my MySQL server. I would like to throw out one more machine there to use it for memcache/memcached. In order to use Memcache, should I have a ...
1
vote
1answer
3k views

Memcached Cluster - better to have 3 smaller instances or 2 mediums ones?

Currently I have 2 small servers in an memcached cluster. We are approaching out limits with them and need to grow. What are the pros/cons or going adding another small instance compared with having 2 ...
0
votes
1answer
254 views

is there any point running APC **and** memcached concurrently

Do APC and Memcached cache the same data? I understand that APC caches both files and objects/variables whereas memcached is object-only, but does memcached offer anything that APC doesn't? I've ...
5
votes
1answer
5k views

How is memcache distributed?

I've got memcache running on 5 web servers all of which are on the host list in php and which are load balanced on the front end. So since memcached is supposed to be distributed the php client will ...
20
votes
5answers
18k views

Can a pool of memcache daemons be used to share sessions more efficiently?

We are moving from a 1 webserver setup to a two webserver setup and I need to start sharing PHP sessions between the two load balanced machines. We already have memcached installed (and started) and ...
1
vote
3answers
3k views

Debian tuning for increasing read/write buffer

Is there a way to modify Debian settings so the memory could be used more for disk read/write caching ? I am already using RAID 0 but thats not enough for multiple users, and the disk is almost ...
1
vote
1answer
801 views

memcached vs. tmpfs

Are there any advantages of using memcached locally over using a mounted tmpfs? Maybe, when the memory-caching system resides on the same host, it's better to use file hierarchy on tmpfs which gives ...
3
votes
3answers
85 views

If I make a request to my server's IP address, will it be the same as using 127.0.0.1, or slower?

I have application servers with memcached running on them. What will happen if I make a request to memcached on 10.243.98.5, which just happens to be the originating server? Will it use the same ...
2
votes
2answers
148 views

Live site is down. Too much traffic. Where do I start. (Win 2003 + ASP.NET + Memcached + SQL Server 2005)

Our traffic has gone up significantly, but our site works fine for most of the day, but during our peak hours, our site has been crippled. Requests are being queued in the hundreds and then everything ...
25
votes
5answers
18k views

Which PHP (opcode) cache one should use and why?

I keep hearing about some PHP (opcode) caches like - APC, XCache, Memcache, eAccelerator, etc. But I couldn't ever figure out how to go about choosing one. Apart from performance benefit, which a ...
1
vote
4answers
542 views

Cheap scaling techniques using open-source software

What are your favourite techniques to improve scalability of highly websites? I have compiled the following list for techniques I've used using open-source tools: 1.) Caching full-page ...
3
votes
3answers
302 views

What are the speed drawbacks from using multiple servers to serve a website?

I know these questions are hard to answer :) But I want to get some kind of an idea of the impact of separating services onto different servers. Specifically, I am setting up a website that will have ...
0
votes
2answers
1k views

Querying a Large Dataset Fast: MySQL MEMORY (HEAP) engine, MyISAM, or something else (e.g. MemCached)

Currently working on a project that is centered around a medical vocabulary known as SNOMED. At the heart of snomed is a (relational) dataset that is 350,000 terms/records in length. We want to be ...