Task dispatching
Task dispatching
- Subject: Task dispatching
- From: Jon Sigman <email@hidden>
- Date: Tue, 13 Sep 2011 09:42:09 -0700 (PDT)
I have a Cocoa/Foundation application running in the background that receives a 1MB block of data, processes it, and sends back a new 1MB block of data using TCP/IP over the internet. The program takes a couple of minutes to come up and initialize, so it needs to be up and stay up waiting for processing requests. Now my boss wants to extend this to having multiple copies of the program running so that it can handle a dozen or so simultaneous users. Design-wise, should I have a lightweight front-end process that accepts all inbound requests and then dispatch the requests to one of the other idling processes? Or is there some standard Cocoa way to handle a farm of processes? GCD? I've looked at Xgrid but that seems batch/file/local oriented. OSX 10.6.8
_______________________________________________
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