• 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: CoreData database sharing and migration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: CoreData database sharing and migration


  • Subject: re: CoreData database sharing and migration
  • From: Steve Steinitz <email@hidden>
  • Date: Thu, 18 Mar 2010 09:29:25 +1100

Hello

On 17/3/10, email@hidden wrote:

Do you mean "more than one application simultaneously on more than one physical computer over NFS/AFP/SMB" ? Don't do that.

When did that become the official policy, Ben?

I'm doing that with some success. For the past three years, my client's point of sale system has been connecting from five machines to a single database on a Synology network drive over afp. I had to write some code to periodically get the latest values from the database during idle time. That was a little complicated but its working well now.

There are mysterious but harmless optimistic locking errors once in a while where no attributes appear have changed -- just to keep me on my toes, along with an occasional real data collision (two staff members carelessly editing the same object) but we've had no real issues in a year or so.

However, 10.6.2 has a bug where only one machine can connect to a Core Data store (its likely a sqlite-level connection issue -- but I'm not sure). So, for a while we were down to one machine. I eventually had to roll the five machines back to Leopard. That remains a PR nightmare.

Best regards,

Steve

_______________________________________________

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:
This email sent to email@hidden


  • Prev by Date: Re: CoreData database sharing and migration
  • Next by Date: Re: CoreData database sharing and migration
  • Previous by thread: Re: CoreData database sharing and migration
  • Next by thread: re: CoreData database sharing and migration
  • Index(es):
    • Date
    • Thread