Re: Faster Serialization?

"Vitor F. Pamplona" <[email protected]> Mon, 21 Oct 2013 14:08:08 -0400
Newsgroups gmane.comp.java.prevayler
Message-ID <CAAi+1snCCL1A2_TOyW9qsEdqkr7Z9KV6zvhnkuK-iyv5_46hSA@mail.gmail.com>
> Only a snapshot file? no transaction logs?

Sorry, I do have the snapshot + logs.

> 15 minutes seems way too long for a 300MB snapshot.

Really? This seems to be normal for my apps. It's running over tomcat6 on a
linode basic with 8 other Prevayler apps (wonder if it is a disk access
issue).

> How many classes and objects do you have roughly?

The Graph has about 24 classes and several links to each other.

Nice point Klaus. Will try FST.


On Mon, Oct 21, 2013 at 10:08 AM, Klaus Wuestefeld <[email protected]> wrote:

> 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
>
> --
> <http://www.prevayler.org>
> <http://www.prevayler.org>Vitor Pamplona <http://vitorpamplona.com>
> Co-founder & CTO *|* EyeNetra <http://eyenetra.com> 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=60135991&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