light and shadow of microservices

Download Light and shadow of microservices

Post on 21-Jan-2018

1.313 views

Category:

Technology

0 download

Embed Size (px)

TRANSCRIPT

  1. 1. [C50_3] 2017 8 27 (nosue@redhat.com)
  2. 2. Mail:nosue@redhat.com Twitter:@nobusue 14JavaEE(19992013) EnterpriseMobile(20122013) IoT (20142017) / 2
  3. 3. 3 My Career Apr 99 Dec 02 HP Japan IT Consultant Future System Consultant Apr 04 BEA Systems Presales Jan 07 IBM Japan Presales Aug 13 freelance Architect Jul 14 Venture(IoT PF) Chief Architect Apr 17 Red Hat Sol. Architect JavaEE JavaEE JavaEE JavaEE Mobile JavaEE IoT BigData DevOps Container ML DevOps Delivery Presales DevOps Presales DevOpsContainer
  4. 4. SCALABILITY FAST TIME TO MARKET EFFICIENCY 4
  5. 5. Microservices 5
  6. 6. What is Cloud Native? 1. 2. () 3. https://www.cncf.io/about/faq/ OSS (Cloud Native Computing FoundationFAQ) 6
  7. 7. 7 Proxy (Nginx) LB Internet Proxy (Nginx) Svc Svc Query API Cache Svc Mongo Svc Cassandra Svc Mongo Cassandra Query API Cache Svc Mongo Svc Cassandra Svc Mongo Mongo Cassandra Cassandra Svc
  8. 8. ? 1 8
  9. 9. MyService Resilience Discovery Load Balancing Scaling / Elasticity Logging Monitoring Build, Deployment Pipeline Tracing Invocation Messaging / IPC API Authentication 9
  10. 10. l / / () ( / ) l / ( ) () / API () l / 10
  11. 11. : 11 Netflix CNCF(*1) Zulu Finangle linkerd / Istio Eureka ZooKeeper / Consul linkerd / Istio Ribbon Finangle / gRPC linkerd / Istio // Hysterix Hysterix linkerd / Istio / - - linkerd / Istio - Zipkin OpenTracing JMX(Jolokia) cAdvisor Prometeus / Haukular - Fluentd Fluentd JVM Docker/Kubernetes (*1)CloudNativeComputingFoundationhttps://www.cncf.io/
  12. 12. Circuit Breaker (eg: Hysterix) l / 12 https://martinfowler.com/bliki/CircuitBreaker.html
  13. 13. Distributed Trace (eg: Zipkin) l () ID 13
  14. 14. : l HTTPgRPC() (: circuit breaker) / l Kubernetes() Istio (https://istio.io/) linkerd (https://linkerd.io/) 14
  15. 15. Istio / linkerd 15 Finangle linkerd Envoy Istio 2010 byTwitter LibraryforJVM 2016 byBuoyant=>CNCF ServiceMesh(JVMbasedStandaloneProxy) 2016 byLyft StandaloneProxy(C++based) 2017 byLyft/Google/IBM ServiceMesh(Envoycore) https://linkerd.io/ https://lyft.github.io/envoy/ https://istio.io/ https://twitter.github.io/finagle/
  16. 16. Istio on Kubernetes 16 (Istio) source:https://istio.io/docs/samples/bookinfo.html
  17. 17. CNCF(Cloud Native Computing Foundation) 17 https://www.cncf.io/
  18. 18. Cloud Native Polyglot : CNCF 18
  19. 19. ) Envoy(Istio) l Kubernetes(OpenShift)"Sidecar Proxy" "Microservices Patterns with Envoy Sidecar Proxy, Part I: Circuit Breaking" https://blog.openshift.com/microservices-patterns-envoy-part-i/ "Microservices Patterns with Envoy Proxy, Part II: Timeouts and Retries" https://blog.openshift.com/microservices-patterns-envoy-proxy- part-ii-timeouts-retries/ "Microservices Patterns With Envoy Proxy, Part III: Distributed Tracing" https://blog.openshift.com/microservices-patterns-envoy-proxy- part-iii/ 19
  20. 20. ) SpringBoot on OpenShift l OpenShift(Kubernetes)SpringBoot Netflix OSS l "Spring Boot Microservices on Red Hat OpenShift Container Platform 3" https://access.redhat.com/articles/3155471 2 0
  21. 21. Thank you