Topics covered in this webinar:
Automating builds directly from GitHub
Scaling processes horizontally and vertically
Working with Nginix load-balancer
Managing Node.js processes with Docker containers
Microservices deployment and Docker orchestration
2. About me
u J2EE and SOA architect
u Performance architect
u Node, mBaaS & APIs
3. These guys sent me !
Bert
Belder
Ben
Noordhuis
Node/io Core
Raymond
Feng
Ritchie
Martori
LoopBack & Express Core
Sam
Roberts
Miroslav
Bajtos
Ryan
Graham
4. For a mature runtime; lets
start with Process Managers
5. What is a Process Manager
Secure Deployment
Lifecycle Manager
HA, Hot Deploys
Log Aggregation
Vertical scaling
Hooks for monitoring &
profiling
Traditionally Open Source
10. Building a node.js app
• Install:
install dependencies, run custom build steps, and prune
development dependencies. Avoids issues with npm
shrinkwrap
• Bundle:
modify the package.json and .npmignore configuration
files so dependencies will be packed.
• Create deployable package, either:
create a deployable .tgz package file.
commit the build onto a Git branch.
11. Install Dependencies
$ slc build --install
Automates below
• npm install -- ignore-scripts
Install Node dependencies without running scripts to build
binary add-ons.
• npm run build
Specify custom build steps such as grunt build or bower in
the package’s scripts.build property
• npm prune -- production
Remove development only tools
and runs npm rebuild (system addons), npm install (any install
scripts)
27. Auto-Configure Nginx
$ npm install -g strong-nginx-controller
$ sl-nginx-ctl-install to install as a service
Example
sl-nginx-ctl -x /usr/local/bin/nginx -l http://:8081
30. StrongLoop – node.js Development to Production
Build and
Deploy
Automate
Lifecycle
Performance
Metrics
Real-time
production
monitoring
Profiler
Root cause
CPU & Memory
API Composer
Visual modeling
StrongLoop Arc
Process
Manager
Scale
applications"
Q2
2015
Mesh
Deploy
containerized
ORM, mBaaS, Realtime