distributed pipe and filter architectures with teetime
play

Distributed Pipe-and-Filter Architectures with TeeTime Masters - PowerPoint PPT Presentation

Distributed Pipe-and-Filter Architectures with TeeTime Masters thesis Florian Echternkamp 21.04.2017 Motivation: Performance Single node: Parallelization limited by CPU cores Masters thesis - Distributed Pipe-and-Filter Architectures


  1. Distributed Pipe-and-Filter Architectures with TeeTime Master’s thesis Florian Echternkamp – 21.04.2017

  2. Motivation: Performance Single node: Parallelization limited by CPU cores Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 2 / 38

  3. Motivation: Performance Multiple nodes: parallelization no more limited by CPU Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 3 / 38

  4. Motivation: Locality • Data locality – Big Data – Stages process data close to the corresponding data source Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 4 / 38

  5. Outline • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 5 / 38

  6. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 6 / 38

  7. Goals • G1: Evaluation of Java Frameworks for Distributed Application Development – G1.1: Providing Efficient Distributed Communication – G1.2: Providing Fault Tolerance – G1.3: Providing Remote Deployment and Execution – G1.3: Providing Encrypted Data Transmission • G2: Implementation of a Distributed Pipe-and-Filter Architecture • G3: Adding Support for Distributed Configurations in the TeeTime DSL • G4: Evaluation of Our Approach – G4.1: Feasibility – G4.2: Performance Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 7 / 38

  8. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 8 / 38

  9. Foundations & Technologies • The Pipe-and-Filter Architectural Style [Sommerville 2012] • The Pipe & Filter Framework TeeTime [Wulf et al. 2014] • The Actor Model [Agha 1985] • The Actor Framework Akka [http://akka.io] Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 9 / 38

  10. Foundations & Technologies • TeeTime Domain-specific Language (DSL) [Zloch 2016] • Communication Patterns for Distributed Systems [Silcock and Goscinski 1995] – Message Passing – Remote Procedure Call – Distributed Shared Memory Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 10 / 38

  11. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 11 / 38

  12. Evaluation of Java Frameworks • Build Infrastructure License Open Min. JDK Latest activity Latest release Source Version Apache 2.0 Yes 1.8 12.06.2016 03.03.2016 (2.3.0) • Features Communication Transport Fault Remote Custom Encryption Pattern Protocol Tolerance Deployment Serializer Message Passing TCP, UDP Supervisor, Yes No Yes … Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 12 / 38

  13. Evaluation of Java Frameworks Copycat Hystrix Atomix Quasar Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 13 / 38

  14. Evaluation of Java Frameworks Copycat Hystrix Atomix Quasar Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 14 / 38

  15. Architecture Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 15 / 38

  16. Implementation of Distr. Comm. Communication via stages Communication via ports without a pipe Communication via a pipe Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 16 / 38

  17. Distributed Pipe Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 17 / 38

  18. Impl. of Single Configuration Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 18 / 38

  19. DSL for the Distributed Config Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 19 / 21

  20. Remote Deployment (1 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 20 / 38

  21. Remote Deployment (2 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 21 / 38

  22. Remote Deployment (3 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 22 / 38

  23. Remote Deployment (4 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 23 / 38

  24. Remote Deployment (5 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 24 / 38

  25. Remote Deployment (6 of 6) Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 25 / 38

  26. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 26 / 38

  27. Evaluation of Our Approach • Feasibility – Remote deployment and remote execution – Distributed communication – Fault tolerance • Performance – Communication overhead – Execution time Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 27 / 38

  28. Feasibility Test Scenario Resulting P&F architecture Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 28 / 38

  29. Demo time Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 29 / 38

  30. Comm. Overhead Test Scenario • Test setup – 3 Cloud Nodes • 2x Intel Xeon (2.8 GHz, 8 cores) • 128 GB RAM – Software • Ubuntu 14.04.5 LTS • Java JDK 1.8.121 64bit – 10GBit/s network Resulting P&F architecture Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 30 / 38

  31. Comm. Overhead Results Communication Overhead per Transport Protocol 00:51,840 00:43,200 00:34,560 00:25,920 00:17,280 00:08,640 00:00,000 non-distributed tcp udp ssl local 00:40,313 00:44,190 00:44,523 00:44,542 distributed 00:47,082 00:47,677 00:48,114 local distributed Test objects: 5000x 1 Megabyte large Strings | 20 test iterations CI 95% <= ±00:00,840 Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 31 / 38

  32. Execution Time Test Scenario • Configuration Changes – Multiple CPU Load Generator Stages in a row – Synched pipes – Increased CPU load by the factor 10 Resulting P&F architecture Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 32 / 38

  33. Execution Time Results Execution Time per Transport Protocol 02:52,800 02:35,520 02:18,240 02:00,960 01:43,680 01:26,400 01:09,120 00:51,840 00:34,560 00:17,280 00:00,000 non-distributed tcp udp ssl local 02:39,480 02:39,462 02:40,609 02:40,752 distributed 01:35,943 01:35,948 01:36,307 local distributed Test objects: 1000x 1 Megabyte large Strings | 20 test iterations Local CI 95% <= ±00:01,386 | Distributed CI 95% <= ±00:00,250 Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 33 / 38

  34. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 34 / 21

  35. Related Work • Apache Hadoop 1 : MapReduce on a big problem • Apache Spark 2 and Storm 3 : only acyclic graphs • Akka 4 : message box is untyped 1 http://hadoop.apache.org | 2 http://spark.apache.org | 3 http://storm.apache.org | 4 http://akka.io Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 35 / 21

  36. • Motivation • Goals • Foundations • Developed Approach • Evaluation • Related Work • Conclusion • Future Work Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 36 / 38

Recommend


More recommend