diff --git a/3_0-intro-to-nodejs.md b/3_0-intro-to-nodejs.md index 33ad400..1adf2e9 100644 --- a/3_0-intro-to-nodejs.md +++ b/3_0-intro-to-nodejs.md @@ -6,7 +6,6 @@ At the end of this section you'll have a basic understanding of Node.jsĀ®, Promi - What is Node.js - Events, Threads, and Concurrency -- Why not Drupal & HHVM - Why Node? ## What is Node.js? An Introduction. @@ -59,14 +58,6 @@ Drupal has a large memory foot print. You might need to allocate 100mb just to s However, everything happens in order. Each IO operation blocks all subsequent ones. A _100ms_ request to the DB will block process execution. -### Why not write non-blocking, event-driven PHP? - -> [Photon](http://www.photon-project.com/) - -### HHVM and Evented PHP - -Drupal 8 core runs without issue within HHVM. [ReactPHP](http://reactphp.org/) - ## Why Node? Chrome's JavaScript runtime is called V8, it's one of the reasons Chrome is considered so fast. Node.js leverages V8's speed on the server. Only one thing gets executed at a time, but libraries allow I/O or other intensive tasks to be executed asynchronously so the script doesn't need to wait for them to finish.