Author Archive

simple ZODB performance settings

The use of the database can be optimized by using a bigger cache in the client.

For a single zope instance without a zeo server this can be done by increasing the number of cached objects.

The cache.size parameter in etc/local.conf must be set (default is 5000) :


cache-size 50000
path $DATADIR/Data.fs

The default size of 5000 is no longer usefull for a database with 200000 objects.

For a zeo client it is possible to configurate the client cache memory size :

server localhost:8101 storage 1
# ZEO client cache, in bytes
cache-size 300MB
# Uncomment to have a persistent disk cache
#client zeo1

The size should be set to a high value because otherwise a lot of network traffic is created between zeo and the client, this is also true if the client and zeo is on the same machine using localhost for the connection.

subversion switch

When using subversion it is sometimes neccessary to “switch” a checkout to another location.

There are different scenarios :

  1. The switch occures inside the same repository, eg. from the trunk to a branch.
    > svn switch URL [PATH]
  2. A change switches to the new location of a repositiory after the repository was moved
    > svn switch –relocate FROM TO [PATH]
  3. A switch is neccessary from a read only checkout to a writeable checkout.
    This command is often used to switch a read only svn checkout to a writeable checkout :
    > svn switch –relocate svn:// svn+ssh:// [PATH]

openvpn on mac os-x

I just installed openvpn on my mac os-x macbook.
Sadly it was not click and run :(
The good news is, I managed it to work…

Technorati Tags: , ,


continue reading the full article