Using P2P to construct REST service with high availability and load balance

碩士 === 國立高雄應用科技大學 === 資訊管理研究所碩士班 === 101 === In recent years, RESTful web service becomes popular. REST is a software architecture style, and it provides a simple, scalable, high-performance guideline in the complex network service environment. There are many famous web services with the REST design...

Full description

Bibliographic Details
Main Authors: Chia-Ming Hsu, 許家銘
Other Authors: Jen-Wen Ding
Format: Others
Language:zh-TW
Published: 2013
Online Access:http://ndltd.ncl.edu.tw/handle/98442518424170249105
Description
Summary:碩士 === 國立高雄應用科技大學 === 資訊管理研究所碩士班 === 101 === In recent years, RESTful web service becomes popular. REST is a software architecture style, and it provides a simple, scalable, high-performance guideline in the complex network service environment. There are many famous web services with the REST design philosophy, such as Amazon AWS, Facebook, Yahoo, and Google Web Service and so on. Web service’s resources are identified and linked through URI (Uniform Resource Identifier). Therefore, the integrity of data on the server and the resource load balancing becomes very important. In this paper, we apply P2P technology to access the resources on the server, with RDF (Resource Description Framework) as a reference and the triple stored though the hash function’s result. Each triple is divided into subject, predicate, and object to be stored in three different nodes. In addition, with respect to query operations, this paper proposes a bidirectional query mode, in which the query response will be faster when peer receive requests. We apply P2P technology to access the resources on the server have two benefits: (1) in the traditional mode, resource access will miss when the server failure. But in P2P architecture, the single node failure can be recovered through other nodes in order to achieve high availability. (2) P2P is using hash function to achieve load balance.