Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome, Safari or Firefox browser.

treweb 12 | 2

Silver Bullet Cloud Unicorn Stories

Or: Lessons Learned from Using Node.js in Production

Jaakko Salonen (@jsalonen)


Needed to make a single-page web app

Web apps are hard, so let's be smart this time:

Step 1: Use node.js

Image: Some rights reserved by eschipul /

Step 2: Put it in the cloud

Image: Some rights reserved by EYECCD /

Step 3: profit?
9 months later...

The Lessons

Image: Some rights reserved by Ayton /

Lesson #1: Packages define your node experience


Lesson #2: Don't expect everything to be polished

            "dependencies": {
                "express": "2.5.10",
                "jade": ">= 0.27.2",
                "mongoose": "~2.7.4"

Lesson #3: JavaScript is (still) tricky

Lesson #4: Embrace async

            ], function() {
                // done
Lesson #5: Deployment is disturbing

Image: Some rights reserved by ndrwfgg /

Luckily, you can make most of this work for your advantage

Traditionally, you have a monolithic web server with all its intricasies

With node you split your system into small apps that breathe the internet:



Jaakko Salonen (@jsalonen)

Use a spacebar or arrow keys to navigate