UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project Research Assistant Niko Kotilainen University of Jyväskylä Agora Center
UNIVERSITY OF JYVÄSKYLÄ 2003 Problem Evolving neural networks needs a lot of computing power One computer is not enough for many research cases
UNIVERSITY OF JYVÄSKYLÄ 2003 Solution Distribute computation across desktop computers all over Agora It has to be as invisible as possible to the user of the network simulator The simulator should not interfere with the desktop use of the distributed computers
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master Query Query: who has the resource ”NetSimulator” available?
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master Reply Reply: I do! Reply
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master Task
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master Computation…
UNIVERSITY OF JYVÄSKYLÄ 2003 Architecture Chedar node Chedar node Chedar node Chedar node Chedar node Master Result Results are sent back to the master node. Calculation ends and everybody is happy. Result
UNIVERSITY OF JYVÄSKYLÄ 2003 What happens inside a Chedar node Task Chedar-node starts the distributed program, hijacking its file operations. Chedar Distributed program Result Any Java program that uses files to read input and store output can be distributed
UNIVERSITY OF JYVÄSKYLÄ 2003 Advantages over ordinary clusters Minimal costs –No need for new hardware More dynamic, better fault-tolerance –Computers can join or leave the network at any time More scalable –Network size can be huge
UNIVERSITY OF JYVÄSKYLÄ 2003 Future of the system At this time just a tool for the project to speed up computations Larger deployment Possible improvements –Master can leave the network and gather results afterwards –Load balancing between peer nodes