[Checkins] SVN: zodbshootout/trunk/ Build out with RelStorage from subversion for now.

Shane Hathaway shane at hathawaymix.org
Tue Nov 17 04:20:25 EST 2009


Log message for revision 105750:
  Build out with RelStorage from subversion for now.
  
  Also added svn:ignore and expanded interpretation docs.
  

Changed:
  _U  zodbshootout/trunk/
  U   zodbshootout/trunk/README.txt
  U   zodbshootout/trunk/buildout.cfg
  _U  zodbshootout/trunk/etc/
  _U  zodbshootout/trunk/src/

-=-

Property changes on: zodbshootout/trunk
___________________________________________________________________
Added: svn:ignore
   + develop-eggs
include
eggs
lib
bin
var
parts
.installed.cfg
dist


Modified: zodbshootout/trunk/README.txt
===================================================================
--- zodbshootout/trunk/README.txt	2009-11-17 08:42:10 UTC (rev 105749)
+++ zodbshootout/trunk/README.txt	2009-11-17 09:20:25 UTC (rev 105750)
@@ -145,14 +145,21 @@
 
     ``zodbshootout`` begins a transaction, adds the specified number of
     persistent objects to a ``PersistentMapping``, and commits the
-    transaction.
+    transaction. In the sample output above, MySQL was able to write
+    9441 objects per second to the database, almost twice as fast as
+    ZEO. With memcached support enabled, write performance took a small
+    hit due to the time spent storing objects in memcached.
 
 * Read warm objects
 
     In a different process, without clearing any caches,
     ``zodbshootout`` reads all of the objects just written. This test
     favors databases that use either a persistent cache or a cache
-    shared by multiple processes (such as memcached).
+    shared by multiple processes (such as memcached). In the sample
+    output above, this test with MySQL and memcached runs more than ten
+    times faster than ZEO without a persistent cache. (See
+    ``fs-sample.conf`` for a test configuration that includes a ZEO
+    persistent cache.)
 
 * Read cold objects
 
@@ -160,14 +167,17 @@
     ``zodbshootout`` clears all ZODB caches (the pickle cache, the ZEO
     cache, and/or memcached) then reads all of the objects written by
     the write test. This test favors databases that read objects
-    quickly, independently of caching.
+    quickly, independently of caching. In the sample output above,
+    MySQL cheats a little because it uses a query cache.
 
 * Read hot objects
 
     In the same process as was used for reading cold objects,
     ``zodbshootout`` clears only the in-memory ZODB caches (the pickle
     cache) then reads all of the objects written by the write test.
-    This test favors databases that have a process-specific cache.
+    This test favors databases that have a process-specific cache. In
+    the sample output above, all of the databases have that type of
+    cache.
 
 * Read steamin' objects
 
@@ -175,8 +185,8 @@
     ``zodbshootout`` once again reads all of the objects written by the
     write test. This test favors databases that take advantage of the
     ZODB pickle cache. As can be seen from the sample output above,
-    accessing an object from the ZODB pickle cache is much faster
-    than any operation that requires network access or unpickling.
+    accessing an object from the ZODB pickle cache is much faster than
+    any operation that requires network access or unpickling.
 
 Known Issues
 ------------

Modified: zodbshootout/trunk/buildout.cfg
===================================================================
--- zodbshootout/trunk/buildout.cfg	2009-11-17 08:42:10 UTC (rev 105749)
+++ zodbshootout/trunk/buildout.cfg	2009-11-17 09:20:25 UTC (rev 105750)
@@ -16,6 +16,7 @@
 [buildout]
 develop = .
 base-parts =
+    relstorage-svn
     postgresql
     postgresqlinit
     psycopg2
@@ -34,6 +35,12 @@
 parts = ${buildout:base-parts}
 find-links = http://packages.willowrise.org/
 
+[relstorage-svn]
+recipe = infrae.subversion
+as_eggs = true
+urls =
+    svn://svn.zope.org/repos/main/relstorage/trunk RelStorage
+
 [postgresql]
 recipe = zc.recipe.cmmi
 url = ftp://ftp.postgresql.org/pub/source/v8.4.1/postgresql-8.4.1.tar.bz2


Property changes on: zodbshootout/trunk/etc
___________________________________________________________________
Added: svn:ignore
   + zeo.conf
my.cnf



Property changes on: zodbshootout/trunk/src
___________________________________________________________________
Added: svn:ignore
   + zodbshootout.egg-info




More information about the checkins mailing list