From jbosscache-commits at lists.jboss.org Tue May 20 12:34:23 2008 Content-Type: multipart/mixed; boundary="===============0182342548894321365==" MIME-Version: 1.0 From: jbosscache-commits at lists.jboss.org To: jbosscache-commits at lists.jboss.org Subject: [jbosscache-commits] JBoss Cache SVN: r5878 - core/trunk/src/main/docbook/userguide/en/modules. Date: Tue, 20 May 2008 12:34:22 -0400 Message-ID: --===============0182342548894321365== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: genman Date: 2008-05-20 12:34:22 -0400 (Tue, 20 May 2008) New Revision: 5878 Modified: core/trunk/src/main/docbook/userguide/en/modules/cache_loaders.xml Log: Clean up Amazon S3 documentation Modified: core/trunk/src/main/docbook/userguide/en/modules/cache_loaders.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- core/trunk/src/main/docbook/userguide/en/modules/cache_loaders.xml 2008= -05-19 16:54:25 UTC (rev 5877) +++ core/trunk/src/main/docbook/userguide/en/modules/cache_loaders.xml 2008= -05-20 16:34:22 UTC (rev 5878) @@ -938,6 +938,7 @@ CacheSPI.getMarshaller() instance. Read the javadoc on how data is structured and stored. + Data is stored using Java serialization. Be aware this means data is not readily accessible over HTTP to non-JBoss Cache clients. Your feedback and help would be appre= ciated to extend this cache loader for that purpose. @@ -947,9 +948,7 @@ With this cache loader, single-key operations such as Node.remove(Object) and - Node.put(Object, - Object) - + Node.put(Object, Object) are the slowest as data is stored in a single Map instance. Use bulk operations such as Node.replaceAll(Map) @@ -965,7 +964,7 @@ Amazon S3 Library The S3 cache loader is provided with the default distribution but requires a library to access the service - at runtime. This runtime library may be obtained through th= e Sourceforge Maven + at runtime. This runtime library may be obtained through a = Sourceforge Maven Repository. Include the following sections in your pom.xml = file: net.noderunner amazon-s3 1.0.0.0 + runtime ]]> If you do not use Maven, you can still download the - amazon-s3 library through the repository URL. + amazon-s3 library by navigating the repository or through + this URL. =
Configuration At a minimum, you must configure your Amazon S3 access k= ey and - secret access key. The other configuration keys are listed = in general + secret access key. The following configuration keys are lis= ted in general order of utility. = @@ -1016,7 +1017,7 @@ Set to true to use HTTPS. - Note that unencrypted is obviously faster. + Note that unencrypted uploads and downloads use less = CPU. = @@ -1025,22 +1026,22 @@ Name of the bucket to store data. For different caches using the same access key, use a= different bucket name. Read the S3 documentation on the definition of a buck= et. - The default isjboss-cache. + The default value is jboss-cache. = cache.s3.callingFormat - - One ofPATH,SUBDOMAIN, or + One of PATH, SUBDOMAIN, or VANITY. Read the S3 documentation on the use of calling domai= ns. - The default isSUBDOMAIN. + The default value is SUBDOMAIN. = cache.s3.optimize - - The default isfalse. + The default is false. If true, put(Map) operations @@ -1052,7 +1053,7 @@ cache.s3.parentCache - - The default istrue. + The default is true. Set this value to false if you are using multiple caches @@ -1076,11 +1077,11 @@ cache.s3.location - This choses a primary storage location for your data - to reduce loading and storage latency closest to you. - Set to - EU - to store data locale to Europe. - The default isnull, to store in th= e United States. + to reduce loading and retrevial latency. + Set to EU + to store data in Europe. + The default is null, to store data= in + the United States. --===============0182342548894321365==--