Why Sun for Drupal?

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    1 in 6 live in slums today 1 in 3 by 2020 1 billion lack water 2.6 billion lack sanitation 211 million affected by disaster each year

    Favorites, Groups & Events

    Why Sun for Drupal? - Presentation Transcript

    1.  
    2. Why Sun for Drupal?
        • Scott Mattoon
        • Sun Microsystems, Inc.
        • Job Title Company Name URL of Company or Project
      Session ID
    3. Sun's Connection with Drupal
        • AFH founded in 1999
        • 100's of affiliates
        • 2006 TED Prize Winner
        • OAN Launched 2007
    4. The Participation Age Matters Many Diverse Objects Collaborative Process
      • Hand sketches
      • Photos
      • CAD files
      • Project Plans
      • Designs that are situation appropriate
      • Designs that get re-used
      Better Ideas
      • Architects, Designers, Community Members, NGOs, Funders
      • Crowdsourcing
      • In the first year
      • 1,000+ Projects
      • 10,000+ Members
      • 7 Creative Commons Licenses in Use
      • Million's of Visitors
      • 3,000+ concurrent sessions
      The Community is Amazing
      • 7 Creative Commons Licenses
      • Drupal 4.7 + new OAN modules
      • X64 tuned SAMP Coolstack
      • Solaris 10
      • (2) SunFire X2200 M2 (1) 6 TB StorageTek 3511
      • Hosted at AMD datacenter
    5. Creative Commons Licenses
    6. Ian Murdock: What's a Linux Guy Doing at Sun?
          • Sun Fire T2000: Sun's Eco-friendly Server Tears It Up
      Sun, Intel Landmark Alliance; Intel Endorses Solaris
          • Solaris Technology Wins WSJ’s 2006 Top Innovation Award, Beating Inhalable Insulin
          • Sun Moves to Number Six x86 Server Vendor in 2005
      IDC Worldwide Quarterly Server Tracker November, 2006 AMD/Sun Strategic Alliance; Opteron to Power Sun’s Servers Solaris, Java Go Open Source
          • $0 Solaris Price Tag Levels the Playing Field with Linux
      IBM jumps on the Solaris bandwagon
    7. Network Services Identity Management Java Enterprise System Communications Composite Application Platform Application Platform B2B Web Infrastructure ESB Availability Virtualization Solaris Containers LDOMs / DSD VMware / Xen Architecture Operating System
    8. The S in SAMP stands for Solaris
      • Solaris Zones
        • Free, lightweight and easy virtualization
      • Dtrace
        • Find bottlenecks in PHP code
      • RBAC, Process Rights Management
        • Don't give privileges that aren't needed
      • ZFS
        • Simplify admin, max. integrity, massive scale
      Solaris – Apache – MySQL - PHP/Perl/Python
    9. The S in SAMP stands for Solaris
      • CoolStack 1.2
        • Apache 2.2.6
          • + mod_fcgid-2.2, mod_jk-1.2.25, mod_proxy
        • MySQL 5.0.45
          • + compiler optimization, support for ndbcluster
        • PHP 5.2.4
          • + compiler optimization, dtrace extension, FastCGI support
          • APC version upgraded to 3.0.14.
          • gmp library compiler optimization
      Solaris – Apache – MySQL – PHP
    10. The S in SAMP stands for Solaris
      • CoolStack 1.2
        • Squid 2.6.16
        • Tomcat 5.5.23
        • Ruby 1.8.6, Rails 1.2.3.
        • lighttpd 1.4.18
      Solaris – Apache – MySQL – PHP
    11. Solaris – Linux Benchmark
    12. RESPONSE TIME
    13. THROUGHPUT & ERROR RATE
    14. Need Efficiency & Control?
      • one server
      • host (2) Dev, Test, Production environments
      • maximize sharing, minimize redundancy
      • prevent misconfig, grant least privilege
      • guarantee max. resources for Productions
      • maximize efficiency & consistency btw. envs.
      • recover quickly from failed deployments
      Hypothetical Requirements & Constraints
    15. /opt/coolstack -ro -ro /opt/coolstack' ./apache -ro ./mysql -ro ./php -rw /data/drupal-5.7 -rw -ro -ro /data/drupal-5.1 ./misc -ro -ro ./modules -ro -ro ./scripts -ro -ro ./sites -ro -ro ./themes -rw -ro ./files -ro -ro Solaris Zones for Efficiency & Control ...
    16. Solaris Zones for Efficiency & Control ... MySQL MySQL Apache PHP Apache PHP Apache PHP Apache PHP Apache PHP
    17. Security
      • RBAC
        • Grant users the privileges they need
      • Process Rights Management
        • Run with least privileges
        • E.g., not root, nosuid, noexec
    18. The S in SAMP stands for Solaris MySQL # svcadm -v enable mysql # svcadm refresh mysql # svcadm restart mysql # svcadm disable mysql Apache # svcadm -v enable apache22 # svcadm refresh mysql # svcadm restart mysql # svcadm disable mysql SMF for MySQL & Apache
    19. “ DTrace is one of those tools that makes you wonder how you did anything without it before you'd heard of it. Why is it better than strace and similar tools? It's non-invasive, fast, scriptable and extensible.” - Wez Furlong Find Hampster Wheels with DTrace Dtrace provider for PHP
    20. Performance Tuning Which functions are being called by Drupal? # dtrace -n function-entry'{printf("called %s() in %s at line %d ",copyinstr(arg0), copyinstr(arg1), arg2)}' -q How many times is a function called? # dtrace -n function-entry'{@[copyinstr(arg0)] = count()}' What's the file name and line number count: # dtrace -n function-entry'{@[copyinstr(arg1)] = lquantize(arg2, 0, 5000)}' Dtrace provider for PHP
    21. Resource Management & Isolation Projects # projadd -c "Apache-PHP" -U webservd httpd.php # projmod -sK "project.max-sem-ids=(privileged,256,deny)" httpd.php # svccfg -s http:CSKapache2 setprop start/project = astring: httpd.php # svcadm -v enable CSKapache2 CPU Shares global# zonecfg -z zone1 zonecfg:zone1> add rctl zonecfg:zone1:rctl> set name=zone.cpu-shares zonecfg:zone1:rctl> add value (priv=privileged,limit=15,action=none) zonecfg:zone1:rctl> end zonecfg:zone1> exit Zones: data, configuration
    22. Versioning & Protecting Data $ zfs snapshot /data/site@31Oct $ zfs snapshot /data/site@01Nov - - - WHOOPS - - - $ cp .zfs/snapshot/@01Nov/Drupal_5.2/themes/mysite ./Drupal_5.2/themes ZFS snapshots
    23. Drupal and Java
      • Requires Resin and Quercus
      • Gives you:
        • Database connection pooling
        • JIT Compiler
        • Clustering with Terracotta
        • Easy deployment from NetBeans
      • NetBeans has a nice PHP plugin
      PHP apps, Glassfish, NetBeans
    24. Project Caroline Your Service Code Resource Types + Internet ●●● Cloud Computing in a Grid Launch service using multiple load-balanced processes, connected to a backend database. Flex processes to match demand.
    25. For More Information
      • SMF & Security
        • http://blogs.sun.com/downstream/tags/smf
        • http://www.opensolaris.org/os/community/smf/
        • http://www.sun.com/software/solaris/howtoguides/s10securityhowto.jsp
      • Dtrace
        • http://blogs.sun.com/bmc/entry/dtrace_and_php_demonstrated
        • http://blogs.sun.com/shanti/entry/debugging_amp
      • NetBeans
        • http://www.netbeans.org/
      • Glassfish
        • http://glassfish.java.net/
    26. For More Information
      • ZFS
        • http://opensolaris.org/os/community/zfs/
        • http://tinyurl.com/235vxe
      • RBAC
        • http://blogs.sun.com/darren/tags/rbac
      • Project Caroline
        • https://www.projectcaroline.net/main/
      • VBox – Free Virtualization software
        • http://www.virtualbox.org/
    27. For More Information
      • Open Architecture Network & AFH
        • http://www.openarchitecturenetwork.org/
        • http://www.architectureforhumanity.org/
        • http://www.ted.com/index.php/speakers/view/id/54
        • http://www.architectureforhumanity.org/programs/africa/advisory.html
        • http://blogs.sun.com/downstream/tags/oan
      • Constant innovation
      • Free
      • Open source
      • Incredible performance
      • Enterprise class, worldwide, 24x7 cost-effective support
      • Runs on more hardware
      • Runs more applications
      • We protect our customers
      • We protect the community
      • Huge numbers of customers, installed base, partners
      Why Solaris?
        • Get Solaris sun.com/solaris/get
        • Get Data Sheets and White Papers sun.com/solaris/reference_materials
          • Get Trained sun.com/solaris/freetraining | Learning Paths: sun.com/training/solaris
      1 2 3 4
        • Get Started with Solaris Learning Centers sun.com/solaris/teachme
      5
        • Get Current sun.com/solaris/move | bigadmin.com/apps | bigadmin.com/hcl
      6
          • Get Involved opensolaris.org | bigadmin.com | developers.sun.com/solaris
    28. Q&A
      • Scott Mattoon
      • Sun Microsystems, Inc.

    smattoonsmattoon, 2 years ago

    custom

    1277 views, 0 favs, 4 embeds more stats

    Presentation at Drupalcon Boston 2008 on Wednesday more

    More Info

    CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

    Go to text version
    • Total Views 1277
      • 1194 on SlideShare
      • 83 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 29
    Most viewed embeds
    • 56 views on http://blogs.sun.com
    • 15 views on http://www.csask.com
    • 9 views on http://www.csphp.com
    • 3 views on http://cache.baidu.com

    more

    All embeds
    • 56 views on http://blogs.sun.com
    • 15 views on http://www.csask.com
    • 9 views on http://www.csphp.com
    • 3 views on http://cache.baidu.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories