sun glassfish portfolio (opensolaris) web stack: …assets.en.oreilly.com/1/event/27/sun glassfish...
TRANSCRIPT
1
Sun GlassFish Portfolio (OpenSolaris) Web Stack: The Next Generation Open Web Infrastructure
Jyri VirkkiMurthy Chintalapati (CVR)
OSCON 2009San Jose, July 22 2009
1
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 2
First Things First: Register to win an iPod Shuffle
• We are giving away a new Apple iPod Shuffle
• Fill our short survey on AMP stack and return to us
• You don't have to be present to win.
Give Aways:
Today at 4PM &&Thursday at 4:30PM
At Sun booth in Expo Hall
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 3
• Business Challenges
• What is Web Stack?
• Why Sun for your AMP Stack?
• Sun Web Server – the fastest and the most scalable> Open Web Server
• Summary
Agenda
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 4
Open Source Pop Quiz – Keep Up With IT!
1) How Many Common Vulnerabilities and Exposures (CVE*) Do You Find for “Apache HTTP Server” in the last 18 mo?
> A) 5> B) 21> C) 15
2) Likewise for “PHP 5”> A) 120> B) 280> C) 576
CVE® International in scope and free for public use, CVE is a dictionary of publicly known information security vulnerabilities and exposures.CVE's common identifiers enable data exchange between security products and provide a baseline index point for evaluating coverage of tools and services.CVE – reported by National Vulnerability Database (NVD) - http://cve.mitre.org/
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 6
• Common Web Vulnerabilities• Multiple Versions• Multiple Platforms• Standardizing Across Products• Getting Community Fixes In Time• Getting Fixes Propagated Upstream
Open Source Business Challenges
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 7
• An 'AMP' (Apache + MySQL + PHP) stack & more> Provides the key web tier open source projects integrated and
tested for interoperability, as part of the OS distribution> Customized to leverage all the advanced OpenSolaris features,
as an integrated profile. Also offered as standalone profile on Solaris 10, RHEL 5 platforms
> Optimized for performance on modern multi-core platforms> Fully supported development tools, and deployment via
management and monitoring > Fully supported for production deployments, including cloud
environments such as Amazon EC2.
What's Web Stack?
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 8
Web Stack component 1.4 (Current) 1.5 (July '09)
Apache HTTP Server* 2.2.9 2.2.111.4.19 1.4.211.2.5 1.2.51.2.25 1.2.27
mod_perl 2.0.2 2.0.2MySQL 5.0.67 5.1.30 and 5.0.67PHP* 5.2.6 5.2.9Python 2.5.2 2.6.1Ruby Gems 0.9.4 1.3.1Ruby 1.8.6 p287 1.8.7p72Squid 2.6.STABLE17 2.7.STABLE5Tomcat 5.5.27 6.0.18
lighttpdmemcachedmod_jk
Web Stack Components
*Note: Web Stack also includes GlassFish v2.1, Hudson Continuous Integration Engine, additional Apache modules and PHP extensions
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 9
Why Sun for your AMP Stack?
• Sun has recognized experts on the virtual team standing behind the Web Stack> Long-time committers and other contributors to Apache HTTP
Server and PHP> Core MySQL development> The original author of lighttpd, as well as other contributors> Memcached contributors> Ruby (and JRuby), Python (and JPython) contributors> Apache Tomcat was originally developed by Sun
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 10
Why Sun for your AMP Stack?
• Deep experience in product integration, performance, QA, and support of these features> Delivering and supporting Apache HTTP Server, Tomcat, MySQL,
and more in Solaris 10> Delivering a rich and up to date set of web components with
– CoolStack for Solaris 10
– OpenSolaris
• Focus on developer experience with support for PHP web development from NetBeans IDE
• Understanding of the entire lifecycle and enterprise needs> Management & Monitoring support via Enterprise Manager
• Full integration with OpenSolaris and leveraging of rich dynamic tracing capabilities of the OS and more
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 11
Web Stack Build system
Web Stack Project build systemhttp://src.opensolaris.org/source/xref/webstack/
UpstreamSource
Tarballs
Packages, Patches & UpdatesSVR4, RPMs and relocatable IPS images
Source Code Patches
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 12
Web Stack – It Just Works!
• Quick and easy setup> Commonly deployed combinations of components all work together e.g.
AMP based frameworks such as Drupal, WordPress, Joomla! CMS configurations deploy in less than five minutes!
• Support for multiple platforms> Solaris 10, OpenSolaris and RHEL 5.2.
• Solaris Integration> DTrace probes, SMF integration and RBAC support.> Performance & Horizontal Scaling
– Olio/PHP benchmark on Intel Nehalem based Sun H/W demonstrates 10K simultaneous users/1M users in MySQL.
• Management & Monitoring via Enterprise Manager
• Production support through Sun GlassFish Portfolio subscriptionssun.com/webstack
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 13
Benefits of OpenSolaris
• ZFS rocks!> Data management made easy w/ lightweight snapshots> Copy on write semantics; Support for native NFSv4 ACLs
• DTrace> Improves observability of software stack> Diagnose most crippling performance problems
• RBAC Security> Allows delegation of parts of system administration
tasks to users via roles.
• SMF> Self-healing for services.
• Compatibility> Assurance of compatibility
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 14
Web Stack 1.5 New Features
• Performance Improvements
• Enterprise Manager> Graphical administration and monitoring console> Integrated system view of all the independent web stack
components> A Value Add On for paying customers (with a Portfolio
Subscription); A 30-day Try & Buy version is available for free.
• Update Center> Relocatable, multi-install distributions based on OpenSolaris IPS> Supported on Solaris 10 and RedHat
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 15
Web Stack Performance on Nehalem
• Workload – Apache Olio/PHP
• Servers based on Intel® Xeon® Processor 5500 series
• Web server + Memcached (1 system)> 2 quad-core Intel Xeon 5570 CPUs at 2.9 Ghz with 48GB main
memory (Sun Fire X2270 server configuration) > Hyper-threading is on – effectively 16 threads> Apache, PHP, memcached from OpenSolaris 2008.11
• Database – (3 systems)> 2 quad-core Intel Xeon 5540 CPUs at 2.53 Ghz (Sun Fire
X4170 configuration)> Using MySQL 5.1 Replication (1 master, 2 slaves)> Database on internal drives (ZFS)
• Excellent Web 2.0 infrastructure building blocks.
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 16
Web Stack Performance:Single Server Scaling with Olio/PHP**
0 1000 2000 3000 4000 5000 60000
10
20
30
40
50
60
70
80
CPU
Users
CP
U
Uti
l.
**Apache Olio AMP benchmark Implementation details here:http://incubator.apache.org/olio/
Sun GlassFish Web Stack * Apache HTTP Server 2.2.9 * PHP 5.2.6 * Memcached 1.2.5 * MySQL 5.1 with patches
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 17
Web Stack Performance:Horizontal Scaling Scaling with Olio/PHP**
Web Stack scales to 10,000 users asMySQL database hosts1 Million users totaling1 TB of data.
**Source: Sun Blueprint: Deploying Web 2.0 Applications on Sun Servers and the OpenSolaris Operating System with Apache Olio/PHP Workloadhttp://wikis.sun.com/display/BluePrints/Deploying+Web+2.0+Applications+on+Sun+Servers+and+the+OpenSolaris+Operating+System
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 18
Web Stack Enterprise Manager Preview
! Dashboard! Server/Runtimes listing w/ status! Message/Alerts console! Monitoring graphs with analytics! System-wide data! Server level data
! Server management! Start/Stop! Log viewer
! Available as a value add on to Web Stack customers with GlassFish Portfolio Subscription
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 22
Getting Updates via Web Stack Update Center
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 23
Production Support – Easy to Acquire
Top Benefits:
GlassFish Portfolio Offers Great ValueGlassFish Enterprise Server & Web Stack at the Basic level;
Also included are Sun Web Server, Web Space Server and more. http://www.sun.com/software/products/glassfish_portfolio/inside.jsp
+• Basic
• Silver
• Gold
• Platinum
MySQL Enterprise
(per server, per year in USD)
$599
$1,999
$2,999
$4,999
• Basic
• Silver
• Gold
• Platinum
GlassFish Portfolio
(per server, per year in USD)
$999
$2,999
$5,999
$8,999
Same levels,structure as
MySQL
GlassFish Portfolio
(per server, per year in USD)
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 24
Sun GlassFish PortfolioThe Complete Web Tier
• Sun Web Server
• Apache HTTPd
• GlassFish, Tomcat
• Lighttpd
• MySQL, Memcached
• Mod_jk, mod_perl,
• PHP, Ruby, Python
• SquidMediaWiki, Drupal, Wordpress, Joomla — deploy in minutes!
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 25
Sun Web Server Trivia
• 276 K LOC
• 232,000 +
• 5,170
• One GB per minute
• One Billion minutes of streaming media & 90M views/day
• New York Times (NYTimes.com)
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 26
Sun Web Server Trivia
• Number of lines of code in its Open Web Server• 232,000 +
> Simultaneous HTTP connections (on Sun Fire T5220)
• 5,170> Secure E-commerce (JSP) requests per sec (w/ think time)!
• One GB per minute> Web Server's access log per minute!
• One Billion minutes of streaming media & 90M views/day> MLB.com's over 2,430 full length games to over one billion
visitors w/ record breaking 90million views a day• New York Times (NYTimes.com)
> Reportedly served (at least in part) by Sun Web Server.
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 27
Sun Web Server
• Roots based in the iPlanet / Netscape Enterprise Server> Now open sources under BSD license
• Global base of Fortune 500 customers in the financial, telco, media, government and manufacturing sectors.
• Scales best on modern 64-bit multi-core, CMT architectures, consistently wins world record SPECweb benchmark results on Solaris.> A Single 64-bit Web Server instance can support over 232,000
simultaneous HTTP connections!
• Supports Java Servlets with an in-process web container.
• Frontends J2EE Servers, e.g. WebSphere, WebLogic and GlassFish> http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg21171754
> http://download.oracle.com/docs/cd/E10383_01/doc/bip.1013/e11867/T434820T487783.htm
> http://docs.sun.com/app/docs/doc/820-4341/geobp?a=view
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 28
Open Web Server
• Sun Web Server is now open sourced> Includes HTTP server core components> Source coded hosted on OpenSolaris web stack project and can be
built on most Unix platforms.> Released under BSD License> For more details, visit:
http://wikis.sun.com/display/wsFOSS/Open+Web+Serverand the announcement: http://blogs.sun.com/jyrivirkki/entry/announcing_open_source_web_server
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 29
Sun Web Server 7.0 Overview
> New web based graphical administration console> Full-featured, scriptable, secure admin CLI> Cluster Management> Conditional request processing, Support for regular
expressions and URL rewriting, sed filtering, etc.> Updated Java servlet specs and session replication> WebDAV Access Control Protocol> SSL enhancements such as Dynamic CRL revocation, DoS
avoidance, updated FIPS compliance, and other security enhancements
> Integrated Reverse Proxy and FastCGI plugin> Improved diagnosability> ...
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 30
Sun Web Server 7.0 Overview
ServerApplicationFunctions(SAFs)}
Servlet Container
Based on
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 31
Unbeatable Web Server Performance
SPECweb E-Commerce workload
Fantastic Speed with Superior Security
Web Stack simplifies support for small and large deployments
Page load times (seconds)
• Performs at least 2x v.s. Apache + Tomcat on a modest configuration
• Scalable connection handling, multi-threaded server architecture with integrated servlet container.
• Fantastic speed with superior scalability and manageability
• Chosen by Fortune 500 Enterprises Worldwide.
Tomcat 6.0.13/Coyote SSL
Tomcat 6.0.13/Coyote
Apache 2.2.4, Tomcat 6.0.13 with AJP 1.3 SSL
Apache 2.2.4, Tomcat 6.0.13 w/
Sun Web Server 7 SSL
Sun Web Server 7
2000
4000
6000
8000
10000
12000
14000
16000
18000
20000
SunFire T2000 1.2GHz 32GB
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 32
Sun Fire T5220 (Niagara 2)• 8core, 64-thread system on chip CPU
• On-chip crypto processor (NCP) with 8x FPUs
• 10GbE networking
The Most Eco-friendly web server
SPECweb2005 benchmark - Simultaneous User SessionsSystem Metric Bank Support E-comm Way/Ghz #core HP DL585 G2 22254 38400 20704 30720 4/3 Opteron 8SunFire T5220 41847 70000 40000 58000 1/1.4 Sun T2 8HP DL580 G5 43854 76032 39456 62304 4/2.31 Xeon 16
+Sun Web Server 7.0u3
• Staggering performance: 232,000+ simultaneous HTTP connections, 131,000 banking ops/sec (i.e. 1GB access log/minute) and 1.4 terabytes of data over secure HTTP interface!
http://www.spec.org/web2005/results/res2008q2/web2005-20080408-00105.html
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 36
Sun Blogs (blogs.sun.com – A Sun Web Server site profile• Premier blogging infrastructure for Sun employees
• Hosted on SunFire T2000 servers, Web Server 7.0 and MySQL
http://www.sun.com/bigadmin/features/articles/sunblogs.jsp?feed=RSS
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 37
• One of the Internet’s largest dynamic JSP content providers with hundreds of thousands of JSP files active on any given day. 15 live games daily; One billion minutes of streaming media over 2,430 full length games to over one billion visitors w/ record breaking 90million views a day!.
MLB.com: A Sun Web Server Reference Deployment
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 38
Summary
• Sun GlassFish Web Stack> Leverage your existing LAMP/SAMP expertise> Go to market faster with ease of use features> Deliver better performance
• Get production support for all components from one source, from Sun's recognized open source experts on the virtual team standing behind the Web Stack.
• For more information on the Web Stack and the Sun GlassFish Portfolio, visit sun.com/webstack.
• For more information on the Sun Web Server, visit sun.com/webserver.
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 39
Contacting Web Stack/Web Server team• OpenSolaris Web Stack Project:
> http://opensolaris.org/os/project/webstack/
• OpenSolaris Web Stack discussion:> [email protected]
• Sun Glassfish Web Stack product page:> http://www.sun.com/software/webstack/
• Solaris 10/RHEL download page:> http://www.sun.com/software/webstack/ and click on “Get It!”
• Web Stack product forum:> http://forums.sun.com/forum.jspa?forumID=980
• Sun Web Server product forum - > http://forums.sun.com/forum.jspa?forumID=759&start=0
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 40
Demo: Web Stack Enterprise Manager• Key Concept:
> Mangement and Monitoring ease of use > Using Sun Web Stack 1.5
41
Sun GlassFish Portfolio (OpenSolaris) Web Stack: The Next Generation Open Web Infrastructure
OSCON 2009San Jose, July 22 2009.
41
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 42
Sun Java System Web Server 7.0 (formerly Sun ONE Web Server, originally Netscape Enterprise Server)
• Supporting:> HTTP/1.0, HTTP/1.1> JSP/Servlet> CGI> FastCGI> SHTML> HTML> LDAP, Access Control> SSL/ECC
• Improve Web security and performance• Reduce Cost & Complexity• Reduce administration complexity
> Built-in cluster management> Scriptable command line administration
tools
• Platform Support:> Solaris 8, 9, 10 (UltraSPARC 32-bit, 64-bit)> Solaris 9, 10 (x86); Solaris 10 (x64/AMD64)> OpenSolaris 2008.11 (x86/AMD64)> Windows 2000, XP SP2, 2003 Server, EE> RedHat EL 3.0 (32-bit only), 4.0 U4 or later, 5.0,
SUSE EL 9, 10 SP2 (32-bit, 64-bit) > HP-UX 11iv1> AIX 5.2, 5.3FREE under Solaris Enterprise Licensing
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 43
GlassFish Enterprise ServerMission Critical Application Tier
• Enterprise Grade> Five 9's of availability> Advanced management
• Superior Price/Performance
• Easy to Use
• Feature Richness> Support for Dynamic
Languages> Interop with .NET 3.0
• The Java EE Standard14,000,000+ Downloads WorldwideDozens of external Committers
Over 7,000 Members
OpenSolaris Web Stack Project/Sun GlassFish Web Stack 44
Web Space Server (Liferay)Complete User Interaction Platform
• Web / Portal Platform> Content / Widgets / WOA
• User Collaboration> Wiki, Blogs, Forums, etc.
• Social Networking> Open Social support for
social graph> User defined communities
• Process and Human Workflow
• Runs on Most Java Servlet containersAdd social networking
to content delivery.