On Nov 13, 2008, at 11:33 PM, Bridger Maxwell wrote:

How often? 60 times per second often? Once per second often? Every minute,
often?

You'll need to calculate the amount of data you're expecting to transfer,
worst case.

I would say about every five seconds often, max.

My gut instinct says you'll be fine.



The problem is, once I have
a worst case scenario calculated (which would be very difficult to
calculate, and would be little more than a bad guess), I wouldn't know if
that is reasonable or not.

Well, even if it's 30 stations, and the data is 1 MB, that's 30 MB. A quick little test showed me getting over 50 MB/sec on a 100-T LAN. I wouldn't expect the overhead of DO to add up so much as to make it useless for a 5 second+ refresh. Especially if your data is significantly smaller, like "a page of apple docs."



Perhaps there is an example of what DO is well
suited for, and what it is not?

Perhaps, but none that I'm aware of. I've really only fiddled with it for IPC.



Then, as we design these stations we can
either strive for absolute efficiency, or know there is a little breathing room if it makes the programming easier. I have absolutely no experience
here (in network efficiency) so I feel like I am shooting in the dark.


You could certainly use some lower-level form of communication, to handle the exchange, but if the vast majority of the communication is just the raw data in one big package, they'll probably be roughly equivalent. If you're actually sending a lot of little objects separately, DO might not be up to the task.

If you're as close to being done as it sounds like you are, might as well finish and see how well it works. :)



--
Seth Willits



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to