irm

20
IRM: Integrated File Replication and Consistency Maintenance in P2P Systems A Technical Report Seminar Presented by K.SrikanthKumar 07F81A1243 Under the guidance of Mr. Ravikumar & co-ordinator Mr.b. ramakrishna

Upload: srikanth-kumar

Post on 02-Jun-2015

1.089 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Irm

IRM: Integrated File Replication and

Consistency Maintenance in P2P SystemsA Technical Report Seminar

Presented by

K.SrikanthKumar07F81A1243

Under the guidance of Mr. Ravikumar

& co-ordinatorMr.b. ramakrishna

Page 2: Irm

Abstract In peer to peer file sharing system, file replication and consistency maintenance are widely used techniques to improve the system performance.

Because of their interdependencies between them, these two issues are typically addressed separately.

This paper presents an Integrated file Replication and consistency Maintenance mechanism (IRM) that integrates the two techniques in a systematic and harmonized manner.

File replication methods specify replica nodes and consistency maintenance method propagate update messages based on message spreading.

Thus achieves high efficiency in file replication and consistency In low cost.

Page 3: Irm

introduction A recent large-scale characterization of HTTP traffic has shown that more than 75 percent of Internet traffic is generated by P2P applications.

The traffic in peer 2 peer has increased is increased due to wide availability of audio and video data.

Page 4: Irm

What is file Replication?

File replication is an effective method to deal with the problem of overload condition due to hot files. File replication distributes loads over replica nodes to improve file query efficiency.Replica Node: Replica node is that in which Replica files (copy of original files) exists.In most current file replication methods, file owners rigidly specify replica nodes and the replica nodes passively accept replicas.

Page 5: Irm

What is consistency maintenance?

File consistency maintenance is to maintain consistency between files and its replicas. The consistency Maintenance methods are is to update files. The replica nodes may be continuously generated, deleted and fail, this leads to unsuccessful update propagation. Thus file Replication should reduce to minimize consistency maintenance.

Page 6: Irm

EXISTING APPROCHDue to interdependencies between file replication and consistency maintenance these two are addressed separately.

PROPOSED APPROCHIn proposed approach both file replication and consistency maintenance are integrated to improve the performance of the system in p2pnetworks.

Page 7: Irm

IRM: Integrated file Replication and consistency Maintenance mechanisms.

IRM: Mechanisms: IRM file replication places replicas in frequently visited nodes to guarantee high utilization of replicas, and meanwhile reduce underutilized replicas. Replica is created using query initiating rate and query passing rate. IRM consistency maintenance in turn aims to guarantee file fidelity of consistency at a low cost with file replication dynamism consideration. Using adaptive polling, IRM ensures timely update operations and avoids unnecessary updates.

Page 8: Irm

IRM file replication and consistency maintenance diagram

Page 9: Irm

Adaptive File ReplicationThe replication algorithm achieves an optimized trade-off between query efficiency and overhead in file replication.we introduce IRM’s file replication component by addressing two main problems in file replication:

1. Where to replicate files?2. How to remove underutilized file replicas ?

Page 10: Irm

Replica Nodes Determination:Based on traffic load performance IRM replicates a file in nodes that have been very interested in the file or routing nodes that have been carrying more query traffic of the file. Replica Creation:We define a requester’s query initiating rate for file f, denoted by qf , as the number of queries for f sent by the requester during a unit time, say one second.We define a node’s query passing rate of file f, denoted by lf , as the number of queries for file f received and forwarded by the node during a unit time.Replica Adaptation:IRM lets each replica node periodically update their query passing rate or query initiating rate of a file. If the rates are below their thresholds, the node removes the replica

Page 11: Irm

File Consistency MaintenanceIRM employs adaptive polling for file consistency maintenance to cater to file replication dynamism.A poll approach puts the burden of consistency maintenance on individual nodes.

IRM addresses two main issues in consistency maintenance:

1. How to determine the frequency that a replica node probe a file owner in order to guarantee timely file update? 2. How to reduce the number of polling operations to save cost?

Page 12: Irm

Polling Frequency Determination:In case of file’s maximum update rate file replica can ensure that a replica is never outdated by more than t seconds by polling the owner every t seconds.

IRM associates a time-to-refresh (TTR) value with each replica.The value is increased by an additive amount if the file doesn’t change between successive polls

TTR=TTRold+αIn the event the file is updated since the last poll, the TTR value is reduced by a multiplicative factor:

TTR=TTRold/ß

Page 13: Irm

Poll Reduction:

In addition to the file change rate, file query rate is also a main factor to consider in consistency maintenance.

Page 14: Irm

Comparative Discussion of IRM File replication helps to minimize the number of

replicas in order to minimize the overhead of consistency maintenance.

Consistency maintenance helps to guarantee the fidelity of consistency among replicas in file replication dynamism.

This harmonized integration helps IRM achieve high efficiency and effectiveness in both file replication and consistency maintenance.

Page 15: Irm

The Impact of File Replication on Consistency Maintenance

There are several traditional file replication methods that could generate more replicas due to variety of reasons

IRM minimizes the number of replicas while maintaining high efficiency and effectiveness of file replication

Page 16: Irm

The Impact of File Replication onConsistency Maintenance

In p2p their will be dynamism for nodes.The structure may not be able to recover.In IRM, a replica node pool the file server for update without the need of construct and maintain the structureUnlike the previous consistency maintenance methods, which aim to update replicas soon after the original file is updated.

Page 17: Irm

PERFORMANCE EVALUATIONExperimental results show that IRM file

replication algorithm is highly effective in reducing file query latency.IRM file consistency maintenance provide guarantee of file fidelity.

Table: Simulated Environment and Algorithm Parameters

Page 18: Irm

conclusion

This paper proposes an IRM that achieves high efficiency at a significantly lower cost. Instead of passively accepting replicas and updates, nodes autonomously determine the need for file replication and validation based on file query rate and update rate.IRM reduces redundant file replicas, consistency maintenance overhead, and unnecessary file updates.

Page 19: Irm

Future Enhancement

We find that IRM relying on polling file owners still cannot guarantee that all file requesters receive up-to-date files, although its performance is better than other consistency maintenance algorithms. We plan to further study and explore adaptive polling methods to fully exploit file popularity and update rate for efficient and effective replica consistency maintenance

Page 20: Irm