Reply To: File Sharing application

Home Forums PeerfactSim Forum File Sharing application Reply To: File Sharing application

#890
Kalman
Guest

Hi,

I am trying to understand your approach.
So one single node in the network should publish a file and this file
should be downloaded by all other nodes.

For that, follow the download procedure on
https://sites.google.com/site/peerfactsimkom/download
and download
https://sites.google.com/site/peerfactsimkom/download/PeerfactSim.KOM__UPB__2011-12-19.zip?attredirects=0
and the two other network files.

Unzip and install everything according the video in the getting
started section.

No the relevant parts:
– A filesharing application is already implemented, so you could use
Chord and the corresponding filesharing application.
– The corresponding config file to start the simulator is here: ..-/
config/application-filesharing2
– For example you could start: FSChord-1000_Peers.xml
– in the corresponding action file, it is written, what should happen
in the simulation: config/application-filesharing2/filesharing2-
actions-1000_Peers.dat

Currently it is written:
Ecuador 1m FilesharingApplication:join
Ukraine 2m-5m FilesharingApplication:join
Denmark 6m-20m FilesharingApplication:join
Brazil 21m-30m FilesharingApplication:join
Poland 31m-40m FilesharingApplication:join
Malaysia 41m-50m FilesharingApplication:join
France 51m-60m FilesharingApplication:join

Malaysia 100m-120m FilesharingApplication:publishResourcesFromSet
files2 20
France 100m-120m FilesharingApplication:publishResourcesFromSet files1
20
France 121m FilesharingApplication:lookupResourceFromSetPeriodically
files2 10m
Malaysia 121m FilesharingApplication:lookupResourceFromSetPeriodically
files1 10m

So there are 20 files in the set files1 and 20 files in the set
files2.
In your case you seem only to want one single file: 20 -> 1
And this single file should be published by one single node (instead
of here, all nodes in Malaysia)
So you have to create one single node as well, or a group in the
config file that contains only one node.

Once you run the simulation with the config file, your results should
fit.

Best regards,
Kalman

Comments are closed.