API Tier for the new Front-edge
Shubhra Kar
Apr 2014
Agenda
Why are we here
StrongLoop Overview
Node.js and DevOps training schedule
Node.js certification (SCND)
Little bit about our training partner – OlinData
Training kick-off
―If you’re not fast, you’re dead‖ - Jack Welch
3
Mobile is the new interface
One billion consumers will have smartphones by 2016. US consumers alone will own 257
million smartphones and 126 million tablets.
In 2016, 350 million employees will use smartphones — 200 million will bring their own
(BYOD). Employees pay for more than half of the devices and data plans used for work.
Mobile spend will reach $1.3 trillion (35% of tech spend) as the mobile apps market
reaches $55 billion in 2016. Tablet and smartphone apps, at average price of $2.43, will
grow explosively to $56 billion in 2015.
Business spending on mobile projects will grow 100% by 2015. Most major businesses
now have a tablet strategy for sales reps. IT professionals will respond to the onslaught by
diverting IT budgets to mobile technology.
Mobile commerce is expected to reach $31 billion by 2016, 7% of overall eCommerce,
representing a compounded annual growth rate of 39% from 2011 to 2016.
Mobility is (obviously) a big deal . . .
(source Forester Research)
What else is related to this trend ?
Mobile App Strategy
Big Data & Embedded (M2M)
10%
60%
30%
Enterprise Mobile
Native
Hybrid
Mobile Web
40%
40%
20%
Consumer Mobile
Native
Hybrid
Mobile Web
Full Stack JavaScript
Today’s enterprise reality
RMI
Objects
Messaging
Service
BI Tools
Business
Rules
File
System
ESB
Web
Interface
Content
Database
Data
Warehouse
Financials
Mainframe
Web/WAP
Interface
EJB
Virtual
Service
Routing
Service
SOAP
CRM
App
Products
Collaboration
App Porta
l
Help
Engine
BPMSLegacy
Infrastructure
Internal
External CloudPartners
# of Interconnected
Components
# of Inter-dependent
Teams
# of Heterogeneous
Technologies
Rate of Change
So how ready are we for the new UX ?
Everyone understands the problem!
No one has an answer, until now!
Well, it appears to me
that the problem is on
your end.
And thus was born the
most revered phrase
in tech support.
What needs to be built ?
Front Edge
Thousands to Millions of devices connecting to business APIs
creating the new user experience
APIs for each device, each app, each screen. Optimized for bandwidth &
battery, adjusting to each device’s capabilities
Highly concurrent
Scriptable
(the teams already know JavaScript)
Giant ecosystem of reuseable components
(just like in the browser)
Keeps device-specific APIs from polluting core SOA
11
Node.js is the perfect match
Vast open-source community
(70 K re-usable modules)
Reduce development time by
50% or more
Reuse existing UX tools
Low latency - Mobile
Event-driven and fast by
design: 50x faster
Non blocking, high throughput:
helps scale 20x
Why do 3 million developers download every release of Node.js
Some performance stats
Hardware Utilization
Benchmarking
Performance
Outcomes : counting
―faster‖ endpoints per
application
Some users of Node in mainstream enterprise
Transportation Gaming Chat & Social
Analytics & Big Data
Multi-media
Advertising Financial
Wearable & Embedded/Sensor Retail & Consumer
Tech & Cloud
Exposing
enterprise data
to these
chatty, highly
concurrent, mo
bile and web
apps in form of
an easily
consumable
API helps
create ―Rich
Apps‖, useful
for genuine
business
needs.
StrongLoop Stack
Evolution of application development & service models
AppServer
DC
AppServer
IaaS
PaaS
mBaaS API Server
Speed of Development
Cost, Control, Data
1st Generation mBaaS - Parse, StackMob, Kinvey, Apigee, etc
mobile/web
clients
social &
analytics
JSON API
API
XML
SQL
SOAP
Etc.
mBaaS
API tier
(Java, Ruby, PHP, C#)
MongoDB, mySQL
Enterprise
LoopBack: Industry’s 1st Open source (Node.js) API Server
Enterprise – On Premises / Private
It’s fast and steady ! : 0-60 in a mature sprint
curated modules, support, access
to Core team
private
registry, audit, whitelisting, certifica
Marquee Features
Mobile SDKs Pre-Built Mobile Services ORM – no SQL
Enterprise ConnectorsAuto API Engine API Security & Mgmt.
Sample backend services creation in loopback
How it works – Create or consume multiple data sources
How it works – Data discovery & relationship modeling
How it works – JSON API generation
How it works – API security configuration
Automatic Data modeling and REST API publishing
Mobile SDKs (iOS SDK) for remotable integration
Realizing a full-stack JavaScript solution
Project
UX Design
Develop
Mobile App Test / Emulation
Create Scaffolding
Define base CSS
Define components
Use JS widgets
Create Scaffolding
Define Models
Define Controllers
Define Views
Compile and Build
Define Filters
User
Device
File
GeoLocation
Notification
Define Directives
Configure Routes
Model the Data
Generate REST API
Connect to Data-sources (Oracle, SOAP, Mongo)
Setup Services
Debug
Generate Deployable App
Monitor frontend performance
Optimize (Log Analytics & scale)
Profile client-side
Configure API Security
Mobile App Mgmt.
Create UI & styling Arch. & binding Access Native Integrate Existing Data and Services
mBaaS Test / Emulation
Profile server-side
Deploy to local/PaaS
Monitor backends performance
Optimize (Usage Analytics, Crash Reporting )
BLE
Node.js challenges for Enterprise
Lack of best practices
No enterprise version
Weak tool chains & monitoring
Missing production-class features:
– Auto-scaling
– Certified run-time
– Event/error management
– Root cause tools
StrongLoop Backs Node
30
Wrote most of the features & fixes in v0.10 and 0.12
– Including over 60% of the C/C++ code
Implemented custom work for clients in core
5 active core authors – Joyent has 1
Maintain 50+ modules (e.g. libuv, debugger, profiler &
Oracle DB driver)
StrongLoop Node Platform
① Multi-platform (Windows, Unix, Solaris, Mac) support
② On-premises, private or public cloud support
③ Certified Node.js curated modules and ecosystem
④ Commercial Enterprise supported, security updates
⑤ Configurable and extendable
⑥ Most popular node modules, curated modules, private NPM
⑦ Access to Node.js Core team
⑧ SLAs and Premium support hotline
Node.js support (Sample modules set)
32
Node.js Core
strong-
module-loader
strong-cluster-
connect-store
strong-cluster-
control
SL-Config
Loopback Strong-mq
strong-task-
emitter
Engine.io Mongoose
Strong-agent strong-cluster-
socket.io-store
strong-config-
loader
Request
Node-
heapdump
Asynch
node-
inspector
Passport
Strong-
remoting
Q
EJS
Express
Connect
Socket.IO
Reggie Postgres
Connector
Oracle
Connector
SQL Server
Connector
MongoDB
Connector
REST
Connector
In-Memory
connector
LIBUV
V8 Profiler
DevOps Tools - Private Registry
Strong
Registry
npm
client
npm
client
public
npmjs
registry
Other
upstream
registries
metadata package
s
indexes
• white/black list
• audit
• security
• cache
Pluggable Stores
① Private & multi-registry
② On-premises, private or public
cloud support
③ Module Whitelisting
④ Audit
⑤ Configuration Mgmt.
⑥ CI and Build Mgmt.
DevOps Tools – Debugging and Profiling
DevOps Tools - Error Detection
DevOps Tools – Runtime Mgmt. & Dynamic Scaling
DevOps Tools - Memory Profiling and Leak Detection
DevOps Tools - Memory Leak Analysis
DevOps Tools - CPU profiling and hot spot detection
DevOps Tools - Transaction and end-point
tracing
DevOps Tools - Performance Monitoring
DevOps Tools - Performance Monitoring
DevOps Tools - Alerts
DevOps Tools - Open Data API
What’s next ?
Visit the StrongLoop website to learn more about Node and mobile
http://strongloop.com
Open Source API tier (Loopback)
http://strongloop.com/mobile-application-development/loopback/
DevOps (StrongOps)
http://strongloop.com/node-js-performance/strongops/
Install StrongLoop in a few simple steps to get started
http://strongloop.com/get-started/

StrongLoop Overview

  • 1.
    API Tier forthe new Front-edge Shubhra Kar Apr 2014
  • 2.
    Agenda Why are wehere StrongLoop Overview Node.js and DevOps training schedule Node.js certification (SCND) Little bit about our training partner – OlinData Training kick-off
  • 3.
    ―If you’re notfast, you’re dead‖ - Jack Welch 3
  • 4.
    Mobile is thenew interface
  • 5.
    One billion consumerswill have smartphones by 2016. US consumers alone will own 257 million smartphones and 126 million tablets. In 2016, 350 million employees will use smartphones — 200 million will bring their own (BYOD). Employees pay for more than half of the devices and data plans used for work. Mobile spend will reach $1.3 trillion (35% of tech spend) as the mobile apps market reaches $55 billion in 2016. Tablet and smartphone apps, at average price of $2.43, will grow explosively to $56 billion in 2015. Business spending on mobile projects will grow 100% by 2015. Most major businesses now have a tablet strategy for sales reps. IT professionals will respond to the onslaught by diverting IT budgets to mobile technology. Mobile commerce is expected to reach $31 billion by 2016, 7% of overall eCommerce, representing a compounded annual growth rate of 39% from 2011 to 2016. Mobility is (obviously) a big deal . . . (source Forester Research)
  • 6.
    What else isrelated to this trend ? Mobile App Strategy Big Data & Embedded (M2M) 10% 60% 30% Enterprise Mobile Native Hybrid Mobile Web 40% 40% 20% Consumer Mobile Native Hybrid Mobile Web Full Stack JavaScript
  • 7.
    Today’s enterprise reality RMI Objects Messaging Service BITools Business Rules File System ESB Web Interface Content Database Data Warehouse Financials Mainframe Web/WAP Interface EJB Virtual Service Routing Service SOAP CRM App Products Collaboration App Porta l Help Engine BPMSLegacy Infrastructure Internal External CloudPartners # of Interconnected Components # of Inter-dependent Teams # of Heterogeneous Technologies Rate of Change
  • 8.
    So how readyare we for the new UX ?
  • 9.
    Everyone understands theproblem! No one has an answer, until now! Well, it appears to me that the problem is on your end. And thus was born the most revered phrase in tech support.
  • 10.
    What needs tobe built ? Front Edge Thousands to Millions of devices connecting to business APIs creating the new user experience APIs for each device, each app, each screen. Optimized for bandwidth & battery, adjusting to each device’s capabilities
  • 11.
    Highly concurrent Scriptable (the teamsalready know JavaScript) Giant ecosystem of reuseable components (just like in the browser) Keeps device-specific APIs from polluting core SOA 11 Node.js is the perfect match
  • 12.
    Vast open-source community (70K re-usable modules) Reduce development time by 50% or more Reuse existing UX tools Low latency - Mobile Event-driven and fast by design: 50x faster Non blocking, high throughput: helps scale 20x Why do 3 million developers download every release of Node.js
  • 13.
    Some performance stats HardwareUtilization Benchmarking Performance Outcomes : counting ―faster‖ endpoints per application
  • 14.
    Some users ofNode in mainstream enterprise Transportation Gaming Chat & Social Analytics & Big Data Multi-media Advertising Financial Wearable & Embedded/Sensor Retail & Consumer Tech & Cloud Exposing enterprise data to these chatty, highly concurrent, mo bile and web apps in form of an easily consumable API helps create ―Rich Apps‖, useful for genuine business needs.
  • 15.
  • 16.
    Evolution of applicationdevelopment & service models AppServer DC AppServer IaaS PaaS mBaaS API Server Speed of Development Cost, Control, Data
  • 17.
    1st Generation mBaaS- Parse, StackMob, Kinvey, Apigee, etc mobile/web clients social & analytics JSON API API XML SQL SOAP Etc. mBaaS API tier (Java, Ruby, PHP, C#) MongoDB, mySQL Enterprise
  • 18.
    LoopBack: Industry’s 1stOpen source (Node.js) API Server Enterprise – On Premises / Private
  • 19.
    It’s fast andsteady ! : 0-60 in a mature sprint curated modules, support, access to Core team private registry, audit, whitelisting, certifica
  • 20.
    Marquee Features Mobile SDKsPre-Built Mobile Services ORM – no SQL Enterprise ConnectorsAuto API Engine API Security & Mgmt.
  • 21.
    Sample backend servicescreation in loopback
  • 22.
    How it works– Create or consume multiple data sources
  • 23.
    How it works– Data discovery & relationship modeling
  • 24.
    How it works– JSON API generation
  • 25.
    How it works– API security configuration
  • 26.
    Automatic Data modelingand REST API publishing
  • 27.
    Mobile SDKs (iOSSDK) for remotable integration
  • 28.
    Realizing a full-stackJavaScript solution Project UX Design Develop Mobile App Test / Emulation Create Scaffolding Define base CSS Define components Use JS widgets Create Scaffolding Define Models Define Controllers Define Views Compile and Build Define Filters User Device File GeoLocation Notification Define Directives Configure Routes Model the Data Generate REST API Connect to Data-sources (Oracle, SOAP, Mongo) Setup Services Debug Generate Deployable App Monitor frontend performance Optimize (Log Analytics & scale) Profile client-side Configure API Security Mobile App Mgmt. Create UI & styling Arch. & binding Access Native Integrate Existing Data and Services mBaaS Test / Emulation Profile server-side Deploy to local/PaaS Monitor backends performance Optimize (Usage Analytics, Crash Reporting ) BLE
  • 29.
    Node.js challenges forEnterprise Lack of best practices No enterprise version Weak tool chains & monitoring Missing production-class features: – Auto-scaling – Certified run-time – Event/error management – Root cause tools
  • 30.
    StrongLoop Backs Node 30 Wrotemost of the features & fixes in v0.10 and 0.12 – Including over 60% of the C/C++ code Implemented custom work for clients in core 5 active core authors – Joyent has 1 Maintain 50+ modules (e.g. libuv, debugger, profiler & Oracle DB driver)
  • 31.
    StrongLoop Node Platform ①Multi-platform (Windows, Unix, Solaris, Mac) support ② On-premises, private or public cloud support ③ Certified Node.js curated modules and ecosystem ④ Commercial Enterprise supported, security updates ⑤ Configurable and extendable ⑥ Most popular node modules, curated modules, private NPM ⑦ Access to Node.js Core team ⑧ SLAs and Premium support hotline
  • 32.
    Node.js support (Samplemodules set) 32 Node.js Core strong- module-loader strong-cluster- connect-store strong-cluster- control SL-Config Loopback Strong-mq strong-task- emitter Engine.io Mongoose Strong-agent strong-cluster- socket.io-store strong-config- loader Request Node- heapdump Asynch node- inspector Passport Strong- remoting Q EJS Express Connect Socket.IO Reggie Postgres Connector Oracle Connector SQL Server Connector MongoDB Connector REST Connector In-Memory connector LIBUV V8 Profiler
  • 33.
    DevOps Tools -Private Registry Strong Registry npm client npm client public npmjs registry Other upstream registries metadata package s indexes • white/black list • audit • security • cache Pluggable Stores ① Private & multi-registry ② On-premises, private or public cloud support ③ Module Whitelisting ④ Audit ⑤ Configuration Mgmt. ⑥ CI and Build Mgmt.
  • 34.
    DevOps Tools –Debugging and Profiling
  • 35.
    DevOps Tools -Error Detection
  • 36.
    DevOps Tools –Runtime Mgmt. & Dynamic Scaling
  • 37.
    DevOps Tools -Memory Profiling and Leak Detection
  • 38.
    DevOps Tools -Memory Leak Analysis
  • 39.
    DevOps Tools -CPU profiling and hot spot detection
  • 40.
    DevOps Tools -Transaction and end-point tracing
  • 41.
    DevOps Tools -Performance Monitoring
  • 42.
    DevOps Tools -Performance Monitoring
  • 43.
  • 44.
    DevOps Tools -Open Data API
  • 45.
    What’s next ? Visitthe StrongLoop website to learn more about Node and mobile http://strongloop.com Open Source API tier (Loopback) http://strongloop.com/mobile-application-development/loopback/ DevOps (StrongOps) http://strongloop.com/node-js-performance/strongops/ Install StrongLoop in a few simple steps to get started http://strongloop.com/get-started/

Editor's Notes

  • #4 Jack’s got it right.In today’s global business environment, speed -- or more precisely, agility -- always trumps size and scale.Agility means being fast – but it’s more than that.To be agile means being able to move and change direction and position quickly and effectively -- while maintaining control.
  • #8  80% of all new applications are composite based Agile has replaced waterfall as the development method of choice 70% of the information needed by a developer is not available – no access or not owned SaaS and Cloud-powered customer apps have created “instant on” mentality Current platform vendors have no suitable offering for these transformational projects
  • #32 Best IN CLASS PERFORMANCE MONITOR for NODE … NODEFLY IS WORKING CLOSE WITH BEN AND BERT ON