OO Database question with FLASH drive
Aaron Reichow
revaaron at bitquabit.com
Tue Nov 14 23:18:06 UTC 2006
Jon,
Not to mention slow! On a 200-400 MHz PDAish machine like the
gumstix, saving stuff out as an image segment takes a few seconds,
even if it's just something simple. But saving something in Magma or
MinneStore are pretty much instant and transparent.
I think some sort of object database does indeed make sense. The two
options that would be useful for you are Magma or MinneStore.
MinneStore is older and might not even work on newer versions of
Squeak. I'm not 100%, but I recall that Magma doesn't write until
you commit. Magma does indeed have sessions, where do you do a
commit after changing/adding stuff to the root object.
What is extra cool about Magma is that the database is basically just
a Dictionary object that you can use like a regular dictionary, and
then say 'commit' when you want that to be saved. You have to talk to
Chris Muller or try it out yourself to find out for sure.
I used to use MinneStore and currently use Magma on Linux and WinCE
PDAs. I've been impressed with their performance. I'm not saving huge
amounts of information- notes, PIM data, etc- but it's a lot faster
than ImageSegments or ReferenceStreams.
Regards,
Aaron
On Nov 14, 2006, at 4:49 PM, Jon Hylands wrote:
> On Tue, 14 Nov 2006 14:05:50 -0800, Todd Blanchard
> <tblanchard at mac.com>
> wrote:
>
>> have you looked into image segments?
>
> Well, I've thought about it, but I really want to keep the state
> saved in
> "real time" which means I need incremental updates of the data. While
> ImageSegments could be used that way, they would be very wasteful
> of both
> FLASH write cycles and processor time, both of which are in short
> supply on
> a machine like the gumstix.
>
> Later,
> Jon
>
> --------------------------------------------------------------
> Jon Hylands Jon at huv.com http://www.huv.com/jon
>
> Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
> http://www.huv.com
>
More information about the Squeak-dev
mailing list
|