[Erp5-report] r27921 - in /erp5/trunk/bt5/erp5_base: PathTemplateItem/portal_caches/ PathTe...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 3 17:08:21 CEST 2009


Author: nicolas
Date: Fri Jul  3 17:08:20 2009
New Revision: 27921

URL: http://svn.erp5.org?rev=27921&view=rev
Log:
2009-07-03 nicolas
* add cache plugin and memcached plugin for Persistent Caching of document conversions.
Flare should be installed and running

Added:
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory.xml
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/persistent_cache_plugin.xml
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/
    erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/persistent_memcached_plugin.xml
Modified:
    erp5/trunk/bt5/erp5_base/bt/change_log
    erp5/trunk/bt5/erp5_base/bt/revision
    erp5/trunk/bt5/erp5_base/bt/template_path_list

Added: erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory.xml?rev=27921&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory.xml (added)
+++ erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory.xml [utf8] Fri Jul  3 17:08:20 2009
@@ -1,0 +1,101 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CacheFactory" module="Products.ERP5Type.Document.CacheFactory"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>cache_duration</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>document_cache_factory</string> </value>
+        </item>
+        <item>
+            <key> <string>last_id</string> </key>
+            <value> <string>7</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Cache Factory</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Documents Cache</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <tuple>
+          <tuple>
+            <tuple>
+              <string>ERP5 Zodb Cache</string>
+              <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
+            </tuple>
+          </tuple>
+        </tuple>
+      </tuple>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="5" aka="AAAAAAAAAAU=">
+    <pickle>
+      <global name="OIBTree" module="BTrees._OIBTree"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <tuple>
+          <tuple>
+            <tuple>
+              <string>1</string>
+              <int>1</int>
+            </tuple>
+          </tuple>
+        </tuple>
+      </tuple>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/persistent_cache_plugin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/persistent_cache_plugin.xml?rev=27921&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/persistent_cache_plugin.xml (added)
+++ erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_caches/document_cache_factory/persistent_cache_plugin.xml [utf8] Fri Jul  3 17:08:20 2009
@@ -1,0 +1,68 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DistributedRamCache" module="Products.ERP5Type.Document.DistributedRamCache"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>cache_duration</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>cache_duration</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>specialise/portal_memcached/persistent_memcached_plugin</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>persistent_cache_plugin</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>persistent_storage</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Distributed Ram Cache</string> </value>
+        </item>
+        <item>
+            <key> <string>server</string> </key>
+            <value> <string>127.0.0.1:12121</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>MemcacheDB</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/persistent_memcached_plugin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/persistent_memcached_plugin.xml?rev=27921&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/persistent_memcached_plugin.xml (added)
+++ erp5/trunk/bt5/erp5_base/PathTemplateItem/portal_memcached/persistent_memcached_plugin.xml [utf8] Fri Jul  3 17:08:20 2009
@@ -1,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="MemcachedPlugin" module="Products.ERP5Type.Document.MemcachedPlugin"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>url_string</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>persistent_memcached_plugin</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Memcached Plugin</string> </value>
+        </item>
+        <item>
+            <key> <string>server_max_key_length</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>server_max_value_length</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Flare</string> </value>
+        </item>
+        <item>
+            <key> <string>url_string</string> </key>
+            <value> <string>127.0.0.1:12121</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_base/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/change_log?rev=27921&r1=27920&r2=27921&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/change_log [utf8] Fri Jul  3 17:08:20 2009
@@ -1,3 +1,7 @@
+2009-07-03 nicolas
+* add cache plugin and memcached plugin for Persistent Caching of document conversions.
+Flare should be installed and running
+
 2009-04-18 Kazuhiko
 * Version 5.4.1
 

Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=27921&r1=27920&r2=27921&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Fri Jul  3 17:08:20 2009
@@ -1,1 +1,1 @@
-611
+613

Modified: erp5/trunk/bt5/erp5_base/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/template_path_list?rev=27921&r1=27920&r2=27921&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/template_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/template_path_list [utf8] Fri Jul  3 17:08:20 2009
@@ -1,6 +1,9 @@
+portal_caches/document_cache_factory
+portal_caches/document_cache_factory/**
 portal_categories/collect_order_group/cell
 portal_categories/collect_order_group/delivery
 portal_categories/collect_order_group/line
 portal_categories/divergence_scope/category
 portal_categories/divergence_scope/property
-portal_categories/divergence_scope/quantity
+portal_categories/divergence_scope/quantity
+portal_memcached/persistent_memcached_plugin




More information about the Erp5-report mailing list