8,000+ lines C/C++
2,000+ lines JavaScript
Built on top of the Google V8 VM
I/O Latency:
L1 - 3 cycles
L2 - 14 cycles
RAM - 250 cycles
Disk - 41,000,000
Network - 240,000,000
Source: Ryan Dahl 2008
Route Request
Database Wait
Process Results
Respond
Text
Threads?
Costs CPU Time & Memory
Internal Thread Pools and Async I/O
Handle CPU Bound Operations
Event Loop
Event Queue
I/O Stuff
Blah, Blah, Blah - Show me something
Challenges
By ddbradshaw