the long road towards elastic distributed stream
play

THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - PowerPoint PPT Presentation

THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING Leonardo Querzoni querzoni@diag.uniroma1.it Auto-DaSP - Turin, August 28th 2018 D IPARTIMENTO DI I NGEGNERIA CIS Sapienza I NFORMATICA A UTOMATICA E G ESTIONALE A NTONIO R UBERTI


  1. THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING Leonardo Querzoni querzoni@diag.uniroma1.it Auto-DaSP - Turin, August 28th 2018 D IPARTIMENTO DI I NGEGNERIA CIS Sapienza I NFORMATICA A UTOMATICA E G ESTIONALE A NTONIO R UBERTI Cyber Intelligence and information Security

  2. ELASTIC COMPUTING ”[...] defines elasticity as the configurability and expandability of the solution [...] Centrally, it is the ”Elasticity is basically a ’rename’ of scalability [...]” ability to scale up and scale down capacity based and ”removes any manual labor needed to on subscriber workload.” 
 increase or reduce capacity” 
 OCDA. Master Usage Model: Compute Infratructure as a SCHOUTEN, E. (IBM) Rapid Elasticity and the Cloud, Septem- Service. Tech. rep., Open Data Center Alliance (OCDA), 2012 ber 2012 ”Rapid elasticity: Capabilities can be elastically provisioned and released, in some cases automatically, to scale rapidly outward and inward commensurate with demand. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be appropriated in any quantity at any time.” 
 MELL, P ., AND GRANCE, T. The NIST Definition of Cloud Computing. Tech. rep., U.S. National Institute of Standards and Technology (NIST), SP 800-145, 2011 ”the quantifiable ability to manage, measure, predict and adapt responsiveness of an application based on real ”Elasticity measures the ability of the time demands placed on an infrastructure using a combi- cloud to map a single user request to nation of local and remote computing resources.” 
 different resources.” 
 COHEN, R. Defining Elastic Computing, September 2009. WOLSKI, R. Cloud Computing and Open Source: Watching Hype meet Reality, May 2011 THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  3. ELASTIC COMPUTING ”[...] defines elasticity as the configurability and expandability of the solution [...] Centrally, it is the ”Elasticity is basically a ’rename’ of scalability [...]” ability to scale up and scale down capacity based and ”removes any manual labor needed to on subscriber workload.” 
 increase or reduce capacity” 
 OCDA. Master Usage Model: Compute Infratructure as a SCHOUTEN, E. (IBM) Rapid Elasticity and the Cloud, Septem- Service. Tech. rep., Open Data Center Alliance (OCDA), 2012 ber 2012 ”Rapid elasticity: Capabilities can be elastically provisioned and released, in some cases automatically, to scale rapidly outward and inward commensurate with demand. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be appropriated in any quantity at any time.” 
 MELL, P ., AND GRANCE, T. The NIST Definition of Cloud Computing. Tech. rep., U.S. National Institute of Standards and Technology (NIST), SP 800-145, 2011 ”the quantifiable ability to manage, measure, predict and adapt responsiveness of an application based on real ”Elasticity measures the ability of the time demands placed on an infrastructure using a combi- cloud to map a single user request to nation of local and remote computing resources.” 
 different resources.” 
 COHEN, R. Defining Elastic Computing, September 2009. WOLSKI, R. Cloud Computing and Open Source: Watching Hype meet Reality, May 2011 THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  4. ELASTIC COMPUTING Load Static Provisioning Workload Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  5. ELASTIC COMPUTING Load Static Provisioning Workload Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  6. ELASTIC COMPUTING Load Static Provisioning Workload Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  7. ELASTIC COMPUTING Load Static Provisioning Workload Elastic Provisioning Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  8. ELASTIC COMPUTING Load Static Provisioning Workload Elastic Provisioning Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  9. ELASTIC COMPUTING Load Static Provisioning Workload Elastic Provisioning Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  10. ELASTIC COMPUTING Load Static Provisioning Workload Elastic Provisioning Underprovisioning Overprovisioning Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  11. ELASTIC COMPUTING Load Static Provisioning Workload Elastic Provisioning Elastic provisioning Time THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  12. ELASTIC COMPUTING Elastic computing drove the success of cloud providers ▪ Virtually infinite resources ▪ On-demand provisioning ▪ Near-instant availability ▪ Automatic scale-out ▪ Pay-what-you-use THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  13. ELASTIC COMPUTING Elastic processing of big-data is today a reality THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  14. DISTRIBUTED STREAM PROCESSING Data Stream Processing Engine: ▪ continuously calculate results for persistent queries ▪ on (potentially) unbounded data streams ▪ using operators: algebraic (filters, join, aggregation) or user defined ▪ stateless/stateful source A op 1 op 2 DB op 1 op 1 op 1 op 4 op 5 op 4 source B KB op 3 event / tuple THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  15. DISTRIBUTED STREAM PROCESSING Data stream processing (DSP) was in the past considered a solution for very specific problems. ▪ Financial trading ▪ Logistics tracking ▪ Factory monitoring Today the potentialities of DSPs start to be used in more general settings. DSP : online processing = MR : batch processing THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  16. ELASTIC STREAM VS BATCH Why is realizing elastic stream processing more di ffi cult? ▪ Data in motion vs data at rest ▪ Variable data rates ▪ No obvious ways to characterize data content ▪ Latency-sensitive applications ▪ Batch applications are typically throughput-oriented ▪ Long term executions ▪ Batch jobs are expected to be short-lived ▪ Stream processing applications are designed to stay up and running for hours/days/ week/months THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  17. HOW TO SCALE DSP A few optimization strategies are known to deal with these issues: Hirzel et al. A Catalog of Stream Processing Optimizations. ACM CSUR, Vol. 46, No. 4, 2014 THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  18. HOW TO SCALE DSP A few optimization strategies are known to deal with these issues: Hirzel et al. A Catalog of Stream Processing Optimizations. ACM CSUR, Vol. 46, No. 4, 2014 FUSION THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  19. HOW TO SCALE DSP A few optimization strategies are known to deal with these issues: Hirzel et al. A Catalog of Stream Processing Optimizations. ACM CSUR, Vol. 46, No. 4, 2014 FUSION FISSION THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  20. HOW TO SCALE DSP A few optimization strategies are known to deal with these issues: Hirzel et al. A Catalog of Stream Processing Optimizations. ACM CSUR, Vol. 46, No. 4, 2014 FUSION FISSION PLACEMENT THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  21. HOW TO SCALE DSP A few optimization strategies are known to deal with these issues: Hirzel et al. A Catalog of Stream Processing Optimizations. ACM CSUR, Vol. 46, No. 4, 2014 FUSION FISSION PLACEMENT LOAD BALANCING THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  22. CURRENT SOLUTIONS Most of the existing solutions apply a standard MAPE-K (monitor, analyze, plan, and execute) model: CONTROLLER PLAN ANALYZE KNOWLEDGE EXECUTE MONITOR DSP Framework THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  23. CURRENT SOLUTIONS MONITOR Performance about the runtime execution of steam applications is gathered at several possible collection points: ▪ Hosts-level ▪ memory/cpu utilization ▪ interprocess communications ▪ Network-level ▪ communications among hosts in the cluster ▪ link congestion ▪ Application level ▪ Metrics exposed by the framework (e.g. operator selectivity, bu ff er congestion, etc.) ▪ Metrics exposed by software stacks (e.g. thread CPU utilization, hep size, etc.) THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

  24. CURRENT SOLUTIONS ANALYZE Collected data is analyzed to take scale-in/out decisions. Conditions are usually expressed on thresholds: ▪ Static - rely on domain knowledge or sysadmin expertise ▪ Dynamic - thresholds are automatically recomputed at runtime depending on monitored data Thresholds can be checked (Heinze et al, 2014) ▪ Locally - they evaluate the current status of each single host ▪ Globally - represent the system as a whole THE LONG ROAD TOWARDS ELASTIC DISTRIBUTED STREAM PROCESSING - AUTODASP 2018

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