Post on 13-May-2015
description
transcript
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Efficiency and Extreme Performance with WebLogic 12c
Bruno Borges | Fusion Middleware | Product Managementbruno.borges@oracle.com
4 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Who am I?
● Bruno Borges– Twitter @brunoborges
– Blog blogs.oracle.com/brunoborges
● 10+ years developing and architecting Java applications, specially for Web
● Worked for several regular software companies in Brazil
● Talks at conferences in Brazil, former Apache Wicket and Apache Camel evangelist (contributed Camel Twitter component)
● Going to JavaOne 12' with 2 sessions: Camel Twitter, and Gamboa architecture
● Promises to be fluent on Spanish until the World Cup
5 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Cloud offers are not truly open
IaaS
IaaS
PaaS
PaaS
SaaSSaaS
6 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Cloud Application FoundationFoundation for Oracle Fusion Middleware in the Cloud
7 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Public Cloud Cloud Application Foundation in the Public Cloud
8 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Exalogic Elastic CloudCloud Application Foundation for the Private Cloud
9 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle WebLogic Server 12c Key New Capabilities
• Java EE 6 and Developer Productivity• Simplified Deployment and Management with Virtualization• Integrated Traffic Management• Enhanced High Availability and Disaster Recovery• Much Higher Performance• Seamless Upgrade
10 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic Server 12c – New FeaturesJava EE 6• JSP 2.1, JSF 2.0• EJB 3.1, JPA 2.0• Context and Dependency
Injection• Restful Web ServicesDeveloper• JDeveloper• Eclipse• NetBeans• MavenJava SE• Java SE 6• Java SE 7
Database• GridLink – Session
Affinity• GridLink – Transaction
Affinity• GridLink – Fast
Connection FailoverPerformance• SPECjEnterprise World
Records– EjOPS Overall, EjOPS/Core, EjOPS/Processor
Traffic Management• Software Load Balancer• Traffic Shaping• SSL Termination
Enterprise Scale• Database Transaction
Logs• Database Store
PerformanceEnterprise Manager 12c• Cloud Management• Diagnostics Advisor• Incident and Problem• Management• Patch AutomationDistributed Caching• Coherence Transactions• Coherence Rest• Coherence Query Explain
Plan
Cloud• Optimized WebLogic
Virtual Appliances• Coherence Exalogic
Exabus• WebLogic Elastic
Message Overflow• Coherence Elastic Data• Exalogic HTTP, JMS and
Web Service Performance
• TopLink Multi-TenancySecurity Updates• New Certification
Validation • New SPNEGO Update• New RSA Update• New JSSE Support
Over 200 New Features
11 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle WebLogic Server: #1 in Market Share
● Oracle strengthened its Lead in 2010 with 43% share
● Oracle’s application server market share grew at a rate of 17.8%, faster than the industry average of 12.1%
● Oracle’s market share is higher than its three closest competitors combinedSource: Gartner, Market Share: All Software Markets, Worldwide –
March 2011 – Based on total software revenue
Gartner 2010 Worldwide Application Server Market Share report shows
12 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Deploy/Run on Conventional Systems
Deploy/Run on High Performance
Engineered Systems
Deploy/Run on Private and Public Clouds
Ready for CloudOptimized for
Engineered SystemsIndustry’s top choice for
Conventional Systems
Announcing WebLogic Server 12cThe #1 App Server across Conventional and Cloud Environments
WebLogic Server
WebLogic Server
WebLogic Server
13 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Modern, Cloud Development with Java EE 6
• API Pruning• Standards-based
dependency injection• Handle simple to complex
with no external dependencies
Flexible & Lightweight
• Embrace open source frameworks
• Enable Drag & Drop • framework installation• Standards-based DI extensions
don’t create proprietary lock-in
Extensible
• POJO Programming Model• More annotations, better IDE support• Less XML configuration, more
convention• Annotations, not deployment
descriptors
Developer Productivity
14 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Java EE 6 and Developer ProductivityNew in WebLogic Server 12c
• Completes WebLogic Java EE 6 API support– Servlet 3.0, CDI, Managed Beans, JSP 2.2, EJB 3.1, JAX-WS 2.2
• Certified Java EE 6 Makes Development Faster– Fewer Java Classes, Less Code, Less XML
• With Modern Programming Techniques– Dependency Injection, Annotations, POJO, REST
* Based on a Sample POJO/JPA/REST Based Application Built for JavaOne
Lines of Code* Lines of XML*Java Classes*
25%Less
50%Less
80%Less
15 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
IDE Tool Support for WebLogic Server 12c
…Coming
Today
Text Editors
16 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Enhanced WebLogic Maven Plug-in
• Simple and intuitive• New Maven goals,
functional support • Enable/support/automate
the full development lifecycle from Maven
● Additional WebLogic, Fusion Middleware enhancements planned
● Enables Continuos Integration with Hudson/Jenkins
Maven WebLogic plugin new goals
● wls:install - automate install from zip file● wls:create-domain - create a simple domain ● wls:start-server - process control● wls:wlst - execute inline/external WLS scripts● wls:appc - compile Maven artifacts using appc
mvn wls:deploy: deploy apps to server
17 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Lightweight Development with WebLogic Server
2X-6X download size improvement for developers
No installer, unzip and go on Win/Linux/OSX
Start an instance with -Dservertype=wlx to launch without EJB, JMS, and JCA containers
FastSwap greatly reduces project redeployment requirement when doing iterative deployment
168mb
318mb
1GB
6X
2X
11g Full Distro 11g Zip Distro 12c Zip Distro
18 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Scaling up to WebLogic Server from GlassFish
19 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Seamless UpgradeFrom WebLogic, iAS and Others
WebLogic Server 11g
JBossWebSphere
InternetApplication Server
Migration ServicesAutomated Tooling
GlassFish
Simple Upgrade Redeployment
20 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Java SE 7: Cleaner, More Maintainable Code
Oracle WebLogic Server 12c supports Java SE 7 (and Java SE 6)
- Java language optimizations- Client and server support- Internationalization- SSL/TLS 1.2 in JSSE- Converged Java VMs
21 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Simplified Deployment and Management with Virtualization
Deployment Plan and Software
PrivateCloud
EngineeredSystems
Conventional Systems
Packaged via Oracle Virtual Assembly Builder
22 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Virtual Assembly Builder Updates
23 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Assembly Builder Product Support
• Weblogic Server
• Coherence
• Oracle Traffic Director
• Oracle HTTP Server
• SOA Suite
• Oracle Service Bus
• Tuxedo
• Oracle Database (RAC & single instance)
• Custom applications
• Black-box templates
24 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic Server ManagementNew in Enterprise Manager Cloud Control 12c
• WebLogic Server 12c– Performance Monitoring and
Diagnostics– Configuration Management– Domain and Java EE App
Provisioning– MOS Integration & Support
Workbench• Cloud Management
– Self Service– Metering and Chargeback– Consolidation Planner
25 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Integrated Traffic Management New in WebLogic Server 12c• Integrated with Oracle Traffic Director
– Routing, Load Balancing, Traffic Shaping• Fast, highly-configurable request routing and
caching• SSL Crypto acceleration using Intel™ Advanced
Encryption Set• Up to 3.5X More Throughput • and 28% lower CPU than Apache
26 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Traffic Director: Highlights
• Multi-core scaling (0.5m+ simultaneous connections per processor)
• Reverse-proxy routing/load-balancing• Request rate limiting/throttling• In-memory HTTP 1.1 caching• Built-in cluster management• VRRP HA Failover Groups• OAM SSO Integration• Infiniband/SDP support• Hardware-assisted crypto/compression• OVM/OVAB support
27 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic Active GridLink
28 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Active GridLink for RAC New performance optimizations
• Web Session Affinity– New Affinity type in WebLogic Server– Connection requests use Affinity “hint”– Performance for Web Apps
• Configuration Wizard support– Create Gridlink-enabled domains– Templates, Configuration Wizard, WLST
Offline Gridlink “aware”• Fusion Middleware Support
– Standardized RAC integration across FMW
29 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Enhanced HA and Disaster Recovery
Multiple Data Center Architecture Integrated with Active Data Guard
(transaction logs) and GoldenGate (Data Grid Change Data Capture)
Integrated WebLogic/RAC Clusters RAC Aware Pool with RAC Node
Affinity (Session/Transaction), RAC One Node Support and Fast Connection Failover
Coherence
Active GridLink for RAC
Coherence
WebLogic Server
Active GridLinkfor RAC
WebLogic Server
Active Data Guard and Golden Gate
3X
OLT
P
3X
OLT
P
30 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Machine 2
WebLogic Server 12c Disaster Recovery New Features Three-Tier Topology
l Transaction Logs in Database– Option to use DB instead of file store– Enables common storage, replication with
application and JMS data– Configuration benefits– Supported with RAC, Exalogic, Exadata– Maximum performance with GridLink
l JDBC Store Performance– Optimizations for DB Store use cases– Enabler for new DR architectures– Supported with RAC, Exalogic, Exadata– Maximum performance with GridLink
RAC Cluster
WebLogic Cluster
Machine 2Machines
Managed Servers
Machine 1
RACNode 1
Machine 3
RACNode 3
Machine 2
RACNode 2
Web Server Tier
Web Server 2
Local LBWeb Tier
Binaries
Configuration
New
Faster
Application Data
Transaction Logs
JMS Messages
Binaries
Configuration
31 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Disaster Recovery ArchitectureAll State Can be Persisted in Oracle for Simplified Disaster Recovery
32 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Active GridLink configuration
33 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Active GridLink configuration
34 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Active GridLink configuration
35 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Coherence Data Grid
36 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Oracle Coherence: Elastic Data GridGeneral view about Oracle Data Grid
S.O
JVM
Coherence
Oracle WebLogic
S.O
JVM
S.O
JVM
Oracle Coherence
IBM Websphere
• Virtual memory distributed into multiple network servers
• Nodes can be added/removed dynamically
• Linear scalability through lots of network servers
• High availability for real through data replication
• High performance with parallel processing
37 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Integrated Caching, Data Grid Services
• Declarative scale out of session state management with WebLogic• JPA L1/L2 Cache data access with synch/asynch read/write through• Analytics, events and compute• Administration, operations and management built into WebLogic
38 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
POF (“Portable Object Framework”)Oracle Coherence: Advanced Serialization for High Performance
• Comparing serialization formats– XML
<date format=“java.util.Date”>2012-03-28</date>
47 chars (something like 94 bytes depending on encoding)
– Java (java.util.Date with java.io.ObjectOutputStream)46 bytes
– Using Coherence's serialization format (POF)4F 58 1F 70 6C = 5 bytes
39 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic Server: #1 in PerformanceSPECjEnterprise 2010 Performance World Record
• Multi-Node Overall EjOPS– 2.4X more workload than IBM– Running on Oracle Database RAC
• Overall EjOPs per Processor– 56% more workload than IBM
• Overall EjOPS per Core• 50% more workload than IBM
– on identical hardware!
See: http://www.spec.org/jAppServer2010/results/
40 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic on Exalogic
41 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Exalogic Elastic Cloud I Best in Class
• Engineered System
• Extreme performance for Java applications
• Also for Oracle Business Applications
42 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
WebLogic Server on Exalogic
43 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Exabus – High performance Network VirtualizationDirect I/O and Memory access for Java and C++
44 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Optimized for and integrated with WebLogic and Coherence
45 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Winner case
● Growth > 100% ao ano
● +30 servers (hardware)
● +100 instances - RedHat JBoss
● Running Oracle ATG
● Average CPU usage: 60%
http://www.oracle.com/us/corporate/press/1715394
46 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Winner case
● Time of migration: 3 weeks
● ¼ Exalogic
● 16 instances of WebLogic
● Average CPU usage: 80%
http://www.oracle.com/us/corporate/press/1715394
8 Nodes768 GB RAM1.6 TB SSD60 TB NAS
49 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware
Join the WebLogic CommunityTwittertwitter.com/oracleweblogicFacebookfacebook.com/oracleweblogicOracle’s WebLogic blogblogs.oracle.com/weblogicserverYoutubeYoutube.com/oracleweblogicDeveloper Webcast Seriesoracle.com/goto/weblogicdevcast
Oracle.com/weblogic
50 Oracle Technical Workshop | WebLogic 12c & Fusion Middleware