3

I'm using OpenX 2.8.7 on nginx, PHP 5.3.6 (FastCGI via PHP-FPM) and APC. memcached version is 1.4.5 and have 64MB allocated to it.

I'm testing the speed of a banner delivery for a zone with 720 linked banners (all of them have several limitations - countries and 1-2 site variables).

When using file-based caching with 1200 second expiration, the banner is delivered (via php local mode tag) in 0.08-0.10 seconds. When delivered with memcached, it's always 0.13-0.16 seconds (still 1200 seconds expiry time).

The testing environment is not loaded in any way. There's a lot of free RAM.

Is it possible that OpenX with memcached will be slower than the default file-based caching?

Thanks, Bar.

4

1 回答 1

2

这是可能的,因为您需要创建与 Memcache 服务器的连接的开销。

我相信当您有多个提供广告的 OpenX 服务器时,Memcache 缓存会更有用。

于 2011-06-14T19:18:08.063 回答