Grand Central Details
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