SlideShare a Scribd company logo
DevOps <3 node.js
github.com/miccolis | twitter.com/miccolis
SaaS DevOps
@mapbox
Not the kind of job where I expected to use javascript.
“Ah, right server side
javascript”
What is node.js again?
“Yea, cool so your front end devs can help,
and you can use the same libraries, and
probably even run all the same code on the
server or the client, right? That’s great!”
Everyone’s first response to node.js
No.
Everyone’s first response to node.js
is wrong.
<html>
<body>
<script>
alert("Hello World");
</script>
</body>
</html>
<html>
<head>
<script src="jquery-1.2.6.min.js"></script>
</head>
<body>
<script>
$(document).ready(function(){
$("#mydiv").html("Hello World");
});
</script>
<div id="mydiv"></div>
</body>
</html>
Most of that was DOM
$(document).ready()
...will be disregarded as just boilerplate.
It’s true, you can use
the same libraries.
They all expect async I/O
And build a framework
where the application can
run on the client or server!
https://github.com/developmentseed/bones
YMMV
It’s not what most people
expect, but there are good
parts.
Async I/O
Done the most simple way that could possibly work.
First class server
support
The node.js ‘hello world’ is a HTTP server,
in 6 lines.
A package manager
The best I’ve ever worked with.
The kinds of things that
make my life easier.
Node.js & C10K
1. Event loop & non-blocking I/O
2. Simple & direct API; `callback(err, ...)`
3. ?
4. Profit
Node.js & HTTP
• Any node.js program is a HTTP server (or
could become one with trivial effort).
• Your program is defined by its HTTP API,
and can be tested as such.
• Stateless, tested == rapidly deployable.
Node.js & NPM
• Requires semantic versioning.
• Completely captures dependencies.
• Handles multiple instances of the same
package with different versions.
• Wildly inclusive.
In practice
Building servers
• Lots of small projects
• Scale independently
• Varying lifecycles
Packaging
• Every commit hits CI testing
• Every commit is built into a deployable
“slug”
• Anything merged into `master` is
considered production ready.
Streamlined
deployment
• Main client-side application is automatically
deployed on every update to `master`.
• Other applications can be deployed by any
developer using a single CLI command.*
* database cluster’s still require babysitting.
DevOps &lt;3 node.js
Because I need HTTP
servers that scale...
Why node.js?
...and a strong open source
community helping with
libraries.
Why node.js?
Thanks
Questions?

More Related Content

PDF
Queue Everything and Please Everyone
PDF
MEAN Stack - Google Developers Live 10/03/2013
ODP
Version Controlling
PPTX
Node.js
PDF
What the HTML? - The Holy Grail
PDF
Meetup React Sanca - 29/11/18 - React Testing
PDF
Nodejs
PPTX
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger
Queue Everything and Please Everyone
MEAN Stack - Google Developers Live 10/03/2013
Version Controlling
Node.js
What the HTML? - The Holy Grail
Meetup React Sanca - 29/11/18 - React Testing
Nodejs
Building autonomous components with OWIN, PSake, NuGet, GitVersion and Swagger

What's hot (20)

PPTX
Introduction to Node.JS
PDF
Node, express & sails
PPTX
Building Reliable Applications Using React, .NET & Azure
PDF
Stripe con 2021 UI stack
PPT
Node js
PPTX
Web workers
PDF
Node.js with Express
PPTX
.ASP NET CORE ON DOCKER
PPTX
Foolangjs
PDF
Continuous operations in AWS
PPTX
Why I am hooked on the future of React
PDF
9 anti-patterns for node.js teams
PDF
React.js - and how it changed our thinking about UI
PPTX
ProtoPie with Electron
PPTX
Introduction to node
PPTX
Introduction to Node js
PPTX
Node.js, for architects - OpenSlava 2013
PPTX
DevOps Fest 2019. Игорь Фесенко. DevOps: Be good, Get good or Give up
PDF
Continuous Integration with Maven for Android apps
Introduction to Node.JS
Node, express & sails
Building Reliable Applications Using React, .NET & Azure
Stripe con 2021 UI stack
Node js
Web workers
Node.js with Express
.ASP NET CORE ON DOCKER
Foolangjs
Continuous operations in AWS
Why I am hooked on the future of React
9 anti-patterns for node.js teams
React.js - and how it changed our thinking about UI
ProtoPie with Electron
Introduction to node
Introduction to Node js
Node.js, for architects - OpenSlava 2013
DevOps Fest 2019. Игорь Фесенко. DevOps: Be good, Get good or Give up
Continuous Integration with Maven for Android apps
Ad

Viewers also liked (20)

PPT
مشاركة مجتمعية من المجتمع المحلى الى المدرسة
PPT
Tax Efficient Investing For Life
PPS
PDF
Elektronikus médiumok és tananyagok - Óravázlat
PPT
احمد غزالي
PPT
Cameras and films (hs v1)
PPTX
Lion Example
XLS
Indian Wells
PPT
CV Werk
PDF
Portfolio Arjan Helmer Feb 2011
PPTX
Westcott Pro Photo Intro
PPTX
Rémület
PPT
Signaleren
PPTX
Sale training material
PDF
Report Gus
PPT
Moving From Small Science To Big Science
مشاركة مجتمعية من المجتمع المحلى الى المدرسة
Tax Efficient Investing For Life
Elektronikus médiumok és tananyagok - Óravázlat
احمد غزالي
Cameras and films (hs v1)
Lion Example
Indian Wells
CV Werk
Portfolio Arjan Helmer Feb 2011
Westcott Pro Photo Intro
Rémület
Signaleren
Sale training material
Report Gus
Moving From Small Science To Big Science
Ad

Similar to DevOps &lt;3 node.js (20)

PPTX
Kalp Corporate Node JS Perfect Guide
PPTX
Beginners Node.js
PPTX
Introduction to Node.js
PDF
Introduction to Node.js
PPTX
introduction to node.js
PPTX
Станислав Сидоренко «DeviceHive Java Server – миграция на Spring Boot»
PDF
Node.js to the rescue
PDF
Tech io nodejs_20130531_v0.6
PPTX
Nodejs overview
PDF
Beginning MEAN Stack
PPTX
PDF
Intro to node.js - Ran Mizrahi (27/8/2014)
PDF
Intro to node.js - Ran Mizrahi (28/8/14)
PDF
Cannibalising The Google App Engine
ODP
Groovy & Grails eXchange 2012 vert.x presentation
PPT
Node js
PPTX
Server Side Web Development Unit 1 of Nodejs.pptx
PPTX
Introduction to node.js by jiban
PDF
Node js internal
PPTX
concept of server-side JavaScript / JS Framework: NODEJS
Kalp Corporate Node JS Perfect Guide
Beginners Node.js
Introduction to Node.js
Introduction to Node.js
introduction to node.js
Станислав Сидоренко «DeviceHive Java Server – миграция на Spring Boot»
Node.js to the rescue
Tech io nodejs_20130531_v0.6
Nodejs overview
Beginning MEAN Stack
Intro to node.js - Ran Mizrahi (27/8/2014)
Intro to node.js - Ran Mizrahi (28/8/14)
Cannibalising The Google App Engine
Groovy & Grails eXchange 2012 vert.x presentation
Node js
Server Side Web Development Unit 1 of Nodejs.pptx
Introduction to node.js by jiban
Node js internal
concept of server-side JavaScript / JS Framework: NODEJS

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
“AI and Expert System Decision Support & Business Intelligence Systems”
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf

DevOps &lt;3 node.js