• 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
Best way to pass large objects between tasks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to pass large objects between tasks?


  • Subject: Best way to pass large objects between tasks?
  • From: Oleg Krupnov <email@hidden>
  • Date: Mon, 13 Apr 2009 09:09:41 +0300

I need to pass objects from one task (child) to another (parent) on
the same machine.

Currently I am considering two alternatives: Pipes vs Distributed
Objects, and my main concern is performance, because the object is
really large.

With pipes, I need to serialize (archive) the object into NSData
before transmitting, and deserialize (unarchive) back on reception.
This is going to be very time-taking.

My questions are:

1) Are DO going to be faster? Do DO also perform implicit
archiving/unarchiving of passed objects to/from NSData?

2) Are there other ways of passing objects between tasks?

Thanks!
_______________________________________________

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

  • Follow-Ups:
    • Re: Best way to pass large objects between tasks?
      • From: Michael Ash <email@hidden>
    • Re: Best way to pass large objects between tasks?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: stopping an application
  • Next by Date: Display NSTextView as Label - without InterfaceBuilder
  • Previous by thread: Re: NSDocument reference held by NSSavePanel?
  • Next by thread: Re: Best way to pass large objects between tasks?
  • Index(es):
    • Date
    • Thread