Docstoc

Sun GlassFish Portfolio _OpenSolaris_ Web Stack The Next

Document Sample
Sun GlassFish Portfolio _OpenSolaris_ Web Stack The Next Powered By Docstoc
					Sun GlassFish Portfolio
(OpenSolaris) Web Stack:
The Next Generation
Open Web Infrastructure

Jyri Virkki
Murthy Chintalapati (CVR)

OSCON 2009
San Jose, July 22 2009
                            1
                            1
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   2
Agenda
• 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




                 OpenSolaris Web Stack Project/Sun GlassFish Web Stack   3
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              CVE® International in scope and free for public
                        use, CVE is a dictionary of publicly known
2) Likewise for “PHP 5” information security vulnerabilities and exposures.
                        CVE's common identifiers enable data exchange
   > A) 120             between security products and provide a baseline
                        index point for evaluating coverage of tools and
   > B) 280             services.
                        CVE – reported by National Vulnerability Database
   > C) 576             (NVD) - http://cve.mitre.org/




                       OpenSolaris Web Stack Project/Sun GlassFish Web Stack   4
Open Source Pop Quiz – Keep Up With IT!




            OpenSolaris Web Stack Project/Sun GlassFish Web Stack   5
Open Source Business Challenges
•   Common Web Vulnerabilities
•   Multiple Versions
•   Multiple Platforms
•   Standardizing Across Products
•   Getting Community Fixes In Time
•   Getting Fixes Propagated Upstream




               OpenSolaris Web Stack Project/Sun GlassFish Web Stack   6
What's Web Stack?

• 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.

                      OpenSolaris Web Stack Project/Sun GlassFish Web Stack   7
Web Stack Components
Web Stack component              1.4 (Current)                       1.5 (July '09)
Apache HTTP Server*              2.2.9                               2.2.11
lighttpd                         1.4.19                              1.4.21
memcached                        1.2.5                               1.2.5
mod_jk                           1.2.25                              1.2.27
mod_perl                         2.0.2                               2.0.2
MySQL                            5.0.67                              5.1.30 and 5.0.67
PHP*                             5.2.6                               5.2.9
Python                           2.5.2                               2.6.1
Ruby Gems                        0.9.4                               1.3.1
Ruby                             1.8.6 p287                          1.8.7p72
Squid                            2.6.STABLE17                        2.7.STABLE5
Tomcat                           5.5.27                              6.0.18
*
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          8
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   9
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   10
Web Stack Build system




         Upstream                                      Source
           Source                                      Code
          Tarballs                                     Patches
        Web Stack Project build system
        http://src.opensolaris.org/source/xref/webstack/

            Packages, Patches & Updates
        SVR4, RPMs and relocatable IPS images
                  OpenSolaris Web Stack Project/Sun GlassFish Web Stack   11
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 subscriptions
  sun.com/webstack
                     OpenSolaris Web Stack Project/Sun GlassFish Web Stack   12
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   13
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   14
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   15
        Web Stack Performance:
        Single Server Scaling with Olio/PHP**

              80
                                                                                   Sun GlassFish Web Stack
              70                                                                     * Apache HTTP Server 2.2.9
              60
                                                                                     * PHP 5.2.6
                                                                                     * Memcached 1.2.5
              50                                                                     * MySQL 5.1 with patches
              40                                                                              CPU
        CPU
Util.




              30

              20

              10

               0
                   0   1000   2000     3000         4000          5000          6000
                                     Users
                                                                                       **Apache Olio AMP benchmark
                                                                                       Implementation details here:
                                                                                       http://incubator.apache.org/olio/
                                      OpenSolaris Web Stack Project/Sun GlassFish Web Stack                         16
Web Stack Performance:
Horizontal Scaling Scaling with Olio/PHP**




                                                                                           Web Stack scales to
                                                                                           10,000 users as
                                                                                           MySQL database hosts
                                                                                           1 Million users totaling
                                                                                           1 TB of data.




**Source:
Sun Blueprint: Deploying Web 2.0 Applications on Sun Servers and the
OpenSolaris Operating System with Apache Olio/PHP Workload
http://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                                17
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   18
Web Stack Enterprise Manager Preview




              OpenSolaris Web Stack Project/Sun GlassFish Web Stack   19
Web Stack Enterprise Manager Preview




              OpenSolaris Web Stack Project/Sun GlassFish Web Stack   20
Web Stack Enterprise Manager Preview




              OpenSolaris Web Stack Project/Sun GlassFish Web Stack   21
Getting Updates via Web Stack Update Center




               OpenSolaris Web Stack Project/Sun GlassFish Web Stack   22
Production Support – Easy to Acquire

 Top Benefits:

    MySQL Enterprise
                                                +                      GlassFish Portfolio
                                                                                                       Same levels,
                                                                                                       structure as
                                                                                                          MySQL




    (per server, per year in USD)                                      (per server, per year in USD)
•    Basic                      $599                               •    Basic                   $999
•    Silver                     $1,999                             •    Silver                  $2,999
•    Gold                       $2,999                             •    Gold                    $5,999
•    Platinum                   $4,999                             •    Platinum                $8,999

                     GlassFish Portfolio Offers Great Value
                GlassFish 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
                               OpenSolaris Web Stack Project/Sun GlassFish Web Stack                              23
Sun GlassFish Portfolio
The Complete Web Tier


                                                   •    Sun Web Server
                                                   •    Apache HTTPd
                                                   •    GlassFish, Tomcat
                                                   •    Lighttpd
                                                   •    MySQL, Memcached
                                                   •    Mod_jk, mod_perl,
                                                   •    PHP, Ruby, Python
 MediaWiki, Drupal, Wordpress,                     •    Squid
  Joomla — deploy in minutes!

                    OpenSolaris Web Stack Project/Sun GlassFish Web Stack   24
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   25
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   26
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          27
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+Server
   and the announcement:
   http://blogs.sun.com/jyrivirkki/entry/announcing_open_source_web_server




                       OpenSolaris Web Stack Project/Sun GlassFish Web Stack   28
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   29
Sun Web Server 7.0 Overview



                                                                     }
                                                                           Server
                                                                           Application
                                                                           Functions
                                                                           (SAFs)

                                                                     Servlet Container




                               Based on



             OpenSolaris Web Stack Project/Sun GlassFish Web Stack                       30
Unbeatable Web Server Performance
  SPECweb E-Commerce workload
                                                                                                           Page load times (seconds)


 SunFire T2000 1.2GHz 32GB
20000                                                                                 • Performs at least 2x v.s.
18000

16000
                                                                                        Apache + Tomcat on a
14000
                                                                                        modest configuration
12000
                                                                                      • Scalable connection
                                                                                        handling, multi-threaded
10000

8000

6000                                                                                    server architecture with
4000                                                                                    integrated servlet container.
2000
        Tomcat
        6.0.13/Coy
                     Tomcat
                     6.0.13/Coy
                                  Apache
                                  2.2.4,
                                                Apache
                                                2.2.4,
                                                            Sun Web
                                                            Server 7
                                                                       Sun Web
                                                                       Server 7
                                                                                      • Fantastic speed with superior
        ote SSL      ote          Tomcat
                                  6.0.13 with
                                                Tomcat
                                                6.0.13 w/
                                                            SSL
                                                                                        scalability and manageability
   Web Stack simplifies support for
                                  AJP 1.3
                                                                                              Fantastic Speed
                                                                                      •   Chosen by Fortune 500
                                  SSL

    small and large deployments                                                            with Superior Security
                                                                                          Enterprises Worldwide.
                                                   OpenSolaris Web Stack Project/Sun GlassFish Web Stack                               31
The Most Eco-friendly web server
http://www.spec.org/web2005/results/res2008q2/web2005-20080408-00105.html




                                                                    +
                                                              Sun Web Server 7.0u3
 Sun Fire T5220 (Niagara 2)
                                                                • Staggering performance: 232,000+
 • 8core, 64-thread system on chip CPU
                                                                  simultaneous HTTP connections, 131,000
 • On-chip crypto processor (NCP) with 8x FPUs                    banking ops/sec (i.e. 1GB access log/minute)
 • 10GbE networking                                               and 1.4 terabytes of data over secure HTTP
                                                                  interface!
          SPECweb2005 benchmark - Simultaneous User Sessions
System        Metric Bank Support E-comm Way/Ghz          #core
HP DL585 G2 22254 38400    20704 30720       4/3 Opteron     8
SunFire T5220 41847 70000  40000 58000      1/1.4 Sun T2     8
HP DL580 G5 43854 76032    39456 62304       4/2.31 Xeon    16
                                 OpenSolaris Web Stack Project/Sun GlassFish Web Stack                      32
Sun Web Server 7.0 Administration (GUI)




             OpenSolaris Web Stack Project/Sun GlassFish Web Stack   33
Sun Web Server 7.0 Administration (CLI)




             OpenSolaris Web Stack Project/Sun GlassFish Web Stack   34
Sun Web Server 7.0 Cluster Management




             OpenSolaris Web Stack Project/Sun GlassFish Web Stack   35
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   36
MLB.com: A Sun Web Server Reference Deployment
• 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!.




                      OpenSolaris Web Stack Project/Sun GlassFish Web Stack   37
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   38
Contacting Web Stack/Web Server team
• OpenSolaris Web Stack Project:
  > http://opensolaris.org/os/project/webstack/
• OpenSolaris Web Stack discussion:
  > webstack-discuss@opensolaris.org
• 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   39
Demo: Web Stack Enterprise Manager
• Key Concept:
  > Mangement and Monitoring ease of use
  > Using Sun Web Stack 1.5




                     OpenSolaris Web Stack Project/Sun GlassFish Web Stack   40
Sun GlassFish Portfolio
(OpenSolaris) Web Stack:
The Next Generation
Open Web Infrastructure
OSCON 2009
San Jose, July 22 2009.

                           41
                           41
Sun Java System Web Server 7.0
(formerly Sun ONE Web Server, originally Netscape Enterprise Server)

                                         • Improve Web security and performance
                                         • Reduce Cost & Complexity
                                         • Reduce administration complexity
                                           > Built-in cluster management
                                           > Scriptable command line administration
                                             tools


                                         • Platform Support:
• Supporting:                                 >    Solaris 8, 9, 10 (UltraSPARC 32-bit, 64-bit)
  > HTTP/1.0, HTTP/1.1                        >    Solaris 9, 10 (x86); Solaris 10 (x64/AMD64)
  > JSP/Servlet                               >    OpenSolaris 2008.11 (x86/AMD64)
  > CGI                                       >    Windows 2000, XP SP2, 2003 Server, EE
  > FastCGI                                   >    RedHat EL 3.0 (32-bit only), 4.0 U4 or later, 5.0,
                                                   SUSE EL 9, 10 SP2 (32-bit, 64-bit)
  > SHTML                                     >    HP-UX 11iv1
  > HTML                                      >    AIX 5.2, 5.3
  > LDAP, Access Control                      FREE under Solaris Enterprise Licensing
  > SSL/ECC
                            OpenSolaris Web Stack Project/Sun GlassFish Web Stack                       42
GlassFish Enterprise Server
Mission 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
   14,000,000+ Downloads Worldwide
                                                       • The Java EE Standard
     Dozens of external Committers
         Over 7,000 Members
                       OpenSolaris Web Stack Project/Sun GlassFish Web Stack          43
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
   Add social networking                             containers
    to content delivery.
                 OpenSolaris Web Stack Project/Sun GlassFish Web Stack                 44

				
DOCUMENT INFO