Opened 17 years ago
Closed 11 years ago
#1020 enhancement closed invalid (invalid)
[NEED HELP] Evangelise async design
Reported by: | hypatia | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Keywords: | documentation |
Cc: | itamarst, Predictive, kragen, Thijs Triemstra | Branch: | |
Author: |
Description
Change History (12)
comment:2 Changed 17 years ago by
1. scalability; see c10k page, plus python maks it worse since threads don't run in parallel ("GIL") so don't get benefits from multiple CPUs. 2. lack of race conditions. 3. Some protocols are really hard to do with blocking APIs (e.g. think about how you'd implement chat server if you had only threads and blocking read and write).
comment:3 Changed 17 years ago by
Or well, less race conditions. Makes concurrency a much easier problem since you can;t be interrupted at any point, only at event handler borders (or in defgen when yielding Deferred).
comment:5 Changed 17 years ago by
I hope that wasn't sarcasm? :) I was going to add more detail later if needed.
comment:6 Changed 17 years ago by
Not sarcasm! The more info I have the easier it is, but I should have the minium required now to write something sensible.
comment:7 Changed 17 years ago by
Is there a URL where the result of this effort will appear? The best thing I've found so far along these lines is Zooko's 2001 article, "Why Multithreading Sucks, Using Mojo Nation As An Example," at http://www.eros-os.org/pipermail/e-lang/2001-July/005410.html
comment:8 Changed 16 years ago by
Cc: | hypatia removed |
---|---|
Component: | → conch |
Owner: | changed from hypatia to edsuom |
comment:9 Changed 16 years ago by
Component: | conch → core |
---|
comment:10 Changed 13 years ago by
Cc: | Thijs Triemstra added |
---|
comment:11 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Not really a problem with Twisted as such, more an issue with programmers' brains.
This should just be done as necessary in the various documents that describe how the reactor works. I don't see how we could ever close this ticket.
comment:12 Changed 11 years ago by
Owner: | edsuom deleted |
---|
Note: See
TracTickets for help on using
tickets.