Optimizing and Enhancing Performance of MVC Architecture Based On Data Clustering Technique
Optimizing and Enhancing Performance of MVC Architecture Based On Data Clustering Technique
ABSTRACT logic, user interface and control logic. The MVC pattern is
The frequent use of web based application plays a vital role in more flexible, scalable and improves maintainability and
our everyday life. MVC (Model View Controller) architecture reusability of the application
is used as programmed architectural pattern in order to Smalltalk programming language is implemented for MVC
implement user interfaces. Application software developers (Model View Controller) architecture. The system is
utilize MVC (Model View Controller) Architecture for separated by three components: Model expressing domain
developing web based application. The sizes of databases are knowledge, view representing user interface, control that is
increasing day by day in relation with time. Therefore, if we used to manage the updates to views. MVC has already
take into account the concept of huge centralized database shown its advantages for interactive applications. It allows
systems, it has become one of the most challenging criterions multiple representation of the same information, encouraging
for accessing data in acceptable time. Basically, in centralized code utilization, and helping developers to pay attention on a
databases, the records can be classified into two categories specific application feature [2].
considering the access frequency of data. Those records that
are being accessed frequently are known as Level 1 data, on MVC has demonstrated its benefits for interactive
the contrary, those accessed in lesser frequency is considered applications allowing multiple representations of the same
as Level 2 Data. In this paper, we will try to enhance and information, promoting the code reutilization, and helping
optimize the performance of MVC architecture based on two developers to concentrate on a single application aspect [7].
parameters namely response time and throughput. The The layers of MVC architecture has been planned to develop
response time and throughput is improved based on the web applications specifically throughput and response time.
proposed database search algorithm using B+ tree. If the All of these prototypes have different benefits. In this paper,
database search engine is idle, the database search engine will the focus will be shifted to improve the accuracy of
look forward to discover whether the intended data is in level throughput and response time.
1, otherwise it will search for level 2 data. The level 2 data
will be included as level 1 data inside the database or vice
versa, for insertion and update operation. However, whether
the data is level 1 or level 2 data will be depended upon user
choice. Thus, the overall response time as well as throughput
will be optimally increased.
Keywords
MVC, Large Database, Database Engine, Access Frequency,
Level 1 Data, Level 2 Data.
1. INTRODUCTION
It has been a pretty long time since Relational Database
management System (RDBMS) is serving as huge data
storage [1]. Each and every year, our newest technology has
been improving the collection, storage, and transfer of data at
a very low cost.
Figure 1: Existing MVC architecture
The model view controller (MVC) is a three different tier
architecture design pattern for the dissociation Data Access
42
International Journal of Computer Applications (0975 – 8887)
Volume 134 – No.12, January 2016
Table 1: Data access frequency on Level 1 & Level 2 data based on application area.
Frame
(Days)
Time
Application Fields
INSERT UPDATE QUERY INSERT UPDATE QUERY
The percentage of total access on Level 1 data can be Adeyinka A. at. al. [4] developed a program incorporates an
calculated by the following formula: interactive map which responds to origin and destination
selection, by analyzing the relative positions of both locations
N
OL1DT 1 / N ( IOi UOi QOi ) / 3
and creating real-time routes on the road network to display to
the user the required path from the origin to the destination
i 1 and the approximate distance/time required. System design is
based on the ModelView-Controller (MVC) design pattern,
Where OL1DT is total operation on Level 1 data, and IO, and the application has been developed using Adobe Flash
UO and QO is the insert, update and query operation on Level CS3 (with ActionScript).
1 data respectively. And N is the number of applications area.
Iqbal H. et. al. [5] designed and implemented a Java MVC
Similarly total operation on Level 2 data can be calculated by framework for developing desktop based application which
the following formula: can separate the data, view and control of the software. This
application however overcomes the drawbacks of the current
N
OL2 DT 1 / N ( IOi UOi QOi ) / 3
application which is existing Java organizes without a
structure, which mixes the code of data access, the processing
i 1 of business logic and graphical user interface (GUI) layer
together. As a result the current application creates many
OL2DT is total operation on Level 2 data. problems for software developers, meanwhile; it could not
meet the rapid development of application software any more.
2. RELATED WORK The new application can help in developing programs.
M. U. Khan at. al. [1] has investigated the design patterns that
Patrick L. at. al. [6] presents a combination of the Model-
can improve performance of web applications. They have
View-Controller pattern with the Evolutionary Acquisition
proposed a new architectural pattern comprising design
Interdisciplinary Research Project Management for web
patters called XWADF for highly scalable and interactive web
services development. The intention is to promote an increase
application development. The design explores possibilities to
in productivity and to facilitate interdisciplinary web services
leverage the performance of web applications through the
evolution. This consists of an independent database for users’
appropriate use of various design patterns within confines of
feedback that together with technological opportunities and
Model View Controller (MVC).
evolving threats considerations may start a new release of the
D. M. Selfa at. al. [2] have introduced different phases of system allowing a dynamic evolution through acquiring new
analysis, design and implementation of a database and web features or correcting errors, but the new release decision is
application using UML , with the purpose of illustrating a not automatic.
successful application built under MVC. It has a database
made up by fifteen relations and a user interface supported by 3. PROPOSED FRAMEWORK
seventeen web pages as central component of the application. 3.1 Basic Idea of Proposed Method
P. Gupta et. al. [3] presented in their paper a web application In this paper we are proposing one of the methods of
framework based on MVC in J2EE platform, and extends it proposed database clustering technique for improving
with XML so that the framework is more flexible, expansible response time and throughput based on MVC pattern. We
and easy to maintain. It was a multi tier system including identified the need for a simple solution for model layer
presentation layer, business layer, data persistence layer and which can reduce the database access time, query cost and
database layer. These separate codes, and improve improve throughput and response time.
maintainability and reusability of the application.
43
International Journal of Computer Applications (0975 – 8887)
Volume 134 – No.12, January 2016
44
International Journal of Computer Applications (0975 – 8887)
Volume 134 – No.12, January 2016
45
International Journal of Computer Applications (0975 – 8887)
Volume 134 – No.12, January 2016
[7] Liu Yong-Jun1, Li Ke-Xi, ―Design and Implementation Mining and Data Fusion, Beijing ,China, 2005, vol.
of the New Web Application Framework—JEMSF‖, XXXVI-2/W25.
IEEE, 2010, pp 190-193.
[11] P. V. Bommel and Th.P. van der Weide, ―Towards
[8] Md. Umar Khan, T.V. Rao, ―Web Application Database Optimization by Evolution‖, In Proceedings of
Performance Improvement using new architectural the International Conference on Information Systems and
patterns‖, Proceedings of SARC-ITR International Management of Data, Bangalore, India, July 1992, pp
Conference, 2014, Chennai, India 273 – 287.
[9] S Rahman, A. M. Ahsan Feroz, Md. Kamruzzaman and [12] Rahman, M.H.; Akter, M.N.; Ahmad, R.B.; Nader-uz-
M. N. Faruque, ―Analyze Database Optimization zaman, M.; Rahman, M., "Development of a framework
Techniques‖, IJCSNS International Journal of Computer to reduce overhead on database engine through data
Science and Network Security, August 2010, vol. 10, distribution," in Electronic Design (ICED), 2014 2nd
No.8 International Conference on , vol., no., pp.69-72, 19-21
Aug. 2014
[10] Bin Li, Jiping Liu, Yi Zhu and Lihong Shi,
―Optimization Of Database Capability In The E- [13] Rahman, M.H; Abid, F.B.A; Zaman, M.N.; Aketer, M.N,
Governmental Spatial Aided Decision-Making System‖, ―Optimizing and Enhancing Performance of Database
Proceedings of International Symposium on Spatio- Engine using Data Clustering Technique,‖ Proceedings
temporal Modeling, Spatial Reasoning, Analysis, Data of the 3rd International Conference on Advances in
Electrical Engineering, pp.222-225, 17-19 Dec. 2015
IJCATM : www.ijcaonline.org 46