Font Size: a A A

Design And Implementation Of A Distributed Web System

Posted on:2008-10-11Degree:MasterType:Thesis
Country:ChinaCandidate:C J XieFull Text:PDF
GTID:2208360215950012Subject:Computer system architecture
Abstract/Summary:
With the development of the Internet and the emergence of multimedia, nowadays, networks are full of large size files. How to store and distribute massive data with efficiency is one of the challenges of the Internet. So a high-performance distributed system is badly in need of. Meanwhile, a high-performance, scalable and robust supporting Web System to enhance user experience is also required.This thesis firstly introduces PPCDN(Peer-to-Peer Content Delivery Network), which utilizes Peer-to-Peer technology to distribute content of the Internet. It then examines existing Web Architecture. Since analysis finds out that the current Web Architecture isn't sufficient to satisfy the performance requirement of PPCDN, this thesis proposes a distributed Web architecture, which makes itself to be high-performance and scalable. The content is distributed in DHT Overlay. Business logics are implemented by Application Server. FastCGI technology is used to implement dynamic web pages, compared with other technologies, such as CGI, etc, FastCGI greatly improves the speed of requests processing. All of these provide the foundation of handling high concurrency requests, and make it easy to implement distributed computing.Moreover, this thesis designs a Linux-based, Asynchronous and Staged Event-Driven Model, called ASEDM, after analyzing and comparing traditional network service model. On one hand, ASEDM utilizes the new properties of Linux2.6, integrates event-driven and thread technology, makes use of reasonable granularity and resources dynamic adjustment to meet the concurrency and load conditioning demands of busy network services. On the other hand, ASEDM enables the complex network service easy to implement.In addition, this thesis designs and implements Web Server and Application Server on ASEDM, termed StedServer and PortalServer respectively. DHT Overlay makes use of Chord and OpenDHT as a reference to provide DHT service for Portal Server. Finally, a performance test of the web system verifies performance advantages.
Keywords/Search Tags:Web Architecture, DHT, Stage, Event-Driven, Asynchronous I/O, FastCGI
Related items