• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOUtilities.LocalInstanceOfObject performance problem??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOUtilities.LocalInstanceOfObject performance problem??


  • Subject: Re: EOUtilities.LocalInstanceOfObject performance problem??
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 14 Aug 2008 13:16:41 +1000

On 14/08/2008, at 12:25 PM, Dov Rosenberg wrote:

In our case we create a new EC because we use a SharedEC for read only data.

Is the shared ec locked for reading or writing?

When we need to modify an object we create a new EC and set the reference to
the SharedEC to null and rely on the Object Store Coordinator to notify the
SharedEC when the change is committed. We need objects from the SharedEC so
we use LocalInstance to get one.

Yep.

We have fixed other similar issues by just refetching the objects
into a new EditingContext instead of using localInstance.

I would expect that to be far, far slower.

Have you tried just faulting from the global ids of the objects?

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: EOUtilities.LocalInstanceOfObject performance problem??
      • From: Chuck Hill <email@hidden>
References: 
 >Re: EOUtilities.LocalInstanceOfObject performance problem?? (From: Dov Rosenberg <email@hidden>)

  • Prev by Date: Re: EOUtilities.LocalInstanceOfObject performance problem??
  • Next by Date: Re: EOUtilities.LocalInstanceOfObject performance problem??
  • Previous by thread: Re: EOUtilities.LocalInstanceOfObject performance problem??
  • Next by thread: Re: EOUtilities.LocalInstanceOfObject performance problem??
  • Index(es):
    • Date
    • Thread