Design and Implementation of a JAVA Caching System
- Author
- ChenZuo
- Advisor
- WuJieYi , ZhaoJun
- School
- Southeast University
- Major
- Software Engineering
- Classification
- TP312.1 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 224
- Citations
- 2
Abstract
In today's enterprise-class applications , JAVA occupy an important position . In such applications , the three-tier architecture has become a factual technical standards . They are database transactions handled in the background , the processing operations of the intermediate layer , and means for interactive display layer . Three are involved in the collection and processing of data . Therefore, the collection and processing of data is one of the core enterprise applications , the performance of the entire system has an important role in the decision . If these data cache , it will greatly improve the system 's performance . The cache system maximum cache time - based strategies to achieve a basic cache system , and this on the basis of the system , by implementing the cache cluster -oriented aspects of the cache , as well as real-time data cache , to form a more perfect caching system .
Table of contents
Summary the <br 4-5 /> Abstract: nbsp 5-8
Chapter 1 Introduction; 8-12
the 1.1 caching system source of the subject; nbsp 9-10
1.2 caching system and its development trend 10
1.3 cache system design 10-11
1.4 organizational structure of the paper is 11 -12
underlying cache architecture 12-43
2.1 Java Virtual Machine (JVM) 13-17
2.1.1 Java Virtual Machine (JVM) Overview 13-14
the 2.1.2 JVM specification describes 14-15
2.1.3 of the JVM architecture 15-16
2.1.4 the JVM is running 16-17
2.2 cache element class structure defined 17-22
2.2.1 cache elements for the implementation of the interface 17-18 <br / > 2.2.2 cache element attribute defines 18-19
2.2.3 cache element method defined 19-22
2.3 cache object the execution of strategy nbsp 2.3.1 Interface; 22-35
Store definition nbsp the 2.3.2 memory cache (22-23
MemoryStore) structure; 23-33
2.3.2.1 Java the thread principle and 23-27
2.3.2.2 Map The data structure structure nbsp the 2.3.2.3 of memory cache MemoryStore of the 27-32
; 32-33 <br / > the 2.3.3 disk cache DiskStore structure 33-35
2.3.3.1 disk cache attribute defines 33-34
2.3.3.2 disk cache define 34-35
the 2.3.3.3 disk cache performance improvement 35
2.4 cache object removal algorithm design 35-40
2.4.1 LRU algorithm to achieve 36-37 the
algorithm implementation LFU 2.4.2 37-40
2.4.3 FIFO algorithm to achieve 40
2.5 basic caching system object serialization Fig the Chapter 40-43
distributed cache implementation mechanism 43-67
3.1 based the SOCKET distributed cache 44-51
3.1.1 The socket (Socket) Overview the <br 44-45 /> 3.1.2 TCP and UDP difference 45-46 the
the 3.1.3 Java UDP use 46-48
3.1.4 distributed cache multicast socket 48-51
3.1.5 multicast socket in the concrete realization of the cache system 51
3.2 RMI-based distributed cache 51-57
3.2.1 RMI interface and class overview 52-54
3.2.2 RMI Transmission protocol 54 -55
3.2.3 RMI distributed cache 55-57
3.3 JMS-based distributed cache 57-67
3.3.1 JMS Overview 57-60
3.3.2 JMS programming model 60-65
3.3.2.1 JMS principle and 61-64
3.3.2.2 JMS transmission of information correctness mechanism 64-65
3.3.3 JMS distributed cache the Chapter 65-67
aspect-oriented cache 67-77
4.1 AOP Overview 67-73
4.2 AOP use 73-75
4.3 AOP cache system 75 - the practical application of the Chapter 77
fifth cache system 77-84
the 5.1 caching system property settings 77-78
5.2 event listener 78 - 80
5.3 real-time and non-real-time data cache 80-82
5.3.1 database data cache technology 80-81
5.3.2 Non-real-time data cache 81-82
5.4 cache the actual use of the system; nbsp 82-83
5.5 summarizes 83-84
Acknowledgements 84-85 < br /> Reference 85-87 the
author Introduction 87
Related dissertations
- Distributed Memory File Caching System for High Performance Computing
- Research and Implementation of Distributed Persistent Caching System
- Constructing and Performance Analysis of Internet Web Caching System
- Distributed Search Engine Research and Implementation of caching system
- The Research and Optimization of Metadata Management of Distributed File System
- The Server-side Design of Voyage Distance System
- Research and Implementation of Cache System in Distributed Full-Text Searching