Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple persistent store coordinators gotchas?



Hi Melissa,

Thanks for your help.  A quick question on this stale data statement:

On Oct 15, 2008, at 5:52 PM, Melissa J. Turner wrote:
Stale data is unlikely to be a problem unless you're expecting to load it significantly before you actually need it, which would be the same if you were loading it into a separate context on the same coordinator.

Just to clarify, stale data is only an issue for long-lived MOCs, not long-lived PSCs. For example, if we create 1 PSC for all the background threads to share for the lifetime of the app, but only create (or reset) MOCs just before report generation, there's minimal chance of stale data. These new/reset MOCs will always have fresh data?


-Dave

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Multiple persistent store coordinators gotchas? (From: Dave Dribin <email@hidden>)
 >Re: Multiple persistent store coordinators gotchas? (From: "Melissa J. Turner" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.