Re: Faster Serialization?

Klaus Wuestefeld <[email protected]> Mon, 21 Oct 2013 12:08:19 -0200
Newsgroups gmane.comp.java.prevayler
Message-ID <CAMAooZHnJDGe6a0urgZzW78q2RR5ZcZwP9j4=cfWsJ6OU5o9wA@mail.gmail.com>
Hi Vitor, you can use FST with
http://prevayler.org/old_wiki/ThereCanOnlyBeOne.html , to avoid issues
with class versioning.

A limitation from the FST home page: "reads/writes to a temporary
buffer in memory to speed up things. This might impose a problem when
reading/writing huge objects > 100MB". Not clear if he means huge
arrays or huge graphs.

Klaus



On Mon, Oct 21, 2013 at 11:52 AM, Fabio Roger <[email protected]> wrote:
> Only a snapshot file? no transaction logs? 15 minutes seems way too long for
> a 300MB snapshot.
> How many classes and objects do you have roughly?
>
>
> On 21 October 2013 14:38, Vitor F. Pamplona <[email protected]> wrote:
>>
>> Hey guys,
>>
>> What is the fastest way to boot a Prevayler database?
>>
>> I am using standard SDK serialization with Prevayler 2.6. It is working
>> great with a ~300MB snapshot file. My only problem is that it is too slow to
>> boot up. About 15 mins for the first transaction to go through.
>>
>> Has anyone tried FST - Fast Serialization
>> (https://code.google.com/p/fast-serialization/)? It seems to be a lot faster
>> than the standard implementation on the JDK.
>>
>> However, it does not support class versions and thus schema evolution. Not
>> sure if there is a way around it.
>>
>> Any other ideas?
>>
>> Thanks,
>>
>> --
>> Vitor Pamplona
>> Co-founder & CTO | EyeNetra Inc.
>> Cell: 617.318.8685 | [email protected]
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> To unsubscribe go to the end of this page:
>> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
>> _______________________________________________
>> "Databases in Memoriam" -- http://www.prevayler.org
>>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>



-- 
Valeu, Klaus.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org