Skip to content

Commit

Permalink
Remove Drupal + HHVM section
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickocoffeyo committed Jul 16, 2015
1 parent 6790590 commit b3f9044
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions 3_0-intro-to-nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b3f9044

Please sign in to comment.