Is openX caching using memcached slower than file-based caching?

I use OpenX 2.8.7 on nginx, PHP 5.3.6 (FastCGI via PHP-FPM) and APC. The memcached version is 1.4.5 and 64 MB is allocated for it.

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

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

The test environment does not load in any way. There is a lot of free RAM.

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

Thanks, Bar.

+3
source share
1 answer

This is possible because you have the overhead of creating a connection to your Memcache server.

I find Memcache caching more useful when you have multiple OpenX servers serving ads.

+2
source

All Articles