A Novel Load Balancing Optimization Algorithm Based on Peer-to-Peer



Similar documents
International Journal of Advanced Research in Computer Science and Software Engineering

A Load Balancing Algorithm based on the Variation Trend of Entropy in Homogeneous Cluster

Dynamic Adaptive Feedback of Load Balancing Strategy

An Optimization Model of Load Balancing in P2P SIP Architecture

Figure 1. The cloud scales: Amazon EC2 growth [2].

A Method of Cloud Resource Load Balancing Scheduling Based on Improved Adaptive Genetic Algorithm

Internet Video Streaming and Cloud-based Multimedia Applications. Outline

A Load Balancing Model Based on Cloud Partitioning for the Public Cloud

2. Research and Development on the Autonomic Operation. Control Infrastructure Technologies in the Cloud Computing Environment

LOAD BALANCING AS A STRATEGY LEARNING TASK

A Load Balancing Method in SiCo Hierarchical DHT-based P2P Network

@IJMTER-2015, All rights Reserved 355

Public Cloud Partition Balancing and the Game Theory

How To Balance A Web Server With Remaining Capacity

The International Journal Of Science & Technoledge (ISSN X)

Measurement of V2oIP over Wide Area Network between Countries Using Soft Phone and USB Phone

Client-controlled QoS Management in Networked Virtual Environments

Intelligent Content Delivery Network (CDN) The New Generation of High-Quality Network

Cloud Based E-Learning Platform Using Dynamic Chunk Size

Ant-based Load Balancing Algorithm in Structured P2P Systems

International Journal of Computer & Organization Trends Volume21 Number1 June 2015 A Study on Load Balancing in Cloud Computing

A Comparative Study of Tree-based and Mesh-based Overlay P2P Media Streaming

Load Balancing Algorithms for Peer to Peer and Client Server Distributed Environments

The Load Balancing Strategy to Improve the Efficiency in the Public Cloud Environment

An Efficient Load Balancing Technology in CDN

Keywords Load balancing, Dispatcher, Distributed Cluster Server, Static Load balancing, Dynamic Load balancing.

A Novel Way of Deduplication Approach for Cloud Backup Services Using Block Index Caching Technique

Comparison of PBRR Scheduling Algorithm with Round Robin and Heuristic Priority Scheduling Algorithm in Virtual Cloud Environment

A Proxy-based Architecture for Multimedia Transmission

An Approach to Load Balancing In Cloud Computing

Sla Aware Load Balancing Algorithm Using Join-Idle Queue for Virtual Machines in Cloud Computing

AN INITIAL PEER CONFIGURATION ALGORITHM

Object Request Reduction in Home Nodes and Load Balancing of Object Request in Hybrid Decentralized Web Caching

CLOUDDMSS: CLOUD-BASED DISTRIBUTED MULTIMEDIA STREAMING SERVICE SYSTEM FOR HETEROGENEOUS DEVICES

A Game Theoretic Approach for Cloud Computing Infrastructure to Improve the Performance

LOAD BALANCING STRATEGY BASED ON CLOUD PARTITIONING CONCEPT

Proxy-Assisted Periodic Broadcast for Video Streaming with Multiple Servers

IMPACT OF DISTRIBUTED SYSTEMS IN MANAGING CLOUD APPLICATION

Modeling and Simulation of Queuing Scheduling Disciplines on Packet Delivery for Next Generation Internet Streaming Applications

2 Prof, Dept of CSE, Institute of Aeronautical Engineering, Hyderabad, Andhrapradesh, India,

The QoS of the Edge Router based on DiffServ

Self-Compressive Approach for Distributed System Monitoring

Statistics Analysis for Cloud Partitioning using Load Balancing Model in Public Cloud

Keywords Distributed Computing, On Demand Resources, Cloud Computing, Virtualization, Server Consolidation, Load Balancing

Optimizing Congestion in Peer-to-Peer File Sharing Based on Network Coding

Cloud Partitioning of Load Balancing Using Round Robin Model

A Comparative Study of Load Balancing Algorithms in Cloud Computing

Comparative Analysis of Congestion Control Algorithms Using ns-2

A Content-based Dynamic Load-Balancing Algorithm for Heterogeneous Web Server Cluster

AN ADAPTIVE DISTRIBUTED LOAD BALANCING TECHNIQUE FOR CLOUD COMPUTING

An Optimized Load-balancing Scheduling Method Based on the WLC Algorithm for Cloud Data Centers

Research on Errors of Utilized Bandwidth Measured by NetFlow

A Novel Switch Mechanism for Load Balancing in Public Cloud

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November ISSN

A Survey on Load Balancing Techniques Using ACO Algorithm

The Key Technology Research of Virtual Laboratory based On Cloud Computing Ling Zhang

Load Balancing in Fault Tolerant Video Server

Performance Comparison of Server Load Distribution with FTP and HTTP

Effective Load Balancing Based on Cloud Partitioning for the Public Cloud

Big Data Storage Architecture Design in Cloud Computing

AN EFFICIENT LOAD BALANCING APPROACH IN CLOUD SERVER USING ANT COLONY OPTIMIZATION

Two Dimensional Array Based Overlay Network for Balancing Load of Peer-to-Peer Live Video Streaming

A SURVEY ON LOAD BALANCING ALGORITHMS FOR CLOUD COMPUTING

Group Based Load Balancing Algorithm in Cloud Computing Virtualization

Implementation of Video Voice over IP in Local Area Network Campus Environment

Efficient load balancing system in SIP Servers ABSTRACT:

Benchmarking the Performance of XenDesktop Virtual DeskTop Infrastructure (VDI) Platform

Realtime Multi-party Video Conferencing Service over Information Centric Networks

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

Fuzzy Active Queue Management for Assured Forwarding Traffic in Differentiated Services Network

VoIP Network Dimensioning using Delay and Loss Bounds for Voice and Data Applications

Performance analysis and comparison of virtualization protocols, RDP and PCoIP

Towards a Load Balancing in a Three-level Cloud Computing Network

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Load Balancing Algorithm Based on Services

Efficient Parallel Processing on Public Cloud Servers Using Load Balancing

A Topology-Aware Relay Lookup Scheme for P2P VoIP System

Study on Redundant Strategies in Peer to Peer Cloud Storage Systems

An Architecture Model of Sensor Information System Based on Cloud Computing

1. Comments on reviews a. Need to avoid just summarizing web page asks you for:

Research on P2P-SIP based VoIP system enhanced by UPnP technology

ABSTRACT. KEYWORDS: Cloud Computing, Load Balancing, Scheduling Algorithms, FCFS, Group-Based Scheduling Algorithm

Monitoring Performances of Quality of Service in Cloud with System of Systems

A Network Simulation Experiment of WAN Based on OPNET

AUTOMATED AND ADAPTIVE DOWNLOAD SERVICE USING P2P APPROACH IN CLOUD

Impact of Control Theory on QoS Adaptation in Distributed Middleware Systems

Using UDP Packets to Detect P2P File Sharing

A COGNITIVE NETWORK BASED ADAPTIVE LOAD BALANCING ALGORITHM FOR EMERGING TECHNOLOGY APPLICATIONS *

5 Performance Management for Web Services. Rolf Stadler School of Electrical Engineering KTH Royal Institute of Technology.

CLOUD COMPUTING PARTITIONING ALGORITHM AND LOAD BALANCING ALGORITHM

Implementation of P2P Reputation Management Using Distributed Identities and Decentralized Recommendation Chains

Transcription:

A Novel Load Balancing Optimization Algorithm Based on Peer-to-Peer Technology in Streaming Media College of Computer Science, South-Central University for Nationalities, Wuhan 430074, China shuwanneng@yahoo.com.cn Abstract Streaming media technology has brought a great revolution in human production, life style and the ways of work. How to alleviate effectively workload of media streaming server and assign reasonably resources among different media segments becomes one of primary research. We proposed a new load balancing scheduling algorithm based on Peer-to-Peer technology in streaming media. Simulation results show that the proposed algorithm can assign media streaming servers resources effectively and effectively increase the utilization percentage of the system resources. 1. Introduction Keywords: Streaming Media, Load Balancing, Peer-To-Peer, Dynamic Weight With the development of the Internet, computer and streaming media technology, the application and the research of streaming media services are developed rapidly. It has brought a great revolution in human production life style and the ways of work [1, 2].It is the outcome results from computer technology, network communication, multimedia technology and video compress etc. Streaming media is video or audio content sent in compressed form over the Internet and played immediately. Media is usually streamed from prerecorded files but can also be distributed as part of a live broadcast feed. In a live broadcast, the video signal is converted into a compressed digital signal and transmitted from a Web server as multicast, sending a single file to multiple users at the same time. How to alleviate effectively workload of media streaming server and assign reasonably resources among different media segments becomes one of primary research. P2P (Peer-to-Peer, P2P) technology appears to provide a better technical support and run programs for the realization of Internet-based streaming media applications [3]. Object distribution based on P2P technology and positioning model programs makes any object of any one node can access the Internet on the other nodes [4]. By all nodes in the logical structure of the dynamic tree node can independently enter or leave the tree logical structure, and have the ability to independently bear certain storage load and the computational load, which can effectively avoid a small number of computer overload operation other parts of the computer long-term idle happen. P2P technology allows each network node to join the current application full access to the server streaming system to provide services at the same time, provide certain services to other nodes in the network [5]. Figure 1 is the streaming media System architecture based on P2P technology. In recent years, the streaming media business has developed rapidly, notable features in the video business is the high-traffic, high bandwidth, high resource consumption, so the natural load balancing also became the core of the network system design focus to consider the problem[6,7]. Streaming technologies are becoming increasingly important with the growth of the Internet because most users do not have fast enough access to download large multimedia files quickly [8]. With streaming, the client browser or plug-in can start displaying the data before the entire file has been transmitted. Load balancing is based on existing network infrastructure to take full advantage of the bandwidth of network devices and servers for the purpose to increase the network throughput, to strengthen the data processing capability, increase network flexibility and availability to address the network supply and business demand. The contradiction between a cheap, effective and transparent method. Journal of Convergence Information Technology(JCIT) Volume 7, Number 21, Nov 2012 doi : 10.4156/jcit.vol7.issue21.24 189

Figure 1. Streaming media System architecture based on P2P technology The remaining of this paper is organized as follows: The traditional load balancing scheduling algorithm is introduced in Section2.The proposed algorithm is presented in Section 3. In Section 4, describes simulation and analysis of results, followed by the conclusions in Section 5. 2. Load balancing scheduling algorithm Streaming media technologies have improved significantly since the 1990s, when delivery was typically uneven. However, the quality of streamed content is still dependent upon the user's connection speed. The role of load balancing is a reasonable allocation of resources to alleviate these resource bottlenecks, improve the resource utilization of the media server [9, 10]. Figure2. is the load balancer physical structure. Load balancing to build above the existing network structure, it provides a cheap and effective and transparent method extends the bandwidth of network devices and servers to increase throughput, enhance network data processing capability, increase network flexibility and availability[11]. The purpose of load balancing scheduling algorithm is to assign user requests assigned to the appropriate server in order to achieve a reasonable and efficient use of system resources, ensure quality of service, and give full play to the purpose of system performance [12]. The traditional load balancing algorithm is generally including the following: Figure 2. Load balancer physical structure 190

Round robin (RR), also known as the circular method. Balanced scheduler client requests to sequence in turn assigned to each service node in the cluster [13]. The algorithm assumes that all server processing performance are the same, regardless of the server's current number of connections and speed of response. The algorithm is simple, suitable for each node in the cluster system configuration are the same situation, but not for the inconsistent performance of processing. Weighted round robin () is the improvement of the round robin algorithm. The balanced scheduler load distribution of different processing capability of the service node, this algorithm can be rough to ensure that the processing capability of the service node is able to handle more client access [14]. The balanced scheduler by giving the node service processing capability empowers the value of the service node and adjusts the weights. Round-robin algorithm can be regarded as a special case of the weighted round-robin algorithm, namely the weights of each node is the same. Using the weighted round-robin will still load balanced during operation, because of the large number of requests may be directed to a service node. The weighted round robin scheduling algorithm is an improved method of ; it can solve the performance different between server performances, server processing performance with the corresponding weights. Rotation weighted round robin scheduling is allocated by way of the right level of value and round robin scheduling server. Weights server to receive the connection weights server than the right child low boil server to handle more users and weights exposed the servers to handle the same number of users. Weighted least active connections () is the number of active connections currently connected to the service node to get the ranking of the service node, combined with the service node hardware performance data to different service nodes in the system services structure, "the number of active connections" mainly refers to the collection of active TCP connections[15]. Locality-based least connections (LLC) scheduling algorithm is based on the locality of the least connection (destination IP address for the load balancing for cache cluster system [16]. The algorithm based on the request destination IP address to identify the destination IP service node, if available and not overloaded, then the service request sent to this node; service node does not exist, or the state of overloading and the server is half of the working state, at least connected to the principle of playing to elect the available servers, and this request is sent to the server. Destination the hashing scheduling (DHS) algorithm is also the destination IP address load balancing, but it is a static mapping algorithm, a hash function will be a target IP address is mapped to a server [17]. First destination address hashing scheduling algorithm based on the request destination IP address as a hash key from a statically assigned hash table to find the corresponding server, the server is available and not overloaded, sends a request to the server otherwise, returns null. Traditional load balancing the advantages of server selection algorithm are versatile, relatively easy, can play a role in load balancing to a certain extent. But the drawback is obvious. For example, the rotation algorithm when processing service is not the same length of service is running for some time, server clusters can not maintain a balanced operating status. The algorithm of the minimum number of links can keep the balance of the server cluster in the number of connections, but the various service teams of server resources consumption is different, the minimum number of links can not make the system to achieve load balancing. 3. Novel P2P load balancing algorithm In this section, we proposed a Novel Load Balancing Scheduling Algorithm (). In the following design algorithm model, we do not consider a peer to join and leave; not account for download; transmission rate is relatively stable. S { s Definition 1. Assume that 1, s2,..., s n } represents a P2P streaming media system. System n ( ) n i I/O requests is Poisson distribution i 1, the whole system can be seen as queue queuing system M / M /1. Based on current usage of each P2P node to optimize the load in order to achieve the full purpose of the resources of the P2P nodes. Parameters calculated according to the node running all aspects of the dynamic weights, adaptive load balancing algorithm based on the size of the dynamic weight load balancing network traffic. The purpose of dynamic weight is necessary to correctly reflect the status of 191

the node load to predict the node may load changes. Periodically from each node to collect the cpu( s )% following parameters: Usage rate of CPU is i ts ( ),Current Network Flow is i,access rate of io( s )% the Disk I/O is i rt( s ),Response Time is i,processing amount is pr( s i ). Definition 2. The dynamic weight of node s i can be described as follows: Load( s ) cpu( s )% t( s ) io( s )% rt( s ) pr( s ) i 1 i 2 i 3 i 4 i 5 i i 1 In which,.the purpose of dynamic weight is necessary to correctly reflect the status of the node load to predict the node may load changes. For different types of system applications, the importance of each parameter is different. For the convenience of the system is running in the proportion of the various parameters for different applications to make proper adjustments, we set a constant coefficient for each parameter i, S Server node every certain period of time to load information collection, the server i,can get the C counter value i1 and Ci2 the calculation time T1 and T2 the server si in the time T2 T1 interval N receive new connections i Ci2 Ci 1 R. According to the node connections prediction task i will INC( R ) give the service node to increase the load i, and gives the following formula: INC( R ) Definition 3. The increased load weight i between the time T1 and T 2. (1) Load( si ) INC( Ri ) C C i2 i1 (2) New _ Load( s ) Load( s ) INC( R ) (3) i i i P2P streaming systems, server processing capacity of each node is set to Load(, i k) dynamic load of each server node for the: k 1. Definition 4. The overall system load balancing performance index n Max _ Load,which the n j 1 ( Max _ Load New _ Load( s )) i (4) The smaller the said the better load balancing performance of the system as a whole. 4. Experimental testing and results analysis In this section, the goals of this evaluation are to measure the performance of our proposed algorithm. We use the simulation tool which is called.net Framework 1.1 under Microsoft Visual Studio.Net 2003 environment. We will design the algorithm, and. Fig.3 shows the average response delay of the three algorithms increased with the program number changes, as described in Fig.4 is the average completion time of three algorithms increase with the program number changes, Fig.5 shows the three algorithms load balancing increase with the program number 192

changes. Fig.6 shows the number of link programs increase with the time. Fig.7 shows the load balancing degree increase with the time change. We can see from Figs.3-4, average response delay and the average completion time of the algorithm is the smallest, and with the gradual increase in the number of programs, show that the algorithm has good scalability. We can see from Figs.5-7, the performance of is the most stable, while the algorithm and algorithm is highly volatile, that stability of the algorithm is better. From the above experiments, we can conclude that a good solution to the problem of load balancing, with good scalability. Access users continue to increase, the average rate of the server upload will no longer increase a threshold is reached, and it can solve network bandwidth of the data source. A valid connection can be established between the Peer, the formation of a stable streaming media distribution network, the playback of Internet video streaming. 350 300 Average response delay /ms 250 200 150 100 50 0 50 100 150 The number of programs Figure 3. Compare three algorithms with average response delay 550 500 450 Average complete time /s 400 350 300 250 200 150 0 50 100 150 The number of programs Figure 4. Compare three algorithms with average complete time 193

25 20 Load balancing degree 15 10 5 0 0 50 100 150 The number of programs Figure 5. Compare three algorithms with load balancing degree 500 450 400 The number of link programs 350 300 250 200 150 100 50 0 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Time /ms Figure 6. Compare three algorithms with number of link programs 18 16 14 Load balancing degree 12 10 8 6 4 2 0 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 Time /ms Figure 7. Load balancing degree increase with the time change 194

5. Conclusions Streaming media is transmitted by a server application and received and displayed in real-time by a client application called a media player. In this paper, cluster technology, streaming media technology, load-balanced scheduling algorithm theory and technology, streaming media services cluster load balancing algorithm has made a comprehensive and in-depth analysis. We proposed a new load balancing algorithm based on Peer-to-Peer technology in streaming media, called algorithm. Simulation results show that the proposed algorithm can assign media streaming servers resources effectively and effectively increase the utilization percentage of the system resources. 6. Acknowledgments This research work was supported by National Natural Science Foundation of China (Grant No. 60975050 and 60902053).The Project was supported by the Special Fund for Basic Scientific Research of Central Colleges, South-Central University for Nationalities (Grant No. CZY11005 and CZQ12005), the Natural Science Foundation of South-Central University for Nationalities (Grant No. YZY10004). The authors gratefully acknowledge the helpful comments and suggestions of the reviewers, which have improved the presentation. 7. References [1] Sinha,Sukanta, "Improve search efficiency by changing web-page storage structure for domain specific search, JCIT: Journal of Convergence Information Technology, vol.7, no.6, pp.72-77,2012. [2] Bardsiri, Amid Khatibi,"A new heuristic approach based on load balancing for grid scheduling problem", JCIT: Journal of Convergence Information Technology, vol.7, no.1, pp.329-336, 2012. [3] Amid Khatibi Bardsiri, Marjan Kuchaki Rafsanjani, "A New Heuristic Approach Based on Load Balancing for Grid Scheduling Problem", JCIT: Journal of Convergence Information Technology, vol. 7, no. 1, pp. 329-336,2012. [4] Mi Wei,"Ant-based load balancing algorithm in structured P2P systems", JCIT: Journal of Convergence Information Technology, vol.7, no.6, pp.332-340, 2012. [5] Duc A. Tra,Kien A,"A Peer-to-Peer Architecture for Media Streaming", IEEE Journal on Selected Areas in Communications, vol.22, no.1, pp.121-133,2004. [6] B.J.Kim, z.xiong, and w A.Pearhnan, "Low bit-rate scalable video coding with 3D set partitioning in hierarchical trees(3d SPIHD",IEEE Trans.Circuits System Video Technology, vol.10, no.3, pp.1374-1387, 2000. [7] Tran D. A., Hua K. A., Do T. T,"A Peer-to-Peer Architecture for Media Streaming", IEEE Journal on Selected Areas in Communications,vol.22, no.1, pp.121-133,2004. [8] Liu Xiaoxia, "A Grid Scheduling Model with Competitive Negotiation", IJACT: International Journal of Advancements in Computing Technology, vol. 3, no. 9, pp.173-180, 2011. [9] F. Wu, S.Li,and Y Q.Zhang, "A framework for efficient progressive fine granularity scalable video coding", IEEE Trans. Circuits System Video Technology, vol.11, no.7, pp. 282-300,2001. [10] CHU YH,RAO S G SESHAN S,ZHANG H, "Enabling conferencing applications on the internet using an overlay multicast architecture", ACM SIGCOMM Computer Communication Review, vol.31, no.4, pp.55-67,2001. [11] Meng Zhang, Li Zhao, Yun Tang, et al, "Large-Scale Live Media Streaming over Peer-to- Peer Networks through Global Internet", In: Proceedings of the ACM Workshop on Advances in Peerto-Peer Multimedia Streaming, pp.21-28, 2005. [12] HU Jin-zhu,Xu Song, "Dynamic Feedback Adjustment Adaptive Algorithm of Load Balancing in the Distributed System", MINI-MACRO SYSTEMS, vol.24, no.8, pp.1510-1515,2003. 195

[13] Eng Keong Lua, Jon CrowcroR,Marcelo Pias,Ravi Sharma,Steven Lim, "A Survey and Comparison of Peer-to-Peer Overlay Network Schemes", Communications Surveys&Tutorials, vol.12, no.6, pp.72-93, 2005. [14] Xue Guangtao,You Jinyuan,He Xiaojian, "A stable group model based on mobile peer-to-peer",. Journal of Computer Research and Development, vol.40, no.12, pp.1801-1805,2003. [15] Yang Guo,Kyoungwon sub,jim Kurose and Don Towsley, "A Peer-to-Peer On-Demand Streaming Service and Its Performance Evaluation", In Proceeding of the IEEE ICME, pp.378-385,2003. [16] Kien A. Hua, Duc A. Tran, Roy Villafane,"Overlay multicast for video on demand on the Internet",In: Proceedings of the 2003 ACM symposium on Applied computing, pp.935-942,2003. [17] Grosu D., Chronopoulos A. T,"A Truthful Mechanism for Fair Load Balancing in Distributed Systems", Proceedings of the Second IEEE International Symposium on Network Computing and Applications (NCA 03), pp.289-296,2003. 196