Webinar co-presented by CA Technologies and StrongLoop covering the following topics:
* Build
* Deploy
* Clustering
* Process Management
* Load balancing with Nginx
* Working with Docker containers
More information: strongloop.com/node-js/build-deploy-and-scale/
2. About me
J2EE and SOA architect
Performance architect
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 & MemoryAPI Composer
Visual modeling
StrongLoop Arc
Process
Manager
Scale
applications
Q2
2015
Mesh
Deploy
containerized
ORM, mBaaS, Realtime
Notes de l'éditeur
I only know anything because of the people I work with