Re: Some thoughts on serialization

Klaus Wuestefeld <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <CAMAooZFurpewPvnDkfejG1o-jTKrnz-8f1_iUnfBgHtfvZjNMg@mail.gmail.com>
One thing that might be easy to paralelize is to speculatively create
"empty" instances of your domain objects to be used when the
unmarshaller needs them.

Klaus


On Mon, Feb 27, 2012 at 1:43 PM, Karl Wettin <[email protected]> wrote:
> Oh, ok, no it's 12GB domain data. With indices etc it's quite a bit more.
>
>
> On Feb 27, 2012, at 5:21 PM, Robert Friberg wrote:
>
>> Some parts of the system could be functionally derived from other parts and therefore excluded from snapshots. Example in C#:
>>
>> [Serializable]
>> class MyModel : Model {
>>
>>    [NonSerializable]
>>    private Dictionary<string,Article> _fullTextIndex;
>>
>>    private List<Article> _articles;
>>
>>    protected override void AfterDeserialize() { BuildIndex(); }
>>
>> }
>>
>>
>> Robert Friberg
>> 0733-839080
>> http://livedb.devrex.se
>> http://livedomain.codeplex.com
>> http://devrex.se
>> http://www.linkedin.com/in/robertfriberg
>>
>>
>> -----Original Message-----
>> From: Karl Wettin [mailto:[email protected]]
>> Sent: den 27 februari 2012 17:12
>> To: Open discussion about the Prevayler project.
>> Subject: Re: [Prevayler-discussion] Some thoughts on serialization
>>
>>
>> 27 feb 2012 kl. 16:24 skrev Robert Friberg:
>>
>>> I don't know if this could apply to your situation but one approach is to mark some parts of the system as nonserializable and rebuild them after deserialization.
>>
>> I don't understand what you mean.
>>
>>
>>
>>               karl
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
>> _______________________________________________
>> "Databases in Memoriam" -- http://www.prevayler.org
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
>> _______________________________________________
>> "Databases in Memoriam" -- http://www.prevayler.org
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.