Distributed Pipe-and-Filter Architectures with TeeTime
Master’s thesis
Florian Echternkamp – 21.04.2017
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
Master’s thesis
Florian Echternkamp – 21.04.2017
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 2 / 38
Single node: Parallelization limited by CPU cores
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 3 / 38
Multiple nodes: parallelization no more limited by CPU
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
– Big Data – Stages process data close to the corresponding data source
Florian Echternkamp – 21.04.2017 4 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 5 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 6 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
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
– G4.1: Feasibility – G4.2: Performance
Florian Echternkamp – 21.04.2017 7 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 8 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 9 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
[Silcock and Goscinski 1995]
– Message Passing – Remote Procedure Call – Distributed Shared Memory
Florian Echternkamp – 21.04.2017 10 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 11 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 12 / 38
License Open Source
Version Latest activity Latest release Apache 2.0 Yes 1.8 12.06.2016 03.03.2016 (2.3.0) Communication Pattern Transport Protocol Fault Tolerance Remote Deployment Custom Serializer Encryption Message Passing TCP, UDP Supervisor, … Yes No Yes
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 13 / 38
Atomix Hystrix Quasar Copycat
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 14 / 38
Atomix Hystrix Quasar Copycat
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 15 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 16 / 38
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 17 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 18 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 19 / 21
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 20 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 21 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 22 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 23 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 24 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 25 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 26 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
– Remote deployment and remote execution – Distributed communication – Fault tolerance
– Communication overhead – Execution time
Florian Echternkamp – 21.04.2017 27 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 28 / 38
Resulting P&F architecture
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 29 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 30 / 38
Resulting P&F architecture
– 3 Cloud Nodes
– Software
– 10GBit/s network
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 31 / 38
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 00:00,000 00:08,640 00:17,280 00:25,920 00:34,560 00:43,200 00:51,840
Communication Overhead per Transport Protocol
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 32 / 38
Resulting P&F architecture
– Multiple CPU Load Generator Stages in a row – Synched pipes – Increased CPU load by the factor 10
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime Florian Echternkamp – 21.04.2017 33 / 38
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 00:00,000 00:17,280 00:34,560 00:51,840 01:09,120 01:26,400 01:43,680 02:00,960 02:18,240 02:35,520 02:52,800
Execution Time per Transport Protocol
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 34 / 21
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 35 / 21
1http://hadoop.apache.org | 2http://spark.apache.org | 3http://storm.apache.org | 4http://akka.io
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 36 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
– Distributed communication
– Remote deployment and remote execution – Fault tolerance – Distributed configurations in the TeeTime DSL
Florian Echternkamp – 21.04.2017 37 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
Florian Echternkamp – 21.04.2017 38 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
– No need to embed the execution of the distributed configuration – Similar to the non-distributed config
Florian Echternkamp – 21.04.2017 39 / 38
Master’s thesis - Distributed Pipe-and-Filter Architectures with TeeTime
distributed systems.
remote procedure calls and distributed shared memory as communication paradigms for distributed systems. Deakin University, School of Computing and Mathematics, 1995.
Studium, Mar. 1, 2012. Chapter 6.3.4, pages 200–201.
and concurrency-aware pipes & filters framework (2014).
and-filter configuration builders. Feb. 2016.
Florian Echternkamp – 21.04.2017 40 / 21