Search Results

PHP opcode caches - require_once is slow

php opcode+cache apc xcache eaccelerator mmcache issues require_once
If you got a large OO PHP application, you usually come with many files included using “require_once()”. Different test from different sources shows that using require_once works up to 4 times slower than require. Basically, all known PHP opcode caches suffers from this issue (APC, XCache, ea/mmcache).

There’s patches [...]

Alternative PHP Cache (APC) and __autoload() interoperability

php cache apc autoload
The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code.

Many developers writing object-oriented applications create one PHP source file per-class definition. Using __autoload() helps to overcome one of [...]

Your next dedicated solution. Growing smart.

web server database hosting Your dedicated server suffer from overload? It’s time to get bigger! The good step forward is 2 web + 1 database server. If you do not want to split media content and dynamic pages between different servers, you probably need loadbalancer.