Distributed objects and core data

  • Hey guys,

    Is it possible to use distributed objects with core data on a server
    app to get a multi client application working?

    There are only about 20 clients at any time.

    If not... what other solutions should i look into? I have an XServ to
    work with if that helps.

    Thanks,

    Jason
  • Hi Jason,

    On 5/12/08, Jason Cox <jason...> 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