5 minutes to enterprise javascript
play

5 Minutes to Enterprise JavaScript With Red Hat OpenShift - PowerPoint PPT Presentation

5 Minutes to Enterprise JavaScript With Red Hat OpenShift Application Runtimes Lance Ball John Clingan Principal Software Engineer Product Manager RHOAR Wednesday, May 9 2018 NODE.JS Is a Thing at Red Hat So What Do You Mean? RHOAR - Red


  1. 5 Minutes to Enterprise JavaScript With Red Hat OpenShift Application Runtimes Lance Ball John Clingan Principal Software Engineer Product Manager RHOAR Wednesday, May 9 2018

  2. NODE.JS Is a Thing at Red Hat

  3. So What Do You Mean? RHOAR - Red Hat OpenShift Application Runtime for Node.js 8.x LTS ● Supported Node.js RPMs and Runtime containers for Node.js 8.x LTS ● Community Node.js RPMs and Runtime containers for Node.js 9.x and 10.x ● Node.js tools and utilities for containerized deployment ● Node.js Core Committers ● Node.js Technical Steering Committee ●

  4. OK… But Why Node.js?

  5. In the Beginning, there was the Monolith My App

  6. The Monolith Begat Microservices µ svc A µ µ svc svc B C µ µ µ svc svc svc E D F µ µ svc svc G H µ svc J

  7. Small, discrete services that do one thing well - usually as REST over HTTP

  8. This is what Node.js does well

  9. But wait My application is very complex!

  10. Application complexity shifts from application code to the runtime platform

  11. Service Mesh Service Discovery µ Routing Elasticity svc A µ µ svc svc B C µ µ µ svc Logging svc svc Tracing E D F µ µ svc svc µ G H svc Authn/z Resilience J

  12. Application logic should be simple

  13. Demo: set up minishift $ minishift profile set 'summit-demo' $ minishift config set cpus 2 $ minishift config set vm-driver virtualbox $ minishift config set memory 4GB $ minishift start $ eval (minishift oc-env) # fish shell! $ oc new-project summit-demo

  14. Demo: create and deploy an application $ mkdir myapp; and cd myapp $ npm install -g express-generator $ express . $ code-insiders package.json # fish shell! $ npx nodeshift --strictSSL=false --expose

  15. Yeah and… now what?

  16. Didn’t you say “Enterprise”?

  17. µ-Services are not a panacea µ svc A µ µ svc svc B C µ µ µ svc svc svc E D F µ µ svc svc G H µ svc J

  18. Some services will fail µ svc A µ µ svc svc B C µ µ µ svc svc svc E D F µ µ svc svc G H µ svc J

  19. Causing more services to fail µ svc A µ µ svc svc B C µ µ µ svc svc svc E D F µ µ svc svc G H µ svc J

  20. eval(cascading failures) > dead application µ svc A µ µ svc svc B C µ µ µ svc svc svc E D F µ µ svc svc G H µ svc J

  21. Let’s get enterprisey With RHOAR circuit breakers

  22. RHOAR Demo

  23. Service Mesh Service Discovery µ Routing Elasticity svc A µ µ svc svc B C µ µ µ svc Logging svc svc Tracing E D F µ µ svc svc µ G H svc Authn/z Resilience J

  24. Commercial Break

  25. DEVELOPERS DEMAND MORE OPTIONS ENTERPRISES EXPAND USE OF LANGUAGES, FRAMEWORKS, & RUNTIMES F7212-090617 32

  26. Developers are Asked to Manage a Lot of Change Micro- DevOps Services New Container- ization Runtime F7212-090617

  27. Helping Developers find their Inner Peace F7212-090617

  28. EVOLUTION OF MICROSERVICES (2014 - FUTURE) Application Logic Application Logic Application Logic > Client-side Load Balancing > Client-side Load Balancing > Circuit Breaker Support Services > Service Registration > Circuit Breaker > Distributed Tracing > API Management Support Services > Caching Service > Messaging > Distributed Tracing Support Services > SSO > API Management > Caching Service > Smart Routing > Messaging > API Management > SSO > Caching Service > Registry > Configuration > Configuration > Messaging > Server-side Load Balancing > SSO > Client-side Load Balancing > Registry > Registry > Distributed Tracing > Configuration > Circuit Breaker > Server-side Load Balancing > Fault Injection 2014 Current Future 35

  29. RED HAT OPENSHIFT APPLICATION RUNTIMES Providing curated set of integrated runtimes and frameworks that standardizes Cloud Native App Dev YOUR APPS AND SERVICES ✓ Simplified RED HAT OPENSHIFT APPLICATION RUNTIMES Launch Service development Reactive MicroProfile Spring Boot JavaScript Java EE JBoss Vert.x WildFly Swarm Tomcat Node.js EAP ✓ Strategic APPLICATIONS LIFECYCLE MANAGEMENT flexibility SUPPORTING MIDDLEWARE SERVICES CONTAINER ORCHESTRATION & MANAGEMENT (KUBERNETES) ✓ DevOps RED HAT OPENSHIFT automation Laptop Datacenter OpenStack Amazon Web Services Microsoft Azure Google Cloud YOUR INFRASTRUCTURE 36

  30. Optimized for Kubernetes and DevOps Reduce complexity of build cloud native applications • Supports kubernetes features that replace traditional standalone backing • services • Externalized Configuration: Kubernetes ConfigMap • Service Discovery : Kubernetes Services (DNS) • Load Balancing : Kubernetes Replication Controller • Auto-Restart : Kubernetes Health Check w/MicroProfile Health Check API • Metrics : MicroProfile Metrics API with CNCF Prometheus • Distributed Tracing : Istio & OpenTracing with CNCF Jaeger

  31. RHOAR Node.js Support and Lifecycle ● Support LTS releases ● Align with Node.js lifecycle ● Developer builds of non-LTS releases

  32. https://developers.redhat.com/launch https://github.com/bucharest-gold/node-rpm https://github.com/bucharest-gold/centos7-s2i-nodejs

  33. THANK YOU plus.google.com/+RedHat facebook.com/redhatinc linkedin.com/company/red-hat twitter.com/RedHat youtube.com/user/RedHatVideos

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend