Rapid Content Distribution Using An Ordered Seeding Torrent Raja Naresh Dr. Javed Khan Media Communications Networking Research Lab Kent State University.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Parallel Sorting Sathish Vadhiyar. Sorting  Sorting n keys over p processors  Sort and move the keys to the appropriate processor so that every key.
Decision Trees and MPI Collective Algorithm Selection Problem Jelena Pje¡sivac-Grbovi´c,Graham E. Fagg, Thara Angskun, George Bosilca, and Jack J. Dongarra,
Efficient Realization of Hypercube Algorithms on Optical Arrays* Hong Shen Department of Computing & Maths Manchester Metropolitan University, UK ( Joint.
CIS December '99 Introduction to Parallel Architectures Dr. Laurence Boxer Niagara University.
1 Distributed Adaptive Sampling, Forwarding, and Routing Algorithms for Wireless Visual Sensor Networks Johnsen Kho, Long Tran-Thanh, Alex Rogers, Nicholas.
Minimum Spanning Trees
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Johannes Schneider –1 A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint.
Broadcasting Protocol for an Amorphous Computer Lukáš Petrů MFF UK, Prague Jiří Wiedermann ICS AS CR.
Advanced Topics in Algorithms and Data Structures Lecture pg 1 Recursion.
Advanced Topics in Algorithms and Data Structures 1 Rooting a tree For doing any tree computation, we need to know the parent p ( v ) for each node v.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Internetworking Different networks –Different bit rates –Frame lengths –Protocols.
Advanced Topics in Algorithms and Data Structures An overview of the lecture 2 Models of parallel computation Characteristics of SIMD models Design issue.
Overview Efficient Parallel Algorithms COMP308. COMP 308 Exam Time allowed : 2.5 hours Answer four questions (out of six). If you attempt to answer more.
Detecting Network Intrusions via Sampling : A Game Theoretic Approach Presented By: Matt Vidal Murali Kodialam T.V. Lakshman July 22, 2003 Bell Labs, Lucent.
Parallel Routing Bruce, Chiu-Wing Sham. Overview Background Routing in parallel computers Routing in hypercube network –Bit-fixing routing algorithm –Randomized.
1 Tuesday, October 03, 2006 If I have seen further, it is by standing on the shoulders of giants. -Isaac Newton.
Communication operations Efficient Parallel Algorithms COMP308.
Models of Parallel Computation Advanced Algorithms & Data Structures Lecture Theme 12 Prof. Dr. Th. Ottmann Summer Semester 2006.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Examples Broadcasting and Gossiping. Broadcast on ring (Safe and Forward)
1 Lecture 24: Parallel Algorithms I Topics: sort and matrix algorithms.
©Silberschatz, Korth and Sudarshan18.1Database System Concepts Centralized Systems Run on a single computer system and do not interact with other computer.
A Highly Adaptive Distributed Routing Algorithm for Mobile Wireless Networks Research Paper By V. D. Park and M. S. Corson.
1 Parallel computing and its recent topics. 2 Outline 1. Introduction of parallel processing (1)What is parallel processing (2)Classification of parallel.
Course Outline Introduction in software and applications. Parallel machines and architectures –Overview of parallel machines –Cluster computers (Myrinet)
Interconnect Networks
Distributed Asynchronous Bellman-Ford Algorithm
A Unified Modeling Framework for Distributed Resource Allocation of General Fork and Join Processing Networks in ACM SIGMETRICS
Patch Based Mobile Sink Movement By Salman Saeed Khan Omar Oreifej.
ECE 526 – Network Processing Systems Design Packet Processing I: algorithms and data structures Chapter 5: D. E. Comer.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 January Session 4.
Course Outline Introduction in algorithms and applications Parallel machines and architectures Overview of parallel machines, trends in top-500, clusters,
InterConnection Network Topologies to Minimize graph diameter: Low Diameter Regular graphs and Physical Wire Length Constrained networks Nilesh Choudhury.
Communication and Computation on Arrays with Reconfigurable Optical Buses Yi Pan, Ph.D. IEEE Computer Society Distinguished Visitors Program Speaker Department.
Lecture 12 Distributed Hash Tables CPE 401/601 Computer Network Systems slides are modified from Jennifer Rexford.
Basic Linear Algebra Subroutines (BLAS) – 3 levels of operations Memory hierarchy efficiently exploited by higher level BLAS BLASMemor y Refs. FlopsFlops/
作者 :Satyajeet Ahuja and Marwan Krunz 出處 :IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 10, NO. 7, NOVEMBER 2008 報告者 : 黃群凱 1.
“Sorting networks and their applications”, AFIPS Proc. of 1968 Spring Joint Computer Conference, Vol. 32, pp
MPI implementation – collective communication MPI_Bcast implementation.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Student: Fan Bai Instructor: Dr. Sushil Prasad CSc8530.
Super computers Parallel Processing
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
Chapter 7 Channel organization. Group members  Bilal Ahmed  Mehmal javed  Faisal khan janjua  Harris bashir.
Two Peer-to-Peer Networking Approaches Ken Calvert Net Seminar, 23 October 2001 Note: Many slides “borrowed” from S. Ratnasamy’s Qualifying Exam talk.
Searching Topics Sequential Search Binary Search.
HYPERCUBE ALGORITHMS-1
Basic Communication Operations Carl Tropper Department of Computer Science.
Spring EE 437 Lillevik 437s06-l22 University of Portland School of Engineering Advanced Computer Architecture Lecture 22 Distributed computer Interconnection.
Parallel Programming in Chess Simulations Part 2 Tyler Patton.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
March 9, Broadcasting with Bounded Number of Redundant Transmissions Majid Khabbazian.
ETH Zurich – Distributed Computing Group Stephan HolzerSODA Stephan Holzer Silvio Frischknecht Roger Wattenhofer Networks Cannot Compute Their Diameter.
Minimum-Cost Spanning Tree weighted connected undirected graph cost of spanning tree is sum of edge costs find spanning tree that has minimum cost Network.
CIS 825 Lecture 8. Leader Election Aim is to elect exactly one node as the leader.
Round-Efficient Broadcast Authentication Protocols for Fixed Topology Classes Haowen Chan, Adrian Perrig Carnegie Mellon University 1.
A Spatial-based Multi-resolution Data Dissemination Scheme for Wireless Sensor Networks Jian Chen, Udo Pooch Department of Computer Science Texas A&M University.
Efficient Join Query Evaluation in a Parallel Database System
Course Outline Introduction in algorithms and applications
ECE 544 Protocol Design Project 2016
Multi-Node Broadcasting in Hypercube and Star Graphs
THE NETWORK LAYER.
Bitonic Sorting and Its Circuit Design
Communication operations
Numerical Algorithms Quiz questions
High Performance Computing & Bioinformatics Part 2 Dr. Imad Mahgoub
Presentation transcript:

Rapid Content Distribution Using An Ordered Seeding Torrent Raja Naresh Dr. Javed Khan Media Communications Networking Research Lab Kent State University

Outline Problem Description and Background Terms and Assumptions Overlay Network The Technique Seeding Distribution Process Time Complexity Analysis Big Picture Experimental Evaluation Bound Achieved

Problem Description and Background Content Distribution Networks (CDNs) is a system of computers containing copies of data placed at various nodes of a network. Companies sign-up with CDN providers with their services. Synchronization of content b/w the CDN nodes. Given N nodes in a network we want to efficiently (as fast as possible) distribute a file to all the nodes.

Terms and Assumptions Two kinds of nodes. The Seed which has the file/content to be distributed. Only one Seed. Non-Seed/Sink/Peers to which the content has to be distributed. They are represented with a unique binary ID eg. :- nodeID = Sink nodes are connected forming an overlay network such that their hamming distance = 1. Represents a hypercube structure. The Seed is connected to all the Sink nodes. Takes 1 unit of time to transfer file b/w any two nodes.

Overlay Network D hypercube3-D hypercube

The Technique Fragment 1 Fragment 2 … Fragment N Fragmentation and Broadcasting. [ ] [ ] … [ ] Fragments also have unique binary ID. Each fragment is of size 1/N hence fragment transfer b/w any two nodes takes 1/N units of time. We call this one timestamp.

Seeding The Seed is responsible for fragmenting the file into N fragments. Sends fragmentID to nodeID. Formulates an array consisting of the destination nodeID. Sends the fragmentID to the Sink with same nodeID. The array index represents the senquence in which the fragmentID is transferred to nodeID. 3-D illustration of the Seeding algorithm (8 nodes)

Seeding

Distribution General Idea is the same as broadcasting in parallel network such as hypercube. Consider a fragmentID [000] being distributed D hypercube [000] Analysis of node 001 [000] 001-->{011, 101}

Process [000] [111] Timestamp 1Timestamp 2

Process [000] [011] [111] [100 ] [000] [011] [000] [111] Timestamp 4Timestamp 3

Process [001 ] [011] [111] [111] [100] [000] [001] [011] [100] [011] [110] [111] Timestamp 5Timestamp 6

Time Complexity Analysis Discard half of the fragments. If the last bit is different then the node doesn't need to forward the fragment to any other node. It's the last node to receive the frag- ment The minimum number of timestamps required is N since the seed forwards atleast N fragments Hence we only consider d-1 bits among d bits. => N+...

Time Complexity Analysis Consider last node with nodeID = 1 d-1 1 d When fragmentID = nodeID, distributes fragment in d timestamps. When (d-2) th bit is different, distributes fragment in 1X2 d-2 timestamps => N+d+1X2 d-2 +2X(2 d-2 /2) When (d-3) rd bit is different, distributes fragment in 2X2 d-3 Which is 2X(2 d-2 /2)

Time Complexity Analysis => N + d + 1X2 d-2 + 2X(2 d-2 /2) … + (d-1)X(2 d-2 /2 d-2 ) => N + N – 1 => 2N – 1 # of timestamps in worst case => 2 – (1/N) Actual time taken to distribute Big Picture Sequential – N Broadcasting – (logN) Fragmentation and Broadcasting - O(1)

Experimental Evaluation Experimental Time Complexity = 1 + O((log 2 N)/N)

Further Extensions Optimality of the Seeding algorithm Include Header cost and find the optimal N. Thank you