| 1 |
---------
|
| 2 |
Overview:
|
| 3 |
---------
|
| 4 |
The ad_cache_memcache module allows for serving advertisements from multiple
|
| 5 |
web servers using a central memcache server. It also improves performance
|
| 6 |
by caching advertisements and statistics in memory, only synchronizing
|
| 7 |
occasionally.
|
| 8 |
|
| 9 |
-------------
|
| 10 |
Installation:
|
| 11 |
-------------
|
| 12 |
The ad_cache_memcache module must be installed in the same directory that the
|
| 13 |
ad module was installed. For example, if the ad module lives at
|
| 14 |
sites/default/modules/ad, then this modules should live at
|
| 15 |
sites/default/modules/ad_memcache. (This is a temporary limitation that still
|
| 16 |
needs to be solved, caused because advertisements are served without
|
| 17 |
bootstrapping Drupal.)
|
| 18 |
|
| 19 |
NOTE:
|
| 20 |
This module is currently hard coded to talk to memcache at localhost:11211.
|
| 21 |
|
| 22 |
-------------
|
| 23 |
Requirements:
|
| 24 |
-------------
|
| 25 |
The ad_cache_memcache module requires that you have memcache PHP extensions
|
| 26 |
installed, and that memcached is running. For more information about the
|
| 27 |
memcache extension, visit these pages:
|
| 28 |
http://php.net/memcache
|
| 29 |
http://pecl.php.net/package/memcache
|