SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Guide: Presented by:
Mr. Jayakumar S. , M.E. Shonit Kichloo - 1030920061
Assistant Professor(O.G.) Sovan Kundu - 1030920063
Sumit Kumar - 1030920065
Vighnesh Krishnan - 1030920070
…..Introduction
 This paper develops analytical models that characterize
the behavior of on-demand stored media content delivery
using Bit Torrent-like protocols.
 The models capture the effects of different piece
selection policies, including Rarest-First, In-Order, and
two probabilistic policies (Portion and Zipf).
…..Explanation
 Streaming media is video or audio content sent in
compressed form over the Internet and played
immediately, rather than being saved to the hard drive .
 With streaming media, a user does not have to wait to
download a file to play it. Because the media is sent in a
continuous stream of data it can play as it arrives. Users
can pause, rewind or fast-forward, just as they could with
a downloaded file, unless the content is being streamed
live.
…..Abstract
 Our models provide insight into system behaviour and help explain the
sluggishness of the system with In-Order streaming.
 We use the models to compare different retrieval policies across a wide
range of system parameters, including peer arrival rate,
upload/download bandwidth, and seed residence time.
 We also provide quantitative results on the startup delays and retrieval
times for streaming media delivery. Our results provide insights into the
design tradeoffs for on-demand media streaming in peer-to-peer
networks.
 Finally, the models are validated using simulations.
…..Terminologies
 On-demand streaming: Streaming media content that
is transmitted to the client upon request.
 Peer-to-peer communication: A model in which each
party has the same capabilities and either party can
initiate a communication session.
 BitTorrent : A peer-to-peer (p2p) file sharing protocol
designed to reduce the bandwidth required to transfer
files.
…..Existing System
 P2P networks are autonomous systems with the
advantages of self-organization and self-adaptation.
 On-demand streaming of stored media files differs in
subtle but important ways from live media streaming.
 First, live streaming typically involves only a single
streaming source, whereas stored media streaming can
involve many providers of content.
…..Existing System
 Second, the stored media case involves retrieving the
entire media object, while the live streaming case allows
peers to join at any time (i.e., mid-stream), without
retrieving earlier portions of the stream.
 Third, the peers in a live streaming scenario have a
shared temporal content focus, while the stored media
case has greater temporal diversity of requests.
…..Disadvantages
 The issue of “startup delay” differs in the two scenarios
(i.e., joining an existing stream versus starting a new
stream).
 The stored media case is general: The retrieval rate could
be slower than, faster than, or the same as the media
playback rate, or even vary with time
…..Proposed System
 We develop detailed analytical models that explicitly
consider piece selection policies.
 The models accurately predict the transition rate of
downloader’s to seeds, as well as the steady-state swarm
population size and mix.
 The models provide important insights into the efficiency
of on-demand media streaming in P2P networks.
…..Proposed System
 The models explicitly consider the number of upload and
download connections, rather than just the total network
bandwidth.
 This formulation provides the flexibility to model
concurrent connections and consider the effect of
network asymmetry on the system performance.
…..Advantages
The advantage of our models capture performance
differences between various policies and configuration
details (e.g., piece selection policies, upload bandwidth)
and allow us to answer questions related to the efficiency
and user-perceived performance of BitTorrent-like on-
demand streaming protocols.
…..Architecture Diagram
….System Requirements
 Hardware:
Intel/AMD processors
RAM - 128 MB or higher
Video Card – 128 MB or higher
Internet connectivity
 Software:
OS – Windows 2000 or higher
Media Player – WMP/ Video LAN Player
Streaming Protocols – BitTorrent
…..Modules
 1ST PHASE
DOWNLOAD PROGRESS
 MODEL ASSUMPTIONS
 SYSTEM EFFICIENCY
 BASELINE MODEL: RAREST-FIRST
 IN-ORDER PIECE SELECTION (FCFS)
 2ND PHASE
SEQUENTIAL PROGRESS
 RANDOM PIECE SELECTION
 PORTION PIECE SELECTION
 ZIPF PIECE SELECTION
REPLICATION
…..Download Progress
MODEL ASSUMPTIONS :
In this module we construct a peer system; it acts as a both client and server process. We
consider a single swarm (file) in a BitTorrent-like system with seeds and down loaders. Without
loss of generality, we assume that this file is of fixed (unit) size. The target file is divided into
number of pieces or packets or chunk and is encoded for playback at rate. Each peer is allowed
concurrent upload connections and concurrent download connections.
BASELINE MODEL: RAREST-FIRST :
It gives good scalability by trying to propagate the chunks of a file to as many peers as quickly
as possible. The expected rarest chunk is the latest chunk distributed by the server that is
missing from all the local peers’ buffer. The main point is that the search for missing chunks
starts from the latest chunk. We characterize the system behavior when downloader uses the
Rarest-First piece selection policy (the default in Bit Torrent).
…..Download Progress
SYSTEM EFFICIENCY :
In this model we derive the system efficiency (also called file sharing effectiveness) for the
Rarest-First piece selection policy. Each peer knows which pieces are available at other peers in
the system, and peers try to download the pieces they need. When a peer connects with other
peers, it tries to download a needed piece that is rarest among the pool of pieces available
from its neighboring peers.
IN-ORDER PIECE SELECTION (FCFS) :
The model presented here assumes that the uploading peers do not purge the unfulfilled
requests after each round. Rather, the pending requests at a providing peer are queued until
they are serviced. The request queues are serviced using First-Come–First-Serve (FCFS). In the
purging model, each downloader issues download requests per round; in the queue-based
model, downloader operate in a closed-loop fashion, with at most download outstanding
requests at any time.
…..Sequential Progress
RANDOM PIECE SELECTION :
In this module we have to implement the random piece selection policy. The analysis of
sequential progress for the Random piece selection policy proceeds as follows. Assume that the
file of interest has M pieces, numbered from 1 to M. The downloader retrieves one piece per
unit time using a Bit Torrent-like protocol, with the pieces chosen uniformly at random. It
ignores the numerical ordering of the pieces.
PORTION PIECE SELECTION :
This module used to get the portion of the missing packet or file or chunk at the receiver end.
Our analysis considers the sequential progresses achieved after k out of M pieces have been
retrieved. More specifically, we are interested in the expected sequential progress E [j|k],
where is the number of useful pieces (at the start of the file).
…..Sequential Progress
ZIPF PIECE SELECTION :
In this module we have to implement the Zipf piece selection policy. We again assume that the
missing pieces (except the first missing piece) are uniformly distributed. This module used to
get the portion of the missing packet or file or chunk at the receiver end.
REPLICATION :
This replication process is automatically sending the acknowledgement request to other Peer
forget new file and also other Peer automatically responds to the requested Peer. The responds
Peer listen the entire request from the neighbor Peers and responds to all Peers with in a
second. This process automatically shares the files only the trusted Peer’s in the network.
…..Activity Diagram
Send the packet to requested peer
Send File request
Receive the packet and Packet Schedule
Check the Missing Packet
If the Packet are Missing
Send Request corresponding Neighbour Peer
Send Response to requested peer
Merge overall packets
View The File
Yes
Receive the file request from requested peer
Send the packet schedule to requested peer
Generate the packet schedule
Receive the missing packet from neighbor node
NO
Check the Missing Packet If the Packet are missing
Portion selection Process
Yes
NO
Zipf selection Process
Yes
Neighbour Peer If Neighbor peer is ON
Yes Activate Sub ServerNO
…..Dataflow Diagram
Peer (Client)
(1….n)
File Downloading
using Sequential
process and
Download process
Server
Peer
(Client)
Send File
Request
Peer
(Server)
Select
Requested
Peers
Maintain All
Peers Info
In DB
Split the
added file into
multiple
packet
Generate
Packet
Schedule
Send the
packet to all
requested
Peers
Maintain
Packet
Schedule
Send packet
Schedule
Information
Receive
the packet
And schedule
information
View File
Level 0:
Level 1:
…..Dataflow Diagram
Level 2:
Peer
(Client)
Send File
Request
Peer
(Server)
Select
Requested
Peers
Maintain All
Peers Info
In DB
Split the
added file into
multiple
packet
Generate
Packet
Schedule
Send the
packet to all
requested
Peers
Maintain
Packet
Schedule
Send
packet
Schedule
Information to
all Requested
peer
Receive
the packet
And schedule
information
View File
Check the
missing
packet
Send
missing packet
request to
corresponding
neighbor peer
Validate
Missing
Neighbours
Peer
Send
response to
requested
peer
Not Missing
Peer node off
No
Yes
Send the
Acknowledge
ment to
Subserver
Receive the
acknowledge
ment from
neighbor peer
Sub server
Merge the
over all file
Apply Portion
Piece
selection
Process
Apply Zipf
piece
selection
Process
Added a new
file
Send the file
to its sub
server
Activate the
sub server
…..Sample Coding
private void btnBrowseFile_Click(object sender, EventArgs e)
{OpenFileDialog op = new OpenFileDialog();
DialogResult dr = op.ShowDialog();
if (dr == DialogResult.OK)
{
op.OpenFile();
}
if (op.FileName != "")
{
txtSourceFile.Text = op.FileName;
txt_FileName.Text = op.SafeFileName;
FileStream fstream = new FileStream(op.FileName, FileMode.Open, FileAccess.Read);
txt_Size.Text = fstream.Length.ToString();
} }
private void btn_Add_Click(object sender, EventArgs e)
{
CreateFileDirectory();
File.Copy(txtSourceFile.Text,Application.StartupPath + "Files" + pName + "" +
txt_FileName.Text,true);
int myCount = SplitCount(int.Parse(txt_Size.Text.ToString()));
OriginalFileCount = myCount;
SplitFile(txtSourceFile.Text, Application.StartupPath + "Split Files" + pName + "" +
txt_FileName.Text + "", myCount);
}
…..Sample Coding
private void CreateFileDirectory()
{
// Specify the directory you want to manipulate.
// string path = @"c:MyDir";
path1 = Application.StartupPath + "Files" + pName + "";
try
{
// Determine whether the directory exists.
if (Directory.Exists(path1))
{
Console.WriteLine("That path exists already.");
return;
}
// Try to create the directory.
DirectoryInfo di = Directory.CreateDirectory(path1);
Console.WriteLine("The directory was created successfully at {0}.", Directory.GetCreationTime(path1));
}
catch (Exception e)
{
Console.WriteLine("The process failed: {0}", e.ToString());
}
finally { }
}
…..Sample Coding
Private void SplitFile(string FileInputPath, string FolderOutputPath, int OutputFiles)
{
// Store the file in a byte array
Byte[] byteSource = System.IO.File.ReadAllBytes(FileInputPath);
// Get file info
FileInfo fiSource = new FileInfo(txtSourceFile.Text);
// Calculate the size of each part
int partSize = (int)Math.Ceiling((double)(fiSource.Length / OutputFiles));
// The offset at which to start reading from the source file
int fileOffset = 0;
// Stores the name of each file part
string currPartPath;
// The file stream that will hold each file part
FileStream fsPart;
// Stores the remaining byte length to write to other files
int sizeRemaining = (int)fiSource.Length;
…..Sample Coding
// Loop through as many times we need to create the partial files
for (int i = 0; i < OutputFiles; i++)
{
// Store the path of the new part
currPartPath = FolderOutputPath + "" + fiSource.Name + "." + String.Format(@"{0:D4}", i)
+ ".part";
// A filestream for the path
if (!File.Exists(currPartPath))
{
fsPart = new FileStream(currPartPath, FileMode.CreateNew);
sizeRemaining = (int)fiSource.Length - (i * partSize);
if (sizeRemaining < partSize)
{
partSize = sizeRemaining;
}
fsPart.Write(byteSource, fileOffset, partSize);
fsPart.Close();
fileOffset += partSize;
}
}
}
…..Sample Coding
private int SplitCount(long FileSize)
{
int splitFileSize = 0;
int FileCount = 0;
int OriginalFileSize = int.Parse(FileSize.ToString());
if (FileSize < 1000000)
{ splitFileSize = 150000;
FileCount = OriginalFileSize / splitFileSize;
}
else if (FileSize > 1000000 && FileSize < 5000000)
{ splitFileSize = 500000;
FileCount = OriginalFileSize / splitFileSize;
}
else if (FileSize > 5000000 && FileSize < 10000000)
{
splitFileSize = 650000;
FileCount = OriginalFileSize / splitFileSize;
}
else if (FileSize > 10000000)
{
splitFileSize = 2000000;
FileCount = OriginalFileSize / splitFileSize;
}
return FileCount;
}
…..Results
Fluid model validation results [analytic results use lines; simulation results use points, with
“+” for Rarest-First, circles for In-Order (Naive), and squares
for In-Order (FCFS)]. Top row: Swarm population. Bottom row: Download latency (a), (d)
Effect of arrival rate. (b), (e) Effect of seed residence time. (c), (f) Effect
of upload bandwidth.
…..Results
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Snapshots
…..Future Enhancement
Replication is one of the new concept we implement in this paper. Replication is the
process of sharing information so as to ensure consistency between redundant
resources, such as software or hardware components, to improve reliability, fault-
tolerance, or accessibility. It could be data replication if the same data is stored on
multiple storage devices or computation replication if the same computing task is
executed many times. A computational task is typically replicated in space, i.e. executed
on separate devices, or it could be replicated in time, if it is executed repeatedly on a
single device. This replication process is automatically sending the acknowledgement
request to other Peer forget new file and also other Peer automatically responds to the
requested Peer.
…..Conclusion
We developed detailed analytical models to characterize the behavior of BitTorrent-like
protocols for on-demand stored media streaming. Our analysis was made possible by the
fundamental insight that media streaming progress (i.e., the rate at which useful pieces are
obtained by a peer for media playback) is essentially the product of download progress (i.e.,
the rate at which pieces are successfully obtained from the P2P network) and sequential
progress (i.e., the usefulness of the obtained pieces for media playback). Our models explicitly
capture the effects of different piece selection policies, including Rarest-First, two variants of
In-Order, andtwo probabilistic policies. Our models provide insights into the behavior of a P2P
network used for on-demand streaming.
…..References
[1] S. Annapu Reddy, C. Gkantsidis, and P. Rodriguez, “Providing video-on-demand using peer-to-
peer networks,” in Proc. IPTV, Edinburgh,Scotland, May 2006, pp. 238–247.
[2] Y. Choe, D. Schuff, J. Dyaberi, and V. Pai, “Improving VoD server efficiencywith
BitTorrent,” in Proc. ACM Multimedia, Augsburg, Germany,Sep. 2007, pp. 117–126.
[3] N. Carlsson and D. Eager, “Peer-assisted on-demand streaming of stored media using
BitTorrent-like protocols,” in Proc. IFIP/TC6Netw., Atlanta, GA, May 2007, pp. 570–581.
[4] N. Carlsson and D. Eager, “Modeling priority-based incentive policies for peer-assisted content
delivery systems,” in Proc. IFIP/TC6 Netw.,Singapore, May 2008, pp. 421–432.
[5] N. Carlsson, D. Eager, and A. Mahanti, “Peer-assisted on-demand video streaming with selfish
peers,” in Proc. IFIP/TC6 Netw., Aachen,Germany, May 2009, pp. 586–599.
Insights on On-demand Media Streaming Progress

Weitere ähnliche Inhalte

Was ist angesagt?

NTP Software Jan 2012 Monthly Meeting IPC Presentation
NTP Software Jan 2012 Monthly Meeting IPC PresentationNTP Software Jan 2012 Monthly Meeting IPC Presentation
NTP Software Jan 2012 Monthly Meeting IPC PresentationMuhamad Hesham
 
File replication
File replicationFile replication
File replicationKlawal13
 
Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]Akhil Nadh PC
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
Multiple processor systems
Multiple processor systemsMultiple processor systems
Multiple processor systemsjeetesh036
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Processes and Threads in Windows Vista
Processes and Threads in Windows VistaProcesses and Threads in Windows Vista
Processes and Threads in Windows VistaTrinh Phuc Tho
 
Comparison of Amoeba, Mach & Chorus: DOS
Comparison of Amoeba, Mach & Chorus: DOSComparison of Amoeba, Mach & Chorus: DOS
Comparison of Amoeba, Mach & Chorus: DOSEr. Shiva K. Shrestha
 
Processor Allocation (Distributed computing)
Processor Allocation (Distributed computing)Processor Allocation (Distributed computing)
Processor Allocation (Distributed computing)Sri Prasanna
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsWayne Jones Jnr
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System StructureSenthil Kanth
 

Was ist angesagt? (20)

NTP Software Jan 2012 Monthly Meeting IPC Presentation
NTP Software Jan 2012 Monthly Meeting IPC PresentationNTP Software Jan 2012 Monthly Meeting IPC Presentation
NTP Software Jan 2012 Monthly Meeting IPC Presentation
 
Chapter04 new
Chapter04 newChapter04 new
Chapter04 new
 
Ipc ppt
Ipc pptIpc ppt
Ipc ppt
 
File replication
File replicationFile replication
File replication
 
Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]Chorus - Distributed Operating System [ case study ]
Chorus - Distributed Operating System [ case study ]
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
CS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMSCS6601 DISTRIBUTED SYSTEMS
CS6601 DISTRIBUTED SYSTEMS
 
Multiple processor systems
Multiple processor systemsMultiple processor systems
Multiple processor systems
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Processes and Threads in Windows Vista
Processes and Threads in Windows VistaProcesses and Threads in Windows Vista
Processes and Threads in Windows Vista
 
Chap 4
Chap 4Chap 4
Chap 4
 
Comparison of Amoeba, Mach & Chorus: DOS
Comparison of Amoeba, Mach & Chorus: DOSComparison of Amoeba, Mach & Chorus: DOS
Comparison of Amoeba, Mach & Chorus: DOS
 
Chapter 6 os
Chapter 6 osChapter 6 os
Chapter 6 os
 
Processor Allocation (Distributed computing)
Processor Allocation (Distributed computing)Processor Allocation (Distributed computing)
Processor Allocation (Distributed computing)
 
5.distributed file systems
5.distributed file systems5.distributed file systems
5.distributed file systems
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
 
Ch03 processes
Ch03 processesCh03 processes
Ch03 processes
 
Slide05 Message Passing Architecture
Slide05 Message Passing ArchitectureSlide05 Message Passing Architecture
Slide05 Message Passing Architecture
 
16.Distributed System Structure
16.Distributed System Structure16.Distributed System Structure
16.Distributed System Structure
 

Ähnlich wie Insights on On-demand Media Streaming Progress

BitTorrent-like P2P Networks
BitTorrent-like P2P NetworksBitTorrent-like P2P Networks
BitTorrent-like P2P NetworksKshitij Agarwal
 
UNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTUNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTSudhansu Dash
 
Design and analysis of a mobile file sharing system for opportunistic networks
Design and analysis of a mobile file sharing system for opportunistic networksDesign and analysis of a mobile file sharing system for opportunistic networks
Design and analysis of a mobile file sharing system for opportunistic networkssadique_ghitm
 
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...IJCNCJournal
 
Adaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent SystemsAdaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent SystemsWaqas Tariq
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminarChirodeep Das
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems Maurvi04
 
Project_report_BitTorrent
Project_report_BitTorrentProject_report_BitTorrent
Project_report_BitTorrentSrikanth Vanama
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan variaMilan Varia
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technologyguestc67adeb
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RSanjay Ravishankar
 
OPERATING SYSTEMS PRESENTATION.pptx
OPERATING SYSTEMS PRESENTATION.pptxOPERATING SYSTEMS PRESENTATION.pptx
OPERATING SYSTEMS PRESENTATION.pptxPokormanZuda
 
Give to-get algorithm-for_p2_p_video_on_demand
Give to-get algorithm-for_p2_p_video_on_demandGive to-get algorithm-for_p2_p_video_on_demand
Give to-get algorithm-for_p2_p_video_on_demandjayanthi_2009
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocolD bipul lomga
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsMayur Kathale
 
P2P Seminar
P2P SeminarP2P Seminar
P2P SeminarCoRehab
 

Ähnlich wie Insights on On-demand Media Streaming Progress (20)

Bittorrent in a P2P social network
Bittorrent in a P2P social networkBittorrent in a P2P social network
Bittorrent in a P2P social network
 
BitTorrent-like P2P Networks
BitTorrent-like P2P NetworksBitTorrent-like P2P Networks
BitTorrent-like P2P Networks
 
UNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENTUNRAVEILING BIT-TORRENT
UNRAVEILING BIT-TORRENT
 
Design and analysis of a mobile file sharing system for opportunistic networks
Design and analysis of a mobile file sharing system for opportunistic networksDesign and analysis of a mobile file sharing system for opportunistic networks
Design and analysis of a mobile file sharing system for opportunistic networks
 
P2p cdn
P2p cdnP2p cdn
P2p cdn
 
Bit Torrent
Bit Torrent Bit Torrent
Bit Torrent
 
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...
ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND ST...
 
Adaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent SystemsAdaptive Sliding Piece Selection Window for BitTorrent Systems
Adaptive Sliding Piece Selection Window for BitTorrent Systems
 
Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems
 
Project_report_BitTorrent
Project_report_BitTorrentProject_report_BitTorrent
Project_report_BitTorrent
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan varia
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technology
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay R
 
OPERATING SYSTEMS PRESENTATION.pptx
OPERATING SYSTEMS PRESENTATION.pptxOPERATING SYSTEMS PRESENTATION.pptx
OPERATING SYSTEMS PRESENTATION.pptx
 
Give to-get algorithm-for_p2_p_video_on_demand
Give to-get algorithm-for_p2_p_video_on_demandGive to-get algorithm-for_p2_p_video_on_demand
Give to-get algorithm-for_p2_p_video_on_demand
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, details
 
P2P Seminar
P2P SeminarP2P Seminar
P2P Seminar
 
Journal Club- MPSS
Journal Club- MPSSJournal Club- MPSS
Journal Club- MPSS
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Insights on On-demand Media Streaming Progress

  • 1. Guide: Presented by: Mr. Jayakumar S. , M.E. Shonit Kichloo - 1030920061 Assistant Professor(O.G.) Sovan Kundu - 1030920063 Sumit Kumar - 1030920065 Vighnesh Krishnan - 1030920070
  • 2. …..Introduction  This paper develops analytical models that characterize the behavior of on-demand stored media content delivery using Bit Torrent-like protocols.  The models capture the effects of different piece selection policies, including Rarest-First, In-Order, and two probabilistic policies (Portion and Zipf).
  • 3. …..Explanation  Streaming media is video or audio content sent in compressed form over the Internet and played immediately, rather than being saved to the hard drive .  With streaming media, a user does not have to wait to download a file to play it. Because the media is sent in a continuous stream of data it can play as it arrives. Users can pause, rewind or fast-forward, just as they could with a downloaded file, unless the content is being streamed live.
  • 4. …..Abstract  Our models provide insight into system behaviour and help explain the sluggishness of the system with In-Order streaming.  We use the models to compare different retrieval policies across a wide range of system parameters, including peer arrival rate, upload/download bandwidth, and seed residence time.  We also provide quantitative results on the startup delays and retrieval times for streaming media delivery. Our results provide insights into the design tradeoffs for on-demand media streaming in peer-to-peer networks.  Finally, the models are validated using simulations.
  • 5. …..Terminologies  On-demand streaming: Streaming media content that is transmitted to the client upon request.  Peer-to-peer communication: A model in which each party has the same capabilities and either party can initiate a communication session.  BitTorrent : A peer-to-peer (p2p) file sharing protocol designed to reduce the bandwidth required to transfer files.
  • 6. …..Existing System  P2P networks are autonomous systems with the advantages of self-organization and self-adaptation.  On-demand streaming of stored media files differs in subtle but important ways from live media streaming.  First, live streaming typically involves only a single streaming source, whereas stored media streaming can involve many providers of content.
  • 7. …..Existing System  Second, the stored media case involves retrieving the entire media object, while the live streaming case allows peers to join at any time (i.e., mid-stream), without retrieving earlier portions of the stream.  Third, the peers in a live streaming scenario have a shared temporal content focus, while the stored media case has greater temporal diversity of requests.
  • 8. …..Disadvantages  The issue of “startup delay” differs in the two scenarios (i.e., joining an existing stream versus starting a new stream).  The stored media case is general: The retrieval rate could be slower than, faster than, or the same as the media playback rate, or even vary with time
  • 9. …..Proposed System  We develop detailed analytical models that explicitly consider piece selection policies.  The models accurately predict the transition rate of downloader’s to seeds, as well as the steady-state swarm population size and mix.  The models provide important insights into the efficiency of on-demand media streaming in P2P networks.
  • 10. …..Proposed System  The models explicitly consider the number of upload and download connections, rather than just the total network bandwidth.  This formulation provides the flexibility to model concurrent connections and consider the effect of network asymmetry on the system performance.
  • 11. …..Advantages The advantage of our models capture performance differences between various policies and configuration details (e.g., piece selection policies, upload bandwidth) and allow us to answer questions related to the efficiency and user-perceived performance of BitTorrent-like on- demand streaming protocols.
  • 13. ….System Requirements  Hardware: Intel/AMD processors RAM - 128 MB or higher Video Card – 128 MB or higher Internet connectivity  Software: OS – Windows 2000 or higher Media Player – WMP/ Video LAN Player Streaming Protocols – BitTorrent
  • 14. …..Modules  1ST PHASE DOWNLOAD PROGRESS  MODEL ASSUMPTIONS  SYSTEM EFFICIENCY  BASELINE MODEL: RAREST-FIRST  IN-ORDER PIECE SELECTION (FCFS)  2ND PHASE SEQUENTIAL PROGRESS  RANDOM PIECE SELECTION  PORTION PIECE SELECTION  ZIPF PIECE SELECTION REPLICATION
  • 15. …..Download Progress MODEL ASSUMPTIONS : In this module we construct a peer system; it acts as a both client and server process. We consider a single swarm (file) in a BitTorrent-like system with seeds and down loaders. Without loss of generality, we assume that this file is of fixed (unit) size. The target file is divided into number of pieces or packets or chunk and is encoded for playback at rate. Each peer is allowed concurrent upload connections and concurrent download connections. BASELINE MODEL: RAREST-FIRST : It gives good scalability by trying to propagate the chunks of a file to as many peers as quickly as possible. The expected rarest chunk is the latest chunk distributed by the server that is missing from all the local peers’ buffer. The main point is that the search for missing chunks starts from the latest chunk. We characterize the system behavior when downloader uses the Rarest-First piece selection policy (the default in Bit Torrent).
  • 16. …..Download Progress SYSTEM EFFICIENCY : In this model we derive the system efficiency (also called file sharing effectiveness) for the Rarest-First piece selection policy. Each peer knows which pieces are available at other peers in the system, and peers try to download the pieces they need. When a peer connects with other peers, it tries to download a needed piece that is rarest among the pool of pieces available from its neighboring peers. IN-ORDER PIECE SELECTION (FCFS) : The model presented here assumes that the uploading peers do not purge the unfulfilled requests after each round. Rather, the pending requests at a providing peer are queued until they are serviced. The request queues are serviced using First-Come–First-Serve (FCFS). In the purging model, each downloader issues download requests per round; in the queue-based model, downloader operate in a closed-loop fashion, with at most download outstanding requests at any time.
  • 17. …..Sequential Progress RANDOM PIECE SELECTION : In this module we have to implement the random piece selection policy. The analysis of sequential progress for the Random piece selection policy proceeds as follows. Assume that the file of interest has M pieces, numbered from 1 to M. The downloader retrieves one piece per unit time using a Bit Torrent-like protocol, with the pieces chosen uniformly at random. It ignores the numerical ordering of the pieces. PORTION PIECE SELECTION : This module used to get the portion of the missing packet or file or chunk at the receiver end. Our analysis considers the sequential progresses achieved after k out of M pieces have been retrieved. More specifically, we are interested in the expected sequential progress E [j|k], where is the number of useful pieces (at the start of the file).
  • 18. …..Sequential Progress ZIPF PIECE SELECTION : In this module we have to implement the Zipf piece selection policy. We again assume that the missing pieces (except the first missing piece) are uniformly distributed. This module used to get the portion of the missing packet or file or chunk at the receiver end. REPLICATION : This replication process is automatically sending the acknowledgement request to other Peer forget new file and also other Peer automatically responds to the requested Peer. The responds Peer listen the entire request from the neighbor Peers and responds to all Peers with in a second. This process automatically shares the files only the trusted Peer’s in the network.
  • 19. …..Activity Diagram Send the packet to requested peer Send File request Receive the packet and Packet Schedule Check the Missing Packet If the Packet are Missing Send Request corresponding Neighbour Peer Send Response to requested peer Merge overall packets View The File Yes Receive the file request from requested peer Send the packet schedule to requested peer Generate the packet schedule Receive the missing packet from neighbor node NO Check the Missing Packet If the Packet are missing Portion selection Process Yes NO Zipf selection Process Yes Neighbour Peer If Neighbor peer is ON Yes Activate Sub ServerNO
  • 20. …..Dataflow Diagram Peer (Client) (1….n) File Downloading using Sequential process and Download process Server Peer (Client) Send File Request Peer (Server) Select Requested Peers Maintain All Peers Info In DB Split the added file into multiple packet Generate Packet Schedule Send the packet to all requested Peers Maintain Packet Schedule Send packet Schedule Information Receive the packet And schedule information View File Level 0: Level 1:
  • 21. …..Dataflow Diagram Level 2: Peer (Client) Send File Request Peer (Server) Select Requested Peers Maintain All Peers Info In DB Split the added file into multiple packet Generate Packet Schedule Send the packet to all requested Peers Maintain Packet Schedule Send packet Schedule Information to all Requested peer Receive the packet And schedule information View File Check the missing packet Send missing packet request to corresponding neighbor peer Validate Missing Neighbours Peer Send response to requested peer Not Missing Peer node off No Yes Send the Acknowledge ment to Subserver Receive the acknowledge ment from neighbor peer Sub server Merge the over all file Apply Portion Piece selection Process Apply Zipf piece selection Process Added a new file Send the file to its sub server Activate the sub server
  • 22. …..Sample Coding private void btnBrowseFile_Click(object sender, EventArgs e) {OpenFileDialog op = new OpenFileDialog(); DialogResult dr = op.ShowDialog(); if (dr == DialogResult.OK) { op.OpenFile(); } if (op.FileName != "") { txtSourceFile.Text = op.FileName; txt_FileName.Text = op.SafeFileName; FileStream fstream = new FileStream(op.FileName, FileMode.Open, FileAccess.Read); txt_Size.Text = fstream.Length.ToString(); } } private void btn_Add_Click(object sender, EventArgs e) { CreateFileDirectory(); File.Copy(txtSourceFile.Text,Application.StartupPath + "Files" + pName + "" + txt_FileName.Text,true); int myCount = SplitCount(int.Parse(txt_Size.Text.ToString())); OriginalFileCount = myCount; SplitFile(txtSourceFile.Text, Application.StartupPath + "Split Files" + pName + "" + txt_FileName.Text + "", myCount); }
  • 23. …..Sample Coding private void CreateFileDirectory() { // Specify the directory you want to manipulate. // string path = @"c:MyDir"; path1 = Application.StartupPath + "Files" + pName + ""; try { // Determine whether the directory exists. if (Directory.Exists(path1)) { Console.WriteLine("That path exists already."); return; } // Try to create the directory. DirectoryInfo di = Directory.CreateDirectory(path1); Console.WriteLine("The directory was created successfully at {0}.", Directory.GetCreationTime(path1)); } catch (Exception e) { Console.WriteLine("The process failed: {0}", e.ToString()); } finally { } }
  • 24. …..Sample Coding Private void SplitFile(string FileInputPath, string FolderOutputPath, int OutputFiles) { // Store the file in a byte array Byte[] byteSource = System.IO.File.ReadAllBytes(FileInputPath); // Get file info FileInfo fiSource = new FileInfo(txtSourceFile.Text); // Calculate the size of each part int partSize = (int)Math.Ceiling((double)(fiSource.Length / OutputFiles)); // The offset at which to start reading from the source file int fileOffset = 0; // Stores the name of each file part string currPartPath; // The file stream that will hold each file part FileStream fsPart; // Stores the remaining byte length to write to other files int sizeRemaining = (int)fiSource.Length;
  • 25. …..Sample Coding // Loop through as many times we need to create the partial files for (int i = 0; i < OutputFiles; i++) { // Store the path of the new part currPartPath = FolderOutputPath + "" + fiSource.Name + "." + String.Format(@"{0:D4}", i) + ".part"; // A filestream for the path if (!File.Exists(currPartPath)) { fsPart = new FileStream(currPartPath, FileMode.CreateNew); sizeRemaining = (int)fiSource.Length - (i * partSize); if (sizeRemaining < partSize) { partSize = sizeRemaining; } fsPart.Write(byteSource, fileOffset, partSize); fsPart.Close(); fileOffset += partSize; } } }
  • 26. …..Sample Coding private int SplitCount(long FileSize) { int splitFileSize = 0; int FileCount = 0; int OriginalFileSize = int.Parse(FileSize.ToString()); if (FileSize < 1000000) { splitFileSize = 150000; FileCount = OriginalFileSize / splitFileSize; } else if (FileSize > 1000000 && FileSize < 5000000) { splitFileSize = 500000; FileCount = OriginalFileSize / splitFileSize; } else if (FileSize > 5000000 && FileSize < 10000000) { splitFileSize = 650000; FileCount = OriginalFileSize / splitFileSize; } else if (FileSize > 10000000) { splitFileSize = 2000000; FileCount = OriginalFileSize / splitFileSize; } return FileCount; }
  • 27. …..Results Fluid model validation results [analytic results use lines; simulation results use points, with “+” for Rarest-First, circles for In-Order (Naive), and squares for In-Order (FCFS)]. Top row: Swarm population. Bottom row: Download latency (a), (d) Effect of arrival rate. (b), (e) Effect of seed residence time. (c), (f) Effect of upload bandwidth.
  • 41. …..Future Enhancement Replication is one of the new concept we implement in this paper. Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault- tolerance, or accessibility. It could be data replication if the same data is stored on multiple storage devices or computation replication if the same computing task is executed many times. A computational task is typically replicated in space, i.e. executed on separate devices, or it could be replicated in time, if it is executed repeatedly on a single device. This replication process is automatically sending the acknowledgement request to other Peer forget new file and also other Peer automatically responds to the requested Peer.
  • 42. …..Conclusion We developed detailed analytical models to characterize the behavior of BitTorrent-like protocols for on-demand stored media streaming. Our analysis was made possible by the fundamental insight that media streaming progress (i.e., the rate at which useful pieces are obtained by a peer for media playback) is essentially the product of download progress (i.e., the rate at which pieces are successfully obtained from the P2P network) and sequential progress (i.e., the usefulness of the obtained pieces for media playback). Our models explicitly capture the effects of different piece selection policies, including Rarest-First, two variants of In-Order, andtwo probabilistic policies. Our models provide insights into the behavior of a P2P network used for on-demand streaming.
  • 43. …..References [1] S. Annapu Reddy, C. Gkantsidis, and P. Rodriguez, “Providing video-on-demand using peer-to- peer networks,” in Proc. IPTV, Edinburgh,Scotland, May 2006, pp. 238–247. [2] Y. Choe, D. Schuff, J. Dyaberi, and V. Pai, “Improving VoD server efficiencywith BitTorrent,” in Proc. ACM Multimedia, Augsburg, Germany,Sep. 2007, pp. 117–126. [3] N. Carlsson and D. Eager, “Peer-assisted on-demand streaming of stored media using BitTorrent-like protocols,” in Proc. IFIP/TC6Netw., Atlanta, GA, May 2007, pp. 570–581. [4] N. Carlsson and D. Eager, “Modeling priority-based incentive policies for peer-assisted content delivery systems,” in Proc. IFIP/TC6 Netw.,Singapore, May 2008, pp. 421–432. [5] N. Carlsson, D. Eager, and A. Mahanti, “Peer-assisted on-demand video streaming with selfish peers,” in Proc. IFIP/TC6 Netw., Aachen,Germany, May 2009, pp. 586–599.