From: Nick Kew Date: Tue, 1 Mar 2011 02:42:13 +0000 (+0000) Subject: Document socache and fix the TODO in authn_socache docs. X-Git-Tag: 2.3.11~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf38c8efafa8383a2643bbc432d332181d847920;p=apache Document socache and fix the TODO in authn_socache docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1075625 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_authn_socache.xml b/docs/manual/mod/mod_authn_socache.xml index 8a0d85c32c..79515115a9 100644 --- a/docs/manual/mod/mod_authn_socache.xml +++ b/docs/manual/mod/mod_authn_socache.xml @@ -100,12 +100,11 @@ the load on backends None -

This is a server-wide setting. If not set, your platform's +

This is a server-wide setting to select a provider for the + shared object cache. + Values are "dbm", "dc", "mc", or "shmcb", each subject to the + appropriate module being loaded. If not set, your platform's default will be used.

- socache -

The cache is built on the the socache framework. - We need a link here once that's documented!

-
diff --git a/docs/manual/sitemap.xml b/docs/manual/sitemap.xml index 648e42d827..05b169a4f4 100644 --- a/docs/manual/sitemap.xml +++ b/docs/manual/sitemap.xml @@ -57,8 +57,10 @@ Documentation.

Setting which addresses and ports Apache uses Multi-Processing Modules (MPMs) Environment Variables in Apache +Expression Parsing in Apache Apache's Handler Use Filters +Shared Object Cache Support suEXEC Support Performance Hints Frequently Asked Questions diff --git a/docs/manual/socache.xml b/docs/manual/socache.xml new file mode 100644 index 0000000000..1206dc00d6 --- /dev/null +++ b/docs/manual/socache.xml @@ -0,0 +1,68 @@ + + + + + + + + + Shared Object Cache in Apache HTTP Server + + +

The Shared Object Cache provides a means to share simple data + across all a server's workers, regardless of thread + and process models. It is used where the advantages of sharing + data across processes outweigh the performance overhead of + inter-process communication.

+
+ +mod_socache_dbm +mod_socache_dc +mod_socache_memcache +mod_socache_shmcb + +
+ Shared Object Cache Providers +

The shared object cache as such is an abstraction. Four different + modules implement it. To use the cache, one or more of these modules + must be present, and configured.

+

The only configuration required is to select which cache provider + to use. This is the responsibility of modules using the cache, and + they enable selecton using directives such as + AuthnCacheSOCache, + SSLSessionCache, and + SSLStaplingCache.

+

Currently available providers are:

+
+
mod_socache_dbm ("dbm")
+
This makes use of a DBM hash file. + The choice of underlying DBM configuration may be configurable + if the installed APR version supports multiple DBM implementations.
+
mod_socache_dc ("dc")
+
This makes use of the distcache + distributed session caching libraries.
+
mod_socache_memcache ("mc")
+
This makes use of the memcached + high-performance, distributed memory object caching system.
+
mod_socache_shmcb ("shmcb")
+
This makes use of a high-performance cyclic buffer inside a + shared memory segment.
+
+
+ +
diff --git a/docs/manual/socache.xml.meta b/docs/manual/socache.xml.meta new file mode 100644 index 0000000000..a81dae4f6b --- /dev/null +++ b/docs/manual/socache.xml.meta @@ -0,0 +1,12 @@ + + + + + socache + / + . + + + en + +