Shane Hathaway on May 5th, 2009

This release works with unpatched versions of ZODB 3.9!  A big thank-you to Jim Fulton for including support for RelStorage in ZODB.  This release also continues to support patched versions of ZODB 3.7 and 3.8.
I have been doing a lot of testing, and I have found MySQL 5.1.34 to be a lot more stable than [...]

Continue reading about RelStorage 1.2.0b2 Released

 

Shane Hathaway on April 8th, 2009

These step by step instructions describe how to install Plone on Ubuntu with RelStorage connected to MySQL as the main database. Familiarity with Linux systems administration is expected. Update: These instructions were revised in August 2009 for Plone 3.2.3 and RelStorage 1.2.0.

Continue reading about How to Install Plone with RelStorage and MySQL

Shane Hathaway on April 7th, 2009

I’ve been working on a document explaining how to install Plone with RelStorage, starting from a basic Linux server.  As always, the basic procedure is simple, but there are all sorts of interesting little complications.  One detail that bugged me today is the need for a shared session database.
Session storage is a little different from [...]

Continue reading about RelStorage for Sessions?

Shane Hathaway on March 19th, 2009

Last time I ran the RelStorage performance tests, the write speed to a MySQL database appeared to be slow and getting slower.  I suspected, however, that all I needed to do was tune the database.  Today I changed some InnoDB configuration parameters from the defaults.  The simple changes solved the MySQL performance problem completely.
The new [...]

Continue reading about How to Fix the MySQL Write Speed

Shane Hathaway on March 6th, 2009

I am more than happy to support RelStorage as best I can by email.  Every time I do, however, I always get a nagging feeling that I could help RelStorage users a lot better if we set up a short term support contract.  I would very much appreciate a chance to optimize their system by [...]

Continue reading about RelStorage Support

Shane Hathaway on January 27th, 2009

Remember how I was talking about serializing data in ZODB using Google Protocol Buffers instead of pickles?  Well, Keas Inc. suggested the idea and asked me to work on it.  The first release of a package combination that implements the idea is ready:

keas.pbstate 0.1.1 (on PyPI), which helps you write classes that store all state [...]

Continue reading about keas.pbpersist and keas.pbstate

Shane Hathaway on January 27th, 2009

This release has two new useful features, one for performance, one for safety.
The performance feature is that if you use both the cache-servers and poll-interval options, RelStorage will use the cache to distribute basic change notifications.  That means we get to lighten the load on the database using the poll-interval, yet changes should still be [...]

Continue reading about RelStorage 1.1.2

Shane Hathaway on January 24th, 2009

This week, I put up some ZODB3 eggs and source distributions with the patch required for RelStorage already applied. I built both ZODB3-3.8.1-polling and ZODB3-3.7.3-polling.  I even made eggs for Windows developers who have not yet taken the time to set up MinGW.
http://packages.willowrise.org/
Developers can use this web site in buildout.cfg to incorporate [...]

Continue reading about Patched ZODB3 Eggs Available

Shane Hathaway on January 20th, 2009

I just learned about the Paxos algorithm. I think we might be able to use it to create a fully distributed version of ZODB. I found a document that explains Paxos in simple terms.  Now I’m interested in learning about any ideas and software that might support integration of Paxos into ZODB.  I [...]

Continue reading about What Would ZODB + Paxos Look Like?

Shane Hathaway on January 9th, 2009

Today I drafted a module that mixes ZODB with Protocol Buffers.  It’s looking good!  I was hoping not to use metaclasses, but metaclasses solved a lot of problems, so I’ll keep them unless they cause deeper problems.
The code so far lets you create a class like this:
class Tower(Persistent):
__metaclass__ = ProtobufState
[...]

Continue reading about ZODB + Protobuf Looking Good