Time Efficient Distributed File Storage and Sharing Using P2p Network in Cloud
Total Page:16
File Type:pdf, Size:1020Kb
International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015 ISSN: 2395-3470 www.ijseas.com TIME EFFICIENT DISTRIBUTED FILE STORAGE AND SHARING USING P2P NETWORK IN CLOUD Sapana Kapadnis1,Prof. Ranjana Dahake2 Department of Computer Engineering, MET BKC, Adgoan ABSTRACT services are metered such as user can be charged In cloud computing most of the application only for the resources they have. Basic reason follows client/server architecture. Basic demand behind lower cost in cloud computing is resource of cloud computing is anytime and anywhere multiplexing. Data mining, gaming and social service. Files stored at cloud can be of any type networking, scientific and engineering like multimedia files, virtual machine image files applications, computational financing as well etc. These files are large in size as compare to many data-intensive and computational activities other files. Proposed system is distributed file can be benefit from cloud computing. Various storage and sharing system which improves approaches are used in cloud computing like provisioning time, availability, scalability, speed client/server approach and P2P approach. In while eliminating various bottlenecks like jitter, client/server system centralized approach is delay etc. Logically connected nodes share many followed where P2P system is highly files having large size. For improving peers decentralized [2]. limited storage space this strategy is put forward. The problem of client/server architecture Diversity of stored can be improve with the same is studied here by using concept of distributed storage space. This system is used to improve file storage and sharing using P2P network in efficient sharing of file between peers. cloud. Peer-to-peer networking is a distributed Keywords: Cloud Computing, P2P system, application architecture which partitions tasks or Virtual Machine Files. workloads between peers. Equal privileges are provided to each peer. They are said to form a peer-to-peer network of nodes. Peers are both suppliers and consumers of resources, in contrast I. INTRODUCTION to the traditional client server model in which The last decades have reinforced the idea that the consumption and supply of resources is information processing and sharing can be done divided. Emerging collaborative P2P systems are more efficiently centrally, on large forms of going beyond the era of peers doing similar computing and storage systems accessible via things while sharing resources, and are looking the Internet. Which leads to introduction of new for diverse peers that can bring in unique technology called cloud computing. Cloud resources and capabilities to a virtual community computing is a technical and social reality and thereby empowering it to engage in greater tasks an emerging technology. Cloud computing beyond those that can be accomplished by provides various services like Software as a individual peers, yet that are beneficial to all the Service (SaaS), Platform as a Service (PaaS), peers[5]. In P2P networks, clients both provide and Infrastructure as a Service (IaaS)[1]. These and use resources. This means that unlike client- 537 International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015 ISSN: 2395-3470 www.ijseas.com server systems, the content serving capacity of broadcast time. User has given privilege to peer-to-peer networks can actually increase as watch/listen and select audio and video more users begin to access the content [4]. This whenever the required. It does not rely on property is one of the major advantages of using specific broadcast time. But it is costly because P2P networks because it makes the setup and entire load is placed on video server. Combining running costs very small for the original content this application with peer-to-peer techniques distributor. Popularity of video streaming load is shifted from single node/server to increasing day by day various strategies are used peers[4]. for video as discuss above like client/server and peer-to-peer. Same mechanism is applicable for C.GridCast multimedia files in case of client server approach In GridCast many operation on video are server provides video stream through unicast provided pause, play, and seek and it also links to client. As all load for broadcasting is at support peer sharing to improve system center server so as number of users workload on performance and scalability. It is live on server also increases which makes this approach CERNET and many videos are served by it. In unscalable [3]. high time where demand of videos is more it Here goal is to design a system which serves up to 23,000 users at a time. With single stores the file which is large in size where each video caching (SVC) GridCast can decrease load peer is contributing for serving others which on source servers by an average of 22 percent leads to reduction in prefetching delay. In this from client-server architecture. By using results system chunk of file is shared among the users of deployment of this system further improve which can be videos or virtual machine files. A peer sharing is done through caching and peer can access chunk or small prefix store at replication. But sharing is not done in efficient other peer. It reduces the workload of server. It way[5]. is distributed protocol as to store and track data. D.Peercasting II. LITERRATURE SURVEY In peercasting concept live stream is broken into small length files and these files are distributed A.Client/Server Architecture by using concept of peer-to-peer sharing[6]. This In the existing system the client/server concept of peercasting is used by BitTorrent in architecture is used where complete data is at which if any user downloads any file, which server and complete workload is on single node. belongs to swarm and may not be offline then It is costly in terms of storage and bandwidth. It other user from same swarm can download file is also not scalable with amount of users[1]. In instead of requesting to server, which is not done this architecture on server many clients are in case of GridCast[7]. present and server is provider of source and client is the one who sends request for resources. E.Bit torrent Server provides service to one or more clients. BitTorrent is used to reduce impact on server Client does not bother about working of server it and network of distributing large files. Instead of is only interested in response to the request [3] downloading file from single node multiple peers are involved which uploads and downloads B.Video-on-Demand files simultaneously. First small torrent Video-on-Demand (VoD)[5] is a application in descriptor is created by user who wants to which we can see video any time independent of upload a file. File is available through a 538 International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015 ISSN: 2395-3470 www.ijseas.com BitTorrent node which at as a seed. Those who information related to provider, fetcher. Also wants download file they can directly get keeps track related to each and every file. connected to no seed or peer and can download Handles request from fetcher save activities like file from peer[8]. announcement, role change etc. In BitTorrent and other applications data from users devise automatically get upload without permission of user[9]. But in proposed system user has privilege of announcing data at data tracker, without permission of user file from user’s storage space cannot be accessed. III. PROPOSE SYSTEM Concept of video-on-demand can be replaced by file-on-demand. Files in generalized form like multimedia server. Here it has been proposed that, announcer contains file where data is divided into chunk. In that case fetcher node request to announcer for specific chunk of file. Announcer node pushes the chunk to another node. After that any request related to that chunk Fig.1 P2P File Storage and Sharing System is forwarded provider (i.e source node or other nodes under source node). All these nodes Fetcher: Fetcher requests for metadata of totally forms cluster of interested & it keeps required file which may contain filename, file growing in proportion to the number of clients type, client id, location of provider etc. If needing it. So basic drawback of client server particular file found into database client id architecture is overcome by this architecture. related that file is retrieved and send to fetcher. Extra overhead on server is reduced by using Using client id fetcher get connects to announcer peer-to-peer technology. Each peer may perform and receives file from announcer. some task and contribute for file sharing and storage.Fig.1 shows system architecture for P2P A.SystemFlow File Storage and Sharing System. 1.Announcer creates a small announcement for As shown in fig.1 there are three components of file which he wants to distribute with other P2P system as provider, fetcher, and announcer. nodes. This announcement contains filename, Provider/Announcer: Announcer announces client id of announcer as shown in step 1 of the file name, client Id, hash value to data fig.2. tracker. If any request for that particular ip received at data tracker will send corresponding 2. Fetcher sends request for file to data tracker file as per the request in chunk form to fetcher. along with file name. Datatracker: At Data Tracker announcer 3. Data Tracker searches metadata for that file. If announce the file name, client id, hash value. any record related to that file founds data tracker Data Tracker maintain log about file and sends metadata client id of provider to fetcher. If 539 International Journal of Scientific Engineering and Applied Science (IJSEAS) - Volume-1, Issue-3, June 2015 ISSN: 2395-3470 www.ijseas.com that file is not present in database then file not found message is send to fetcher.