| With the widely use in society living of computer network,distributed applications become mainstream gradually。Because of its inherent shortcomings,traditional centralized server system limits the development of network service to multi-aspect more and more,people alse turn to use distributed server system slowly。Using distributed system has many advantages,such as sharing resource,improving system reliability and reducing business cost。In order to meeting the need of distributed and parellel server system,which has high performance,high scalability and with a reasonable price,we have developed a distributed and parellel filesystem based Linux kernel,named DPFS。DPFS is server-oriented,on which we can build a distributed and parelled server system,VOD server system is just a typical example。In the first part of this thesis,we firstly discuss some design issues in distributed filesystem and then introduce Linux Virtual Filesystem briefly,lastly describe the framework of DPFS。In the second part,we describe the the implement of LKCC and net mutual exclusion,including the design of communication interface layer,communication event mechanism,session mechanism and RWME algorithm。LKCC,a Linux Kernel Concurrent Communication mechanism,uses Object Transfer Protocol and session mechanism to send and receive data。In order to improving system processing capability,LKCC uses dynamic thread-pool technology to response client requests。RWME is a distributed mutual exclusion algorithm based on read-write character。By using the algorithm,some systems,in which most data access is read-only,can greatly reduce latency of concurrent control and amount of message。... |