Top Banner
UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project http://tisu.it.jyu.fi/cheesefactory Research Assistant Niko Kotilainen University of Jyväskylä Agora Center [email protected]
14

UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

UNIVERSITY OF JYVÄSKYLÄ

Distributed computing in peer-to-peer environmentInBCT 3.2 Peer-to-Peer communicationCheese Factory -projecthttp://tisu.it.jyu.fi/cheesefactory

Research AssistantNiko Kotilainen

University of Jyväskylä

Agora [email protected]

Page 2: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Problem

• Evolving neural networks needs a lot of computing power

• One computer is not enough for many research cases

Page 3: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

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

Page 4: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Page 5: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Page 6: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Query

Query

Query: who has the resource ”NetSimulator” available?

Page 7: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Reply

Reply

Reply: I do!

Reply

Page 8: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Task

Task

Task

Page 9: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Computation…

Page 10: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

Architecture

Chedarnode

Chedarnode

Chedarnode Chedar

node

Chedarnode

Master

Result

Result

Results are sent back to the master node.Calculation ends and everybody is happy.

Result

Page 11: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

What happens inside a Chedar node

Task

Chedar-node starts the distributed program, hijackingits file operations.

Chedar

Distributed program

Result

Any Java program that uses files to read input and store output can be distributed

Page 12: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

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

Page 13: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .

2003

UNIVERSITY OF JYVÄSKYLÄ

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

Page 14: UNIVERSITY OF JYVÄSKYLÄ Distributed computing in peer-to-peer environment InBCT 3.2 Peer-to-Peer communication Cheese Factory -project .