-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Forrest L Norvell
committed
Jun 25, 2013
1 parent
fcdf6b8
commit 721849d
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Requiring 'domain' causes: | ||
|
||
* the event loop to switch to using _nextDomainTick and | ||
_tickDomainCallback. | ||
* EventEmitters to propagate domains as they're instantiated | ||
|
||
`domainspace` is the convention for indicating the domain namespace, with the | ||
`domain` property on the contexts created on that namespace being where the | ||
domains live. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
* how much of the already-bootstrapped environment does the module need to | ||
replace? E.g. if I update the EE and Domain prototypes, will stdio be fine? | ||
* at instantiation, each Domain creates an accompanying Context and stores | ||
itself as a "domain" on the Context -- what's the easiest way to flip that | ||
inside out and get rid of the containing relationship there? | ||
* how do I get the domains nesting behavior (i.e. exit nested when containing | ||
is exited) into namespaces / contexts? | ||
* Namespace -> Context -> (key,value) adds at least one layer of indirection | ||
to how domains work presently. Is there a cleaner way of handling this? | ||
* I don't need to deal with any of the Timer clearing methods or unref, do I? | ||
* need to do a sweep to make sure all the things that deal with domains are | ||
working properly with namespaces | ||
* What's the simplest way to tie the knot between EEs, timers, domains, and | ||
the event loop? | ||
* none of this is benchmarked yet; need to grab some of the pummel tests and | ||
adapt them to run this stuff |