• 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
Task dispatching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Task dispatching
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: any way to know where a UIBarButtonItem has been drawn?
  • Next by Date: Re: ikimageview delegate
  • Previous by thread: Re: Responder-Chain question.
  • Next by thread: Re: Task dispatching
  • Index(es):
    • Date
    • Thread