[aida] Scribo and persistency

Nicolas Petton petton.nicolas at gmail.com
Sun Feb 10 19:43:02 CET 2008


Le dimanche 10 février 2008 à 10:34 -0800, Michael Rueger a écrit :
> Nicolas Petton wrote:
> 
> > Repository>>save
> >         self persistency saveRepository
> > 
> > Repository>>restore
> >         self persistency restoreRepository
> 
> Keep in mind that simply saving the complete repository on every change 
> (or even every x minutes)

Yes, but this is only an example. The idea is to have several subclasses
of ScriboPersistency class. This way you'll have the choice. And we can
save only what's changed after every change.
> 
> - doesn't scale
> - isn't safe with concurrency
> 
So, what do you suggest ?

Nicolas

> SqueakSource is a good (or bad) example how to not approach persistency.
> 
> Michael
> 
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20080210/9b246c0d/attachment-0001.sig 


More information about the Aida mailing list