Re: Distributed objects and core data
Re: Distributed objects and core data
- Subject: Re: Distributed objects and core data
- From: Steve Steinitz <email@hidden>
- Date: Sat, 6 Dec 2008 11:56:13 +1100
Hi Jason,
On 5/12/08, Jason Cox <email@hidden> wrote:
Is it possible to use distributed objects with core data on a
server app to get a multi client application working?
I've gathered together a set of DO sample apps toward a similar
idea. My plan is for the machines to share a core data database
via AFP but update their in-memory object graph based on DO
message. I found DO to be non-trivial for that sort of interapp communication.
There are only about 20 clients at any time.
I currently have 5 clients just using a single core data app.
I've added band-aids to keep their object graphs reasonably in
sync but the machines still throw a lot of optimistic locking errors.
If not... what other solutions should i look into?
Most people would probably suggest avoiding my simple solution
-- the consensus is that its naive if not dangerous. Bill
Bumgarner used the word 'nightmare'. So far (nearly two years),
I'm still sleeping well.
I have an XServ to work with if that helps.
The biggest performance improvement I made was to buy a fast
Thecus network raid drive. Now, over gigabit ethernet, its
almost as fast as running the DB on an internal hard disk. If
your XServe can match the Thecus performance it will help. If
you venture down the road of having your XServe serve core data
objects somehow, I will be interested in your architecture and results.
Cheers,
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