[Python-Dev] 2.3.1 is (almost) a go

Gregory P. Smith greg at electricrain.com
Fri Sep 26 19:39:59 EDT 2003


> For long-running SpamBayes apps like pop3proxy and the
> Outlook plugin, pickles make sense if shared access to the scoring database
> is not needed.

Combine that with data event/change logging and you have effectively the
same thing as what many apps think they need to use a database library
for.  Replay the entire log of data changes internally on infrequent app
startup to generate your internal state.  when the log file is getting to
big, write a full state snapshot and continue logging changes from it.
no need to save the entire pickle everytime something changes.





More information about the Python-Dev mailing list