Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Overview and Opentracing in theory by Gianluca Arbezzano

774 views

Published on

That is this group? How does it work? What is the CNCF? After this short introduction I am going to show you what is Opentracing what it means and why the adoption is growing so much in a short amount of time. Use cases, possible implementations and so on.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Overview and Opentracing in theory by Gianluca Arbezzano

  1. 1. CNCF Italy Gianluca Arbezzano, CNCF Ambassador Site Reliability Engineer at InfluxData @gianarb This presentation is available on Meetup.com/CNCF-Italy 1
  2. 2. Cloud Native Computing Foundation • Non-profit, part of the Linux Foundation – Founded December 2015 • Current projects: • Platinum members: Kubernetes Prometheus OpenTracing Fluentd Linkerd gRPC CoreDNS containerd rkt CNI
  3. 3. Today the Linux Foundation is much more than Linux We are helping global privacy and security through a program to encrypt the entire internet. Security Networking We are creating ecosystems around networking to improve agility in the evolving software-defined datacenter. Cloud We are creating a portability layer for the cloud, driving de facto standards and developing the orchestration layer for all clouds. Automotive We are creating the platform for infotainment in the auto industry that can be expanded into instrument clusters and telematics systems. Blockchain We are creating a permanent, secure distributed ledger that makes it easier to create cost-efficient, decentralized business networks. We are regularly adding projects; for the most up-to-date listing of all projects visit tlfprojects.org 3 Web We are providing the application development framework for next generation web, mobile, serverless, and IoT applications.
  4. 4. Containers Cloud Native Cloud Native: CNCF (Founded 2015) •Cloud native computing uses an open source software stack to: – segment applications into microservices, – packaging each part into its own container – and dynamically orchestrating those containers to optimize resource utilization Open Source IaaS PaaS Open Source PaaS Virtualiza- tion 2000 2001 2006 2009 2010 2011 Non- Virtualized Hardware 2013 2015 IaaS 4
  5. 5. Cloud Native Value Propositions 5
  6. 6. Container packaged applications achieve dev/prod parity, foster code and component reuse and simplify operations 6 Isolation
  7. 7. No Lock-in Open source software stack enables deployment on any public or private cloud (or in combinations) 7
  8. 8. Unlimited Scalability Optimized for modern distributed systems environments capable of scaling to tens of thousands of self healing multi-tenant nodes (e.g., Google starts 2 billion containers per week) 8
  9. 9. Agility and Maintainability Are increased by splitting applications into microservices with explicitly described dependencies 9
  10. 10. Improved Efficiency and Resource Utilization Via a central orchestrating process that dynamically manages and schedules microservices. This reduces the costs associated with maintenance and operations. 10
  11. 11. Resiliency To failures of individual containers, machines, and even data centers and to varying levels of demand 11
  12. 12. CNCF-Italy #CNCFItaly on Twitter meetup.com/cncf-italy 12
  13. 13. Thanks sponsors!
  14. 14. Thanks media partners!
  15. 15. © 2017 InfluxData. All rights reserved.16 Typical problems with logs ¨ Which library do I need to use? ¨ Every library has a different format ¨ Every languages exposes a different format
  16. 16. © 2017 InfluxData. All rights reserved.17 Tracing is not something new ¨ There are vendors ¨ Every vendor has their own format
  17. 17. © 2017 InfluxData. All rights reserved.18 Every ten years, history repeats itself but now ¨ Microservices ¨ Polyglot architecture ¨ A different distribution
  18. 18. How do you “tell stories” about concurrent systems?
  19. 19. Where does tracing code live? OSS and commercial / in-house instrumentation Tracer SDKs / clients Tracing backends and UIs
  20. 20. © 2017 InfluxData. All rights reserved.21 log log log log log log Parent Span Span Context / Baggage Child Child Child Span ¨ Spans - Basic unit of timing and causality. Can be tagged with key/value pairs. ¨ Logs - Structured data recorded on a span. ¨ Span Context - serializable format for linking spans across network boundaries. Carries baggage, such as a request and client IDs. ¨ Tracers - Anything that plugs into the OpenTracing API to record information. ¨ ZipKin, Jaeger, LightStep, others ¨ Also metrics (Prometheus) and logging
  21. 21. © 2017 InfluxData. All rights reserved.22 OpenTracing API application logic µ-service frameworks Lambda functions RPC & control-flow frameworks existing instrumentation tracing infrastructure main() I N S T A N A J a e g e r microservice process
  22. 22. © 2017 InfluxData. All rights reserved.23 1.5 year old! Tracer implementations: Zipkin, Jaeger, LightStep, SkyWalking, others All sorts of companies use OpenTracing:
  23. 23. © 2017 InfluxData. All rights reserved.24 Rapidly growing OSS and vendor adoption JDBIJava Webservlet Jaxr
  24. 24. © 2017 InfluxData. All rights reserved.25 Some use cases ¨ Microservices ¨ Cache vs. Cache Miss ¨ Parallel vs Sequentially ¨ Queue system
  25. 25. © 2017 InfluxData. All rights reserved.26 Netflix - https://youtu.be/Q4nniyAarbs?t=31m58s PS I don’t know if it’s using OpenTracing (probably not) but it’s a nice visualisation.
  26. 26. © 2017 InfluxData. All rights reserved.27
  27. 27. © 2017 InfluxData. All rights reserved.28 Enterprise Edition Telegraf Kapacitor InfluxDB Chronograf InfluxDB and OpenTracing?!
  28. 28. © 2017 InfluxData. All rights reserved.29 InfluxDB and OpenTracing?! Implement a comfortable solution to store and quickly manipulate all your traces.
  29. 29. © 2017 InfluxData. All rights reserved.30 Telegraf plugin to forward traces from Zipkin to InfluxDB
  30. 30. © 2017 InfluxData. All rights reserved.31 Zipkin native InfluxDB storage
  31. 31. 32 Please follow up with Gianluca Arbezzano gianluca@influxdb.com @gianarb on Twitter

×