• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Why Sun for Drupal?
 

Why Sun for Drupal?

on

  • 4,295 views

Presentation at Drupalcon Boston 2008 on Wednesday March 5, 6-7pm

Presentation at Drupalcon Boston 2008 on Wednesday March 5, 6-7pm

Statistics

Views

Total Views
4,295
Views on SlideShare
4,150
Embed Views
145

Actions

Likes
0
Downloads
42
Comments
0

13 Embeds 145

http://blogs.sun.com 57
http://www.csphp.com 22
http://www.csask.com 15
https://blogs.oracle.com 15
http://www.slideshare.net 7
http://cloudpragmatist.tumblr.com 6
http://blogs.downstream.org 6
http://blogs.oracle.com 5
http://www.linkedin.com 4
http://cache.baidu.com 3
http://dounstrem.tumblr.com 3
http://downstream.typepad.com 1
http://www.tumblr.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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

Why Sun for Drupal? Why Sun for Drupal? Presentation Transcript

  •  
  • Why Sun for Drupal?
      • Scott Mattoon
      • Sun Microsystems, Inc.
      • Job Title Company Name URL of Company or Project
    Session ID
  • Sun's Connection with Drupal
      • AFH founded in 1999
      • 100's of affiliates
      • 2006 TED Prize Winner
      • OAN Launched 2007
  • 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
  • Creative Commons Licenses
  • 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
  • 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
  • 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
  • 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
  • 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
  • Solaris – Linux Benchmark
  • RESPONSE TIME
  • THROUGHPUT & ERROR RATE
  • 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
  • /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 ...
  • Solaris Zones for Efficiency & Control ... MySQL MySQL Apache PHP Apache PHP Apache PHP Apache PHP Apache PHP
  • Security
    • RBAC
      • Grant users the privileges they need
    • Process Rights Management
      • Run with least privileges
      • E.g., not root, nosuid, noexec
  • 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
  • “ 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
  • 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
  • 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
  • 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
  • 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
  • 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.
  • 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/
  • 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/
  • 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
  • Q&A
    • Scott Mattoon
    • Sun Microsystems, Inc.