… may be performance bottleneck, assuming PHP opcode cache is not used. Also different applications may have different cache hit ratios which also needs… some syncronization contention while accessing shared memory cache which does not happen in this case. File cache really does great, even though it…
Post: Content delivery system design mistakes
… needs to be enforced. Serving file by simply reading from PHP or any other heavy programming language and sending it back… (for example) in-memory cache it may work quite well and in fact will give better memory utilization as OS cache has single page granularity (meaning 100 bytes file will still take 4KB in cache). For serving…
Comment: Cache Performance Comparison
… faster as a straight PHP call on the memory cache, but you can only access the memory cache from the local PHP process. Â I have… access the cache from a central location, which with memcached is possible but not with APC as it is PHP specific. Â For more information on performance and advice on when various caching methods may be more…
Post: Caching techinques
… (instead of doing it from PHP). The other case when caching in files can be very helpful is caching data long term – ie… objects cached and they are stored on the storage or network rather than local memory. This approach works very well if you cache is structured so each update removes only one object from the cache. Cache Update…
Post: Read/Write Splitting with PHP Webinar Questions Followup
…gave a presentation on “Read/Write Splitting with PHP” for Percona Webinars. If you missed it, you …, I’d recommend storing $_SESSION in an in-memory data store such as Memcached or APC. Store in… / contrast this approach with using a write-through cache? A: The InnoDB buffer pool is effectively a …
Comment: APC or Memcached
… caching things locally if you have many web servers. MemcacheD is relatively slow but distributed and so you do not waste memory by caching same item in a few places, it is also… you need only one access to bring item into the cache, not access for each of web servers. (tags: apc cache php) [...]
Comment: Cache Performance Comparison
… php api for it are available. Second – I do not think it makes much sense. Memcached should be used for _distributed_ memory caching. If you’re running it on localhost you’re using wrong solution. Correctly implemented shared memory cache will be faster…
Post: Heikki Tuuri answers to Innodb questions, Part II
… only recently found and fixed: http://bugs.mysql.com/bug.php?id=29560 Concerning a switch to Oracle’s main database… why to use a flash memory at all, when a battery-backed disk controller write-back cache does the same thing. PZ… DRAM” memory device, which would offer some small amount, say 512M memory which is battery backed up just as RAID cache so it…
Post: Should MySQL and Web Server share the same box ?
… (php,perl,python) per box (which is probably bad idea anyway). The good use for such extra memory is probably caching – Web page caching, if you do not have separate layer for it, local memory or cacheing type of caching (depending…
Post: Speedup your LAMP stack with LigHTTPD
… workarounds to this problem: Just get more memory/more boxes. The good thing with Web servers … all problems. Use FastCGI instead of mod_php etc. Apache itself without any programming language …. One obvious one is Caching – it however requires you to provide cache expiration information for dynamic …

