[SqueakSource] SSFilesystem woes

Lukas Renggli renggli at gmail.com
Fri Aug 3 07:04:13 UTC 2007


> Question: Is anyone using alternative storage mechanisms (lightweight &
> fast perhaps)? If so, what do you use and how does it work out?
> Generally speaking, what *do* people use for Squeaksource storage given
> that SSFilesystem is generally quite unreliable?

Are you on the latest version?

www.squeaksource.com saves the image every hour. For that amount of
objects ReferenceStreams simply don't work anymore. We host about
30'000 versions with more than 2 GB of data.

The following code is executed from a transcript:

[ [ Smalltalk saveSession.
     SSRepository storage log: 'IMAGE SAVE' ] fork.
  (Delay forSeconds: 60 * 60) wait ] repeat

In case the image crashes (what didn't happen for a very long time
now) it automatically reloads the missing versions from the harddisk.

SSRepository current projects do: [ :each |
  SSRepository storage importVersionsFor: (SSRepository current
    projectAt: each id ] ]

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list