• 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
Grand Central Details
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grand Central Details


  • Subject: Grand Central Details
  • From: "Pierce T. Wetter III" <email@hidden>
  • Date: Tue, 17 Jun 2008 17:17:43 -0700


I had a release the week before, plus we didn't have enough tickets since WWDC was sold out, so I didn't go. Are there any details on Grand Central?


  Things I would like it to be:

1. An implementation of SEDA. That stands for staged-event- driven-architecture. The basic idea is that you break things up into different styles of work queues. The OS then dynamically allocates threads to the work queues and figures out the optimum number of threads for each queue. For instance, an I/O queue might be quite happy with a single thread servicing it, because mostly they dump their data, then wait. A queue of tasks that did actual computation could use as many threads as there are cores.

If you've ever used CoreNetwork you might get the idea, because CFNetwork is event-driven, rather then the shitty thread-per-socket style that CS students are taught. So you can easily handle a zillion connections with CoreNetwork.

This could probably be built as an extension to NSOperation, but ideally, you'd want simple wrappers for all the I/O operations in Foundation.

     2. A better multi-core aware scheduler, like ULE from FreeBSD.

     3. Something unimaginably cool.

 Pierce
_______________________________________________

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:
    • [MODERATOR] Re: Grand Central Details
      • From: Scott Anguish <email@hidden>
    • Re: Grand Central Details
      • From: Michael Gardner <email@hidden>
    • Re: Grand Central Details
      • From: Ricky Sharp <email@hidden>
    • Re: Grand Central Details
      • From: "David Wilson" <email@hidden>
  • Prev by Date: Re: objects aren't added to NSMutableArray
  • Next by Date: Re: objects aren't added to NSMutableArray
  • Previous by thread: Re: objects aren't added to NSMutableArray
  • Next by thread: Re: Grand Central Details
  • Index(es):
    • Date
    • Thread