If you can't read please download the document
Upload
smattoon
View
2.153
Download
2
Embed Size (px)
DESCRIPTION
Technologies and techniques for improving efficiency of Drupal development, deployment, operation. Featuring open source technologies from Sun.
Citation preview
Session ID 2. NetBeans for PHP
http://wiki.netbeans.org/FeatureListEAPHP 3. DEMO Session ID 4. SAMP 5. The S in SAMP stands for Solaris
Solaris Apache MySQL - PHP/Perl/Python 6. The S in SAMP stands for Solaris
Solaris Apache MySQL PHP 7.
The S in SAMP stands for Solaris Solaris Apache MySQL PHP 8. Solaris Linux Benchmark 9. RESPONSE TIME 10. THROUGHPUT & ERROR RATE 11. Need Efficiency & Control?
Hypothetical Requirements & Constraints 12. /opt/coolstack -ro -ro /opt/coolstack' ./apache -ro ./mysql -ro ./php -rw /data/drupal-6.4 -rw -ro -ro /data/drupal-5.10 ./misc -ro -ro ./modules -ro -ro ./scripts -ro -ro ./sites -ro -ro ./themes -rw -ro ./files -ro -ro Solaris Zones for Efficiency & Control ... 13. Solaris Zones for Efficiency & Control ... MySQL MySQL Apache PHP Apache PHP Apache PHP Apache PHP Apache PHP 14. Security
15. 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 16. 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 FurlongFind Hampster Wheels with DTrace Dtrace provider for PHP 17. Performance Tuning - DEMO Which functions are being called by Drupal? # dtrace -n function-entry'{printf("called %s() in %s atline %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 18. 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 19. 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 20. Drupal and Java
PHP apps, Glassfish, NetBeans 21. Project Caroline - DEMO YourService 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. 22. For More Information
23. For More Information
24. Q&A
25. Ian Murdock: What's a Linux Guy Doing at Sun?
Sun, Intel Landmark Alliance; Intel Endorses Solaris
IDC Worldwide Quarterly Server Tracker November, 2006 AMD/Sun Strategic Alliance; Opteron to Power Suns Servers Solaris, Java Go Open Source
IBM jumps on the Solaris bandwagon 26. 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 27.
Why Solaris? 28.
1 2 3 4
5
6
29. Sun's Connection with Drupal
30. The Participation Age Matters Many Diverse Objects Collaborative Process
Better Ideas
31.
The Community is Amazing 32.
33. Creative Commons Licenses 34. Sample of Sun Drupal Sites