1 Copyright © 2011, Oracle and/or its affiliates. All ...€¦ · Considerations for Evaluating &...
Transcript of 1 Copyright © 2011, Oracle and/or its affiliates. All ...€¦ · Considerations for Evaluating &...
1 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 7
2 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 7
WebLogic Cloud Performance, Scalability and Elasticity
better way to develop
Branislav Majerník
Solution Architect & Technology Consultant
Month, Day, Year
Venue
City
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 4
5 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
• More annotations
• More POJOs
• Less XML
Developer
Productivity
Java EE 6 Themes
• Embrace Open
Source Frameworks
• Drag & drop
framework
installation
• Web Profile
• Pruning
Flexible
and
Lightweight Extensible
Java
EE
The Cloud is Making Developers Restless
Virtualization is a tool, not a solution
Enterprise developers want cloud solutions from IT
• Be like Amazon!
• Hosted cloud services
• On-demand provisioning
• Reliable scale
Java solutions are emerging today
Java EE needs to evolve – again!
Today‟s Clouds are Vendor-Specific
Infrastructure as a Service
Platform as a Service
Software as a Service
… …
… …
JPE
Project
J2EE 1.2
Servlet, JSP,
EJB, JMS
RMI/IIOP
J2EE 1.3 CMP,
Connector
Architecture
J2EE 1.4
Web
Services
Mgmt,
Deployment,
Async.
Connector
Java EE
5
Ease of
Development
,
Annotations,
EJB 3.0,
JPA,
Updated
Web
Services
Robustness
Web
Services
Enterprise
Java Platform
Java EE
6 Pruning,
Extensibility
Ease of
Dev,
CDI
Web
Profile
Servlet 3.0,
EJB 3.1
Lite
Ease of
Development
Flexible
Java EE Past, Present, & Future
May 1998 Dec 1999 Sep 2001 Nov 2003 May 2006 Dec 2009 Q32012
10 specs 13 specs 20 specs 23 specs 28 specs 28+ specs
Java EE 7
Multi-tenancy,
Isolation
Application
Versioning,
Packaging
Virtualization
New Roles
Updated JSRs
Cloud
Java EE 7 – PaaS Multitenancy
@Entity
@Table(name=‚EMPLOYEE‛)
@MultiTenant(SINGLE_TABLE)
@TenantDiscriminator(name=‚department‛, columnName=‚DEPT_ID‛)
public class Employee {
Goal: Simple configuration, CDI-based programming model
Flexible tenant-discriminator support
Other areas impacted - JNDI, JMS, EJB, etc.
EMPLOYEE table
EMP_ID VERSION F_NAME L_NAME GENDER DEPT_ID
1 1 John Doe M 1
2 3 Jane Doe F 2
SELECT * FROM EMPLOYEE WHERE L_NAME LIKE ‘D%’ AND DEPT_ID= 1
Java EE 7 – PaaS Platorm Roles
Developer
PaaS
Customer/
Tenant
Application
Submitter
Application
Administrator
PaaS Provider
PaaS Product
Provider
PaaS Account
Manager
PaaS
Administrator
Deployer
Tenant 1 Tenant 2 Tenant 3
Machine
JVM
JVM
JVM
Machine
JVM
JVM
JVM
Machine
JVM
JVM
JVM
Machine
JVM
JVM
JVM
Machine
JVM
JVM
JVM
Machine
JVM
JVM
JVM
Java EE 7 – Elasticity
Capacity On Demand
Autonomic Service Level Management
Targeting deployment from single machine to IaaS
Elasticity Continuum
Single node
Non-Elastic
Dynamic Self Adjusting
SLA Driven Elasticity
Java EE Multi-Node
Multi-Instance Clustering
Java EE 7 Focus:
Move the Bar Right
Java EE Cluster
Ca
Elastic Cluster Capacity
on Demand
Elastic Cluster
J2EE 7 in the Cloud
Cloud
Resources
Configuration
KVM Plugin
Template
Management
Hypervisor
Abstraction
OVM Plugin VirtualBox
plugin
Iaas Management
Service
Orchestration
Engine
Elasticity Management
Service
Service Provisioning
Engine
Versioning
Template
matching
Service
Association
Service
Discovery
Adjust cluster
shape
Monitor
deployed
Applications
Java EE 7
in the Cloud
Low
Operational
Costs
Rapid
Deployment
Minimized
Business
Risk with
Open
Standards
Leverage Existing
Investments
Performance,
Scalability,
Reliability
Customer Need for a Unified, Agile
Application Infrastructure
Cloud Application Foundation
Most complete
platform for cloud
Highest
performance
Fastest time
time-to-market
Best for Oracle
Java, Tuxedo
En
terp
rise
Ma
na
ge
r
JD
eve
lop
er
Exalogic Exalogic Elastic Cloud Software
Exalogic
Cloud APIs
Exalogic Virtual
Assemblies
Exalogic
Performance
Coherence
Hotspot JVM
WebLogic Server Tu
xe
do
Custom Application
Packaged Application
Cloud Service
Oracle VM
Cloud Application Foundation
16
Considerations for Evaluating & Building Cloud
• Security & Compliance: Loss of Control
• Reliability: SLA Compliance
• Availability: Provider guarantee
• Performance: Meet business requirements
• Manageability: Roles, responsibilities
Customer Concerns
• Scalability to pre-empt premature investment
• Elasticity for business agility
• Built on products from trusted vendor
• Efficient, Integrated
• Development Platform
• Build/Deploy/Provision Tools
• Management Framework
Data Center Concerns
© 2011 Oracle Corporation
17
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 17
Why Scalability? With almost 700 Million Active Users ~10% of World Population
18 © 2011 Oracle Corporation
1 5,5 12 50
100
350
550
650
0
100
200
300
400
500
600
700 Millions of Users
Growth Rate is unpredictable
Year to Year Growth Rate
Nov 2006 – 2007 ~4 times
Nov 2007-- 2008 ~2 times
Nov 2008 -- 2009 ~3.5 times
Nov 2009 – 2010 ~1.5 times
Ability to Scale is a Business Imperative
Source: http://www.facebook.com/press/info.php?timeline
WebLogic: Scale Out with Clustering
• Scale out by
• Adding server
instances to cluster on
existing machine
• Adding machines to
cluster to host
incremental server
instances
• Without interruption of
service
WebLogic Domain
Cluster 1
Administration
Server
Node Mgr
Cluster 2
Managed Server
Node Mgr
Cluster 3
Managed Server
Node Mgr
App 1 App 2
Managed Server
App 1
Managed Server
App 3
“We rely on Oracle WebLogic Suite to make sure that we have the reliability and
scalability that we need to keep growing the business. ”
- Doug Mutart, Chief Architect, GM OnStar
© 2011 Oracle Corporation 19
20
WebLogic Scalability with Oracle RAC
• Oracle RAC installation = Standard
Oracle database
• RAC coordinates access to shared
data for consistency, integrity
• Add nodes to cluster easily
• No need to partition data
• Horizontally scale database tier
as usage grows
• By adding RAC nodes, storage,
or both
• Scale WebLogic by adding data
source that maps to new node
© 2011 Oracle Corporation
GridLink
WebLogic
GridLink
WebLogic
RAC Node 1
RAC Node 2
Shared Storage
Interconnect
Oracle Coherence Benefits
• Add/remove nodes dynamically
• Scale linearly to hundreds of nodes
• Get continuous availability
• Get extreme reliability through
redundancy
• Achieve high performance
• Data resides closer to application
• Parallelization
• License as part of WebLogic Suite
OS
JVM
WebLogic
Server
OS
JVM
Coherence
WebLogic
Server
© 2011 Oracle Corporation 21
Why High Availability?
22 © 2011 Oracle Corporation
Oracle WebLogic: Guaranteed High Availability
Myriads of High Availability Capabilities
• Inter, Intra-cluster session state replication to handle
failure
• Zero down time deployment to deploy new version of
application without interrupting work on older version
• Overload protection to detect, avoid recover from overload
conditions
• Automatic Server Migration to migrate managed servers in
case of imminent hardware failure
• Application Failover
• Load Balancing
23
“The business benefit of using Oracle WebLogic Suite is that we
increased availability tremendously” Peter Strickx, Belgium’s
Federal Government CTO
© 2011 Oracle Corporation
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 24
25 25
Why Performance? Online Dating Services Provider
A leading Online Dating/Matrimony Services Provider
Challenges & Objectives Solution & Benefits
• Customer Satisfaction is key & at risk
• Cannot afford slightest downtime or ‘slow’
response
• Page response performance at risk
• Limited ability to cluster, scale up
• Migrated mission-critical Web application
to run on top of Oracle WebLogic
• Using Coherence for data scalability
• Enterprise manager for management
automation for clustering, failover
• Decrease „time to first byte‟ by 90%
• Plan for growth without negative impact to
cost and system performance
• 40% faster page response performance
• Failover with no performance penalty
• Less hardware required
• Fantastic scale-up
© 2011 Oracle Corporation
WebLogic #1 in Performance Leadership Beats Competition CONSISTENTLY
• WebLogic demonstrates
outstanding performance,
scalability
• Outperformed IBM
WebSphere result using
same number of cores
© 2010 Oracle Corporation 26
Source: http://www.spec.org/jEnterprise2010/results/res2011q1/
© 2011 Oracle Corporation
17 301
16 646
16200
16400
16600
16800
17000
17200
17400
Oracle Weblogic
Server Standard
Edition
IBM
WebSphere
Server V7
SPECjEnterprise 2010, EjOPS/core
World
Record
“WebLogic is a very high performing set of technologies. It's made
deploying our implementations easier, more robust -- certainly faster”
– Mike Blackmore, Enterprise Architect, British Telecom
© 2011 Oracle Corporation
27
GridLink
WebLogic
GridLink
WebLogic
WebLogic Integration with Oracle RAC Up to 3X Better Performance
• Integrated WebLogic and Database RAC clusters
• Dynamic load balancing of requests to RAC nodes
• RAC node transaction affinity for data locality
• Continuous connection availability regardless of RAC changes
80% 20%
RAC Node Load Aware Connection Requests
GridLink
WebLogic
GridLink
WebLogic
RAC Node Affinity For Transactions
XA
GridLink
WebLogic
GridLink
WebLogic
Continuous Connections Regardless of RAC Changes
© 2011 Oracle Corporation
WebLogic Messaging Performance Leadership High Performance JMS: Meets Rigorous Throughput Requirements
• Extreme Performance
• Consistently beats
messaging pure-plays
– Synchronous writes 3X-6X
faster than competitors
– Message size 25%-4X
faster for messages
between 1K->512K than
competitors
28 © 2011 Oracle Corporation
29 29
Oracle Enterprise Linux or Solaris
Exalogic Elastic Cloud Software
JRockit and HotSpot
WebLogic Server Coherence
En
terp
rise M
an
ag
er
Exalogic Elastic Cloud Hardware
EL X2-2
Fastest Java Performance
Designed for Cloud Computing
Hardware and Software: Engineered to Work Together
Oracle Exalogic Elastic Cloud Foundation WebLogic Suite: Optimized for Exalogic
© 2011 Oracle Corporation
30 30
Why Reliability?
© 2011 Oracle Corporation
31
Oracle WebLogic: Rock Solid Reliability
Transaction Integrity
• Commit with all transactional objects
• Transaction termination only by client that created transaction
• Support for the Open Group XA interface
Reliable Messaging
• Reliable message delivery between applications distributed
across clusters, domains, server instances
• Message producers automatically attempt to reconnect
Integration with Oracle RAC
• Loss of a node does not result in downtime
• When RAC node fails, in-flight transactions redirected to
another node in cluster
© 2011 Oracle Corporation
32
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 32
What is Elasticity? Why Important? Basic Premise of Cloud Computing
33 © 2011 Oracle Corporation
• Elasticity
• Instantly bringing necessary
resource when you need it
• Instantly decommission when
you don't need it
• Applications expand/contract
on demand, across all tiers
• Application components grow
independently from each
other
• Adding computing resources
transparent to application
Urban Airship
• Powers world's most successful mobile apps
• Connected to over 90 million mobile devices
Mike Herrick’s (VP of Engineering) Blog
WebLogic Suite Delivers Elastic Capacity with Enterprise Manager
© 2011 Oracle Corporation 34
• WebLogic’s automated load balancing, failover
• Dynamic addition, removal of nodes: WebLogic, Coherence, OS…
• Automation of capacity adjustment at all layers
• Unified management of entire cloud infrastructure from a single console
App
Application Grid
WebLogic Server
cluster nodes
Coherence Data
Grid nodes
App App App
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 35
Develop Cloud Applications in Shortest Possible
Time, Lowest Total Cost
36
Choose between Open Source, Commercial framework
• JDeveloper: Build rapidly with declarative, model-driven approach
• TopLink: Streamline storing/retrieving objects to/from data stores
• Easily manage Spring apps via Spring admin. console extension
• Access Eclipse community tools, plug-ins, products
• Use Application Development Framework (ADF) for Struts, JSF
based framework for rich Web apps
“The application server has to be friendly in a development environment and
WebLogic is that. (Our developers) literally have no problems with it. And it's
very well-integrated with our development tools.
-- John Tumminaro, CTO, Obopay
© 2011 Oracle Corporation
©2011 Oracle Corporation 37
What are Assemblies? Why Important?
Metadata
Assembly
WLS WLS SOA
Svc
Web
RAC RAC
Web
Web Tier
Application
Tier
Database
Tier
Reference System
Multi-Tier Application Components
Virtualized Software
Appliances
Web
Appliance
Application
Server
Appliance
Database
Appliance
Collection of Configurable Building Blocks
38 38
Deploy Cloud Apps in Hours not Days Oracle Virtual Assembly Builder
Development & Test
Production
Assembly Catalog
WLS WLS SOA
Svc
Web
RAC RAC
Web
Select Appliances
Create Assembly
Publish/Test Assembly
Deploy Assembly
© 2011 Oracle Corporation
39
Manage Cloud Apps Efficiently
with Enterprise Manager
Agility, Flexibility
• Bare metal provisioning: Automated, repeatable solution for
unattended deployment
• Live Migration: Move VM from a server to another in seconds
• Automated procedure to scale out (in) RAC clusters
Compliance Tracking • Comprehensive asset tracking, change detection
• Configuration comparisons, drift analysis to track changes,
adhere to baselines and compliance standards
• Alerts for out-of-policy, unauthorized changes
Visibility, Transparency • End user monitoring: Click-by-click user history, problems
• Manage Many-as-One: View, perform administrative tasks
for groups rather than individual components
• Metrics, Chargeback Reports: Automatic, Immediate
© 2011 Oracle Corporation
40
<Insert Picture Here>
Program Agenda
• Cloud & J2EE 7
• Cloud Scalability & Availability
• Cloud Performance & Reliability
• Cloud Elasticity
• Reduced Complexity for Cloud
• Summary
© 2011 Oracle Corporation 40
41 41
WebLogic Suite: The #1 Cloud Platform
© 2011 Oracle Corporation
Outperform Competitors with High SLAs
• Highest Performance over many years
• Near linear data and process scalability
• Guaranteed Reliability, Highest Availability
Achieve High Customer Sat. with Elasticity
• Dynamic, Instantaneous deployment/removal of nodes
• All tiers grow/shrink to support capacity needs
• Tiers grow/shrink independently
Lower TCO/Higher Speed: Reduced Complexity
• Efficient, flexible development
• Agile deployment
• Integrated, Automated Management
42 42
Cloud Application Foundation
• Customer Use Cases
Issue • Streamline main-frame based
banking system that is monolithic,
inflexible, expensive to maintain,
and big impediment to growth
Solution • Oracle Tuxedo,
Tuxedo ART, J2EE
Integration/JCA,
Coherence
Expected
Results
• At least 50% reduction of TCO of core banking applications migrated
• At least 25% performance improvement of batch applications
Issue • Improve time to market and agility,
Reduce application infrastructure
complexity and total cost of operation
Solution • Oracle WebLogic
Server, Oracle
Database
Results • 35% reduction in operating costs
• 44% power consumption avoided in 4 years, while doubling capacity
• No downtime incidents in 3 years
Issue • Reduce costs of developing,
administering, maintaining Choice
Advantage Reservation system
Solution • Oracle WebLogic
Server, Oracle
JRockit
Results • Light-weight web-based SAAS app, substantially reduces time and cost
for Franchisees
• Handle 3.2 million requests per day, 24*7 availability
43 43
• Fastest Application Performance • At least 2x reduction in response times
• At least 2x increase in throughput
• Best application performance for Java, Oracle’s
Business Apps, and with Exadata
• Lowest TCO • At least 50% lower total cost of ownership
compared to any other hardware
• Engineered System • 1 Vendor Solution: Hardware, Software
• Fastest path to market
Oracle Exalogic Elastic Cloud Easier to Buy, Easier to Own, Easier to Operate
44
<Insert Picture Here>
Twitter twitter.com/OracleWebLogic
Facebook facebook.com/OracleWebLogic
Oracle‟s WebLogic blog blogs.oracle.com/applicationgrid
Join the Community
Oracle.com/WebLogic
© 2011 Oracle Corporation
45 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 7
Q&A
46 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 7