Professional Documents
Culture Documents
INTRODUCTION
In the past few decades, the World Wide Web (WWW) has experienced
phenomenal growth and server systems have become more and more complex.
With the popularization of B/S structure, data processing is further centralized to
the server, which means new challenges to the management of server performance.
It is an important link in computer system performance management to predict the
server’s infrastructure resource performance and workload correctly and
effectively, which helps improving quality of the service while minimizing the
wastage in resource utilization. Many applications of Big Data Analytics have been
developed to enhance the operation of cloud computing and web server
infrastructures in recent years. Previous methods for this prediction job basically
fall into two categories: one is focusing on building the relation between
performance and time, such as neural network (MLP) and linear regression,
weighted multivariate linear regression (MVLR) and recurrent neural network
(RNN) are used; another one does not consider the sequential effects, and predict
the performance by analyzing the workload, such as Yu et al. uses Clustering and
Multi-layer Perception (MLP) to do this task. Both of these two kinds of method
may not explore the essence of the problem. Since the fluctuation of server’s
performance is caused by user’s url request sequence, we argue that both user’s
behavior and its property of the sequence need to be considered when predicting
the web server performance. Recently deep neural networks start to show its great
capability in language modeling. And recent research reveals that RNN
significantly outperforms popular statistical algorithms. As a special kind of RNN,
LSTM neural network is proved to be efficient in modeling sequential data like
speech and text. These previous researches inspires us to use LSTM in this
prediction task, because user’s url request is a sequential data. For the purpose of
improving the performance of predicting web server performance, we apply RNN-
LSTM network with url embedding to this task. Our contributions can be
summarized as two points:
1) Our work is the first one to apply RNN-LSTM network to predict the
performance of Web servers.
2) We proposed to investigate the relation between users’ url requests sequence
and web sever performance, which previous researches didn’t pay much attention
to.
CHAPTER 2
LITERATURE REVIEW
2.2 Title: J.-f. Tu and R.-f. Guo, “The application reseach of mixed program
structure based on client-server, browser-server and web service,” in Business
Management and Electronic Information (BMEI), 2011 International Conference
on, vol. 1. IEEE, 2011, pp. 193–195.
. Methodology used
WebLabs allow experiments and associated resources to be accessed and
controlled via the web. We contribute with XML Schemas and transformations for
WebLab description and experiment configuration that are the basis for the
document-based I-TOOLARR system. The I-TOOLARR system makes use of XSLT
transformations to automatically generate (a) XML Schemas defining
configuration information and (b) form-based interfaces that allow users to
configure WebLabs in general and specific experiments in particular.
2.3 Title: R. Buyya, K. Ramamohanarao, C. Leckie, R. N. Calheiros, A. V.
Dastjerdi, and S. Versteeg, “Big data analytics-enhanced cloud computing:
Challenges, architectural elements, and future directions,” in Parallel and
Distributed Systems (ICPADS), 2015 IEEE 21st International Conference on.
IEEE, 2015, pp. 75–84.
Methodology used
The emergence of cloud computing has made dynamic provisioning of elastic
capacity to applications on-demand. Cloud data centers contain thousands of
physical servers hosting orders of magnitude more virtual machines that can be
allocated on demand to users in a pay-as-you-go model. However, not all systems
are able to scale up by just adding more virtual machines. Therefore, it is essential,
even for scalable systems, to project workloads in advance rather than using a
purely reactive approach. Given the scale of modern cloud infrastructures
generating real time monitoring information, along with all the information
generated by operating systems and applications, this data poses the issues of
volume, velocity, and variety that are addressed by Big Data approaches. In this
paper, we investigate how utilization of Big Data analytics helps in enhancing the
operation of cloud computing environments. We discuss diverse applications of
Big Data analytics in clouds, open issues for enhancing cloud operations via Big
Data analytics, and architecture for anomaly detection and prevention in clouds
along with future research directions.
CHAPTER 3
SYSTEM ANALYSIS
Bandwidth guarantee
Minimizing the total network cost
Avoiding potential overload at low cost links.
CHAPTER 4
SYSTEM SPECIFICATIONS
Mouse : Logitech.
4.3.1INTRODUCTION TO JSP:
JavaScript Facts:
JavaScript depends on the Web browser to support it. If the browser does not
support it, JavaScript code will be ignored. Internet Explorer 3.0 and, Netscape
Navigator 2.0 onwards support JavaScript.
JavaScript is very flexible compared to Java. You need not specify the data
type of a variable while declaring it. Also you need not declare Variables
explicitly. It is perfectly legal to declare variable as and when you require them.
JavaScript Is Event-Driven:
HTML objects such as buttons are enhanced to support event Handlers. You
can specify the functionality of a button.
JavaScript Is Not Java:
JavaScript Is Evolving
JavaScript evolved in December 1995. As the time goes buy,
JavaScript will be embedded and new features added to it.
JavaScript Language Spans Contexts:
JavaScript can be used in server side Netscape Livewire Pro
Environment and Microsoft’s Active X server frame work. It is not just a
client side scripting tool.
WEB Application Frame Work
Client Side Frame Work
Client Side Applications
Smart Pro Support
Data validation
Creating Interactive Forms
Client Side Lookup Tables
State Maintenance
There are many buzzwords associated with Java, but because of its
spectacular growth in popularity, a new buzz word has appeared ambiguous,
Indeed, all indications are that it will soon be everywhere.Java builds on the
strength of C++. It has taken the best features of C++ and discarded the more
problematic and error prone parts. To this lean core, it has added garbage
collection (automatic memory management), multithreading (the capacity for
conference management system project one program to do more than one thing at a
time), security capabilities. The result is that Java is simple, elegant, powerful and
easy to use. Java is actually a platform consisting of three components:
4.3.2.3JAVA IS PORTABLE:
The class paradigm allows one to encapsulate data so that specific data values
are those using the data can not see function implementation. Encapsulation makes
it possible to make the changes in code without breaking other programs that use
that code. If for conference management system project example the
implementation of a function is changed, the change is invisible to the another
programmer who invokes that function, and it does not affect his/her program,
except hopefully to improve it.
Java includes inheritance, or the ability to derive new classes from existing
classes. The derived class, also called a subclass, inherits all the data and the
functions of the existing class, referred to as the parent class. A subclass can add
new data members to those inherited from the parent class. As far as methods are
concerned, the subclass can reuse the inherited methods, as it is, change them,
and/or add its own new methods.
NO POINTERS:
STRONG TYPING:
Cuts down on runtime errors. Because Java enforces strong type checking,
many errors are caught when code is compiled. Dynamic binding is possible and
often very useful, but static binding with strict type checking is used when
possible.
SIMPLICITY:
Java is made easier to learn and use correctly. Java keeps it simple by
having just one way to do something instead of having several alternatives, as in
some languages. Java also stays lean by not including multiple inheritance, which
eliminates the errors and ambiguity that arise when you create a subclass that
inherits from two or more classes. To replace capabilities, multiple inheritance
provides Java lets you add functionality to a class throw the use of interfaces.
Both classes and interfaces contain data members (fields) and functions
(methods), but there are major differences. In a class, fields may be either variable
or constant, and methods are fully implemented. In an interface, fields must be
constants, and methods are just prototypes with no further implementations. The
prototypes give the method signature (the return type, the function name, and the
number of parameters, with the type for conference management system project
each parameter), but the programmer must supply implementations. To use an
interface, a programmer defines a class, declares that it implements the interface,
and then implements all the methods in that interface as part of the class.
These methods are implemented in a way that is appropriate for conference
management system project the class in which the methods are being used.
Interfaces let one add functionality to a class and give a great deal of flexibility in
doing it. In other words interfaces provide most of the advantages of multiple
inheritances without its disadvantages.A package is a collection of related Java
classes and interfaces. The following list, though not complete, gives examples of
some Java packages and what they cover.
Java.io -- Classes that manage reading data from input streams and writing data to
the output streams.
Java.util -- Miscellaneous utility classes, including generic data structures, bit sets,
time, date, the string manipulation, random number generation, system properties,
notification and enumeration of data structures.
Java.applet -- The Applet class, which provides the ability to write applets, this
package also includes several interfaces that connect an applet to its document and
to resources for conference management system project playing audio.
Java.sql -- The JDBC API, classes and interfaces that access databases and send
SQL statement.
The first three packages listed, java.lang, java.io, and java.util form the
foundation, they are the basic classes and interfaces for conference management
system project general-purpose programming. Java Development Kit Version1.1
added some new packages, with JDBC is being one of them. Other new packages
include such things as Remote Method Invocation, Security and Java Beans the
new API for conference management system project creating reusable components.
JAVA IS EXTENSIBLE:
A big plus for conference management system project Java is the fact it can
be extended. It was purposely written to be lean with the emphasis on doing what
it does very well; instead of trying to do everything from the beginning, it was
return so that extending it is very easy. Programmers can modify existing classes
or write their own new classes or they can write a whole new package. The JDBC
API, the java.sql package, is one example of a foundation upon which extensions
are being built. Other extensions are being added or worked on in area such as
multimedia, Internet Commerce, conferencing, and Telephony.
In addition to extensions there are also main tools being developed to make
existing capabilities easier to use. For conference management system project
example, there is already a tool that greatly simplifies creating and laying out
Graphical User Interfaces such as menus, dialog boxes and buttons.
JAVA IS SECURE
1. The way memory is allocated and laid out: In Java an object's location in
memory is not determined until the runtime, as opposed to C and C++, where
the compiler makes memory layout decisions. As a result, a programmer not
looks at a class definition and figure out how it might be laid in memory.
2. The way incoming code is checked: The Java Virtual Machine doesn't trust
any incoming code and subjects it to what is called Byte Code Verification. The
byte code verifier, part of the virtual machine, checks that
3. The way classes are loaded: The Java byte code loader, another part of the
virtual machine, checks whether classes loaded during program execution are local
or from across a network. Imported classes cannot be substituted for conference
management system project built in classes, and built in classes cannot accidentally
reference classes bring in over a network.
To understand how Java is robust, consider two main reasons for conference
management system project program failure: memory management mistakes and
mishandled exceptional conditions (run time errors). Memory management can be
difficult, tedious task in traditional programming environments. For conference
management system project example in C/C++ the programmer must manually
allocate and free all dynamic memory. This sometimes leads to problems. For
conference management system project example some programmers sometimes
forget to free memory that has been previously allocated. Or worse, they may free
some memory that another part of their code is still using. Java virtually eliminates
these problems by managing memory allocations and de allocations. Java helps in
this area by providing object oriented exception handling. In a well-written Java
program a program should manage all run time errors.
JAVA SCALES WELL:
JAVA IS MULTITHREADED:
The Internet helped catapult Java to the forefront of programming and Java
in turn has had a profound effect on the Internet. The reason is simple: Java
expands the universe of objects that can move about freely in cyberspace. In a
network, there are two broad categories of objects transmitted between the Server
and your Personal Computer: Passive Information and Dynamic, Active Programs.
For conference management system project example, when you read your e-mail,
you are viewing passive data. Even when you download a program, the program's
code is still only passive data until you execute it. However, there is a second type
of object that can be transmitted to your computer: a dynamic, self-executing
program. Such a program would be an active agent on the Client computer, yet the
Server would initiate it.
As desirable as dynamic, networked programs are, they also present serious
problems in the areas of security and portability. Prior to Java cyberspace was
effectively closed to half the entities that now live there. Java addresses these
concerns and doing so, has opened the door to an exiting a new form of program:
JDBC OVERVIEW:
relational database. In other words, with the JDBC API, it is not necessary to write
a single program using the JDBC API, and the program will be able to send SQL
programming language, one also doesn't have to worry about writing different
applications to run on different platforms. The combination of Java and JDBC lets
project doing this. JDBC extends the concepts, which can be done in Java. For
conference management system project example, with Java and JDBC API, it is
possible to publish a web page containing an applet that uses information obtained
from a remote database or an enterprise can use JDBC to connect all this
Unix machines) to one or more internal databases via an Internet. With more and
more programmers using the Java programming language, the need for conference
management system project easy database access from Java is continuing to grow.
MIS managers like the combination of Java and JDBC because it
makes disseminating information easy and economical. Businesses can continue to
use their installed databases and access information easily even of it is stored on
different database management systems. Development time for conference
management system project new applications is short. Installation and version
controls are greatly simplified. A programmer can write an application or an
update once, put it on the server, and everybody has access to the latest version.
And for conference management system project business selling information
services, Java and JDBC offer a better way of getting out information updates to
external customers.
Until now, the only way to access a database through Java has been to use
streams in Java to call and access Common Gateway Interface (CGI) programs.
Calling a CGI script from Java lets you call a separate program that accesses the
database and returns results.
Using this approach is slow and lets more bugs creep into applications.
Developing into two different development languages requires the knowledge of
two technologies. When we use JDBC we need to know only the Java language,
whereas when we use CGI we must use Java and another language.
Another reason to use JDBC is that it is noticeably faster than CGI approach.
Using CGI usually requires that you call another program that must be executed by
the computer. This separate program then accesses the database and processes the
data, returning it to the calling program in a stream. This requires multiple levels of
processing, which in turn increases wait time as well s enables more bugs to
appear. The following figure displays how CGI program is executed..
4.4 MYSQL
MySQL is offered under two different editions: the open source MySQL
Community Server and the proprietary Enterprise Server. MySQL Enterprise
Server is differentiated by a series of proprietary extensions which install as server
plugins, but otherwise shares the version numbering system and is built from the
same code base.
Cross-platform support
Triggers
The Per-Flow method fairly allocates bandwidth to each flow on the link. In
System Architecture depicts an inter-datacenter network, where there are two
applications. Application A deploys VM A1 and VM A2 on datacenters DC4 and
DC3, respectively. Application B deploys VM B1 on datacenter DC4 and VM B2,
VM B3 on datacenter DC3. In this setting, A1 communicates with A2 while B1
communicates with B2 and B3. By sending traffic through direct path, application
A and B actually compete bandwidth on link DC4→DC3. Consider that each VM
has one unit weight. Then, by applying the PS-L method, the allocated bandwidth
per flow to applications A and B is 400Mbps and 300Mbps, respectively. By
applying the Per-Flow method, the allocated bandwidth per flow is 1000 3 Mbps
for both applications A and B.
5.2 LIST OF MODULES
Dataowner
DataUser
Datacenter
5.2.1 DATAOWNER
Data owner receiving a request, the response server Sn/data owner will send
back an ACK of WAITING files are ready/not ready. Once the response server
completes process it will try to send an ACK with the values of back to the request
server Sm/data user. Upload data to the cloud service provider.
5.2.2 DATAUSER
When a data user requests variables from responder server Sn/data owner, it
first checks whether it has already received these variables or not. If yes, it will
continue the iteration. Otherwise, it sends a REQUEST message to the
corresponding server Sn. It then waits until it receives an ACK with VALUE of the
requested variables and views the files.
5.2.3 DATACENTER
It displays transfer data to which datacenter and also show the network cost
of bandwidth guarantee with different numbers of applications.
CHAPTER 6
MODULES IMPLEMENTATION
<!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta charset="utf-8">
<script src="js/jquery.js"></script>
<script src="js/jquery-migrate-1.1.1.js"></script>
<script src="js/script.js"></script>
<script src="js/superfish.js"></script>
<script src="js/jquery.equalheights.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/slippry.js"></script>
<script src="js/modernizr.custom.17475.js"></script>
<script>
$(document).ready(function(){
jQuery('#slippry').slippry()
});
function goToByScroll(id){$('html,body').animate({scrollTop:
$("#"+id).offset().top},'slow');}
</script>
<!--[if lt IE 8]>
<a href="http://windows.microsoft.com/en-US/internet-
explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img
src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_00
00_us.jpg" border="0" height="42" width="820" alt="You are using an outdated
browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<!--
==============================header========================
=========-->
<header>
<div class="container_12">
<div class="grid_12">
</h1>
</div>
</div>
<div class="clear"></div>
<div class="menu_block">
<ul class="sf-menu">
<li><a href="signup.jsp">Signup</a></li>
</ul>
</nav>
<div class="clear"></div>
</div>
<ul id="slippry">
<li>
</li>
</ul>
</header>
<footer>
</footer>
<script type="text/javascript">
$( '#carousel' ).elastislide( {
minItems : 8
} );
</script>
</body>
</html>
6.1.2 User.jsp
<!DOCTYPE html>
<html lang="en">
<head>
<title>A Deep Recurrent Network for web server performance prediction </title>
<meta charset="utf-8">
<script src="js/jquery.js"></script>
<script src="js/jquery-migrate-1.1.1.js"></script>
<script src="js/script.js"></script>
<script src="js/superfish.js"></script>
<script src="js/jquery.equalheights.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/TMForm.js"></script>
<script>
function goToByScroll(id){$('html,body').animate({scrollTop:
$("#"+id).offset().top},'slow');}
</script>
<!--[if lt IE 8]>
<a href="http://windows.microsoft.com/en-US/internet-
explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img
src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_00
00_us.jpg" border="0" height="42" width="820" alt="You are using an outdated
browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<!--
==============================header========================
=========-->
<header>
<div class="container_12">
<div class="grid_12">
</div>
</div>
<div class="clear"></div>
<li><a href="home.jsp">Home</a></li>
<li><a href="signup.jsp">Signup</a></li>
</ul>
</nav>
<div class="clear"></div>
</div>
<div class="container_12">
<div class="grid_5">
<img src="images/usr.jpg" style="width:700px; height:500px;">
</div>
<div class="form-group">
</div> <br>
<div class="form-group">
</div> <br>
</form> </center>
</div>
<div class="clear"></div>
</div>
</section>
<footer>
</footer>
</body>
</html>
6.1.3 User_code.jsp
<%
session.setAttribute("uname",name);
System.out.println("name:"+name);
System.out.println("password:"+password);
Class.forName("com.mysql.jdbc.Driver");
Connection con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/mysql","root",
"root");
Statement st = con.createStatement();
ResultSet rs;
System.out.println("name:"+name);
System.out.println("password:"+password);
if (rs.next()){
response.sendRedirect("user_home.jsp?msg=Login_Successful");}
else
{response.sendRedirect("user.jsp?msg=Login_Failed");}
%>
6.1.4 Serverhome.jsp
<!DOCTYPE html>
<html lang="en">
<head>
<title>A Deep Recurrent Network for web server performance prediction </title>
<meta charset="utf-8">
<script src="js/jquery.js"></script>
<script src="js/jquery-migrate-1.1.1.js"></script>
<script src="js/script.js"></script>
<script src="js/superfish.js"></script>
<script src="js/jquery.equalheights.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/TMForm.js"></script>
<script>
function goToByScroll(id){$('html,body').animate({scrollTop:
$("#"+id).offset().top},'slow');}
</script>
<!--[if lt IE 8]>
<a href="http://windows.microsoft.com/en-US/internet-
explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img
src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_00
00_us.jpg" border="0" height="42" width="820" alt="You are using an outdated
browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
</head>
<!--
==============================header========================
=========-->
<header>
<div class="container_12">
<div class="grid_12">
<div class="clear"></div>
<li><a href="home.jsp">Logout</a></li>
</ul>
</nav>
<div class="clear"></div>
</div>
</header>
<!--=====================Content======================-->
<div class="container_12">
<div class="grid_5">
</div>
</div>
<div class="clear"></div>
</div>
</section>
</body>
</html>
6.1.5 Server_log.jsp
<%@page import="java.sql.*"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>A Deep Recurrent Network for web server performance prediction </title>
<meta charset="utf-8">
<script src="js/jquery.js"></script>
<script src="js/jquery-migrate-1.1.1.js"></script>
<script src="js/script.js"></script>
<script src="js/superfish.js"></script>
<script src="js/jquery.equalheights.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/TMForm.js"></script>
<script>
function goToByScroll(id){$('html,body').animate({scrollTop:
$("#"+id).offset().top},'slow');}
</script>
<!--[if lt IE 8]>
<a href="http://windows.microsoft.com/en-US/internet-
explorer/products/ie/home?ocid=ie6_countdown_bannercode">
<img
src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_00
00_us.jpg" border="0" height="42" width="820" alt="You are using an outdated
browser. For a faster, safer browsing experience, upgrade for free today." />
</a>
</div>
<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<style>
#customers {
border-collapse: collapse;
width: 100%;
padding: 8px;
}
#customers tr:nth-child(even){background-color: #f2f2f2;}
#customers th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #4CAF50;
color: white;
</style>
</head>
<!--
==============================header========================
=========-->
<header>
<div class="container_12">
<div class="grid_12">
</div>
<div class="clear"></div>
<li><a href="server_home.jsp">Home</a></li>
<li><a href="home.jsp">Logout</a></li>
</ul>
</nav>
<div class="clear"></div>
</div>
</header>
<!--=====================Content======================-->
<div class="container_12">
<div class="grid_5">
</div>
<%
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/mysql","root","r
oot");
Statement st=con.createStatement();
%>
<th>Url Request</th>
<%
while(rs.next())
{ %>
<% } %>
</table>
<%}
catch(Exception e)
System.out.println("");
%>
</div>
<div class="clear"></div>
</div>
</section>
<!--
==============================Bot_block=====================
============-->
<!--
==============================footer=========================
========-->
</body>
</html>
6.2 SCREEN SHOTS
Home Page
Registration Form
User Login
User Home Page
Search Engine
Server Login
Server Performance
LogFiles.jsp
CHAPTER 7
REFERENCES