Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1
Tuning the Performance of
Your ColdFusion Environment
to Racecar Specs!
Housekeeping
• This webinar is being recorded and an on-demand
version will be available at the same URL at the
conclusion...
We are Webapper
• Co-founded in 2001 by two former
members of Allaire Consulting
Services
• Speakers today:
• Patrick Quin...
3 Things
One more thing...
+ =
Webapper on the Web
www.webapper.com
www.seefusion.com
www.coldfusionsupport.net
Oh, that...
SeeFusion 5!
‘Splain the session title, please?
• Indy 500
o World’s largest auto race
o We’ve been tuning it @ HOSTING for 5
years
• A...
Results
• 50 r/s X 8 ColdFusion servers (at peak)
• Cloud scaling
• Zero bottlenecks (literally)
• Zero slowdowns
• Active...
The Webapper Way
• How to tune/troubleshoot a
ColdFusion server
o Empirical
o ~ 5 different data sets (logs, memory/thread...
Today
• Good general settings for ColdFusion
o Memory and thread settings
o The ColdFusion connector!
• Q&A
The Performance and Stability Stack
PASS Priorities
“The Engine Room”
The Java Virtual Machine = the real
meaning behind the phrase
“ColdFusion is Java.”
Great Default JVM Settings - 64 bit
-server -Xms6144m -Xmx6144m -XX:+PrintGCDetails -
XX:+PrintGCTimeStamps -XX:+PrintHeap...
Wait, what? JVM Settings Explained
-server
-Xms6144m -Xmx6144m
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -
XX:+PrintHeapA...
JVM Settings Explained
-XX:NewRatio=4 -XX:SurvivorRatio=8
-XX:+UseCompressedOops
-Xss256k
-XX:+CMSClassUnloadingEnabled
-X...
JVM Settings Explained
-XX:+DisableExplicitGC
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+CMSScavengeBeforeRemark
-XX:CMSIniti...
JVM Settings Explained
-XX:CMSFullGCsBeforeCompaction=1
-XX:MaxPermSize=640m -XX:PermSize=640m
-XX:+UseConcMarkSweepGC
Threads and all the rest...
• “TNT checklist” (~55-point inspection)
Threads and all the rest...
• Important thread pools:
o ColdFusion
o Tomcat
o Web server connector
Threads and all the rest...
http://weblogs.asp.net/owscott/windows-
8-iis-8-concurrent-requests-limit
Recommended Thread Settings
• runtime/conf/server.xml:
<Connector port="8012" protocol="AJP/1.3"
redirectPort="8445" tomca...
Recommended Thread Settings
• workers.properties:
worker.{instance}.max_reuse_connections=500
worker.{instance}.connection...
Recommended Thread Settings
• ColdFusion
Administrator:
The Web Server Connector
The Web Server Connector
Summary
• Tune memory
• Tune threads
• Monitor!
• Know thy metrics (logs, monitors, etc.)
New SOTA ColdFusion Cloud Hosting
• Automatically optimized
• Automatically load-balanced
• Automatically redundant
• Auto...
Contact Us
• via Twitter: @IamSigmund
• via Email: patrick@webapper.com
• HOSTING.com Customers:
hosting@webapper.com
• ww...
Michael McCracken | HOSTING Director, Professional Services
Patrick Quinn | Webapper President and CTO
32
For more informa...
Upcoming SlideShare
Loading in …5
×

Tuning the Performance of Your ColdFusion Environment to Racecar Specs!

2,872 views

Published on

Published in: Technology
  • I am really happy with the car I got at auction. What a great deal. Thanks for your service and for your help. ➣➣➣ https://w.url.cn/s/AVD5j1m
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Take the highest paid surveys! ➽➽ https://dwz1.cc/EWG1lhe4
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Just got my check for $500 》》》 https://t.cn/A6ybK3XL
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hello! I can recommend a site that has helped me. It's called HelpWriting.net So make sure to check it out!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Best survey site online! $1,500 a month thanks to you guys! Without a doubt the best paid surveys site online!I have made money from other survey sites but made double or triple with GoldOpinions.com for the same time and effort. The variety and number of daily paid surveys I get from them is unmatched. A must for anyone looking for extra cash or a full time income. ★★★ http://ishbv.com/goldops777/pdf
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Tuning the Performance of Your ColdFusion Environment to Racecar Specs!

  1. 1. 1 Tuning the Performance of Your ColdFusion Environment to Racecar Specs!
  2. 2. Housekeeping • This webinar is being recorded and an on-demand version will be available at the same URL at the conclusion of the webinar • Please submit questions via the button on the upper left of your viewing panel • If we don’t get to your question during the webinar, we will follow up with you via email • View related resources via the “Attachments” button in your viewing panel • On Twitter? Join the conversation: #ColdFusion, @HOSTINGdotcom
  3. 3. We are Webapper • Co-founded in 2001 by two former members of Allaire Consulting Services • Speakers today: • Patrick Quinn: Co-Founder, CTO of Webapper • Mike McCracken: Director, Professional Services for HOSTING
  4. 4. 3 Things
  5. 5. One more thing... + =
  6. 6. Webapper on the Web www.webapper.com www.seefusion.com www.coldfusionsupport.net
  7. 7. Oh, that...
  8. 8. SeeFusion 5!
  9. 9. ‘Splain the session title, please? • Indy 500 o World’s largest auto race o We’ve been tuning it @ HOSTING for 5 years • And, well, ColdFusion is fast!
  10. 10. Results • 50 r/s X 8 ColdFusion servers (at peak) • Cloud scaling • Zero bottlenecks (literally) • Zero slowdowns • Active/passive data tier (SQL Server)
  11. 11. The Webapper Way • How to tune/troubleshoot a ColdFusion server o Empirical o ~ 5 different data sets (logs, memory/thread profiling, monitoring tools) • PASS • How to prioritize “TNT” problems
  12. 12. Today • Good general settings for ColdFusion o Memory and thread settings o The ColdFusion connector! • Q&A
  13. 13. The Performance and Stability Stack
  14. 14. PASS Priorities
  15. 15. “The Engine Room” The Java Virtual Machine = the real meaning behind the phrase “ColdFusion is Java.”
  16. 16. Great Default JVM Settings - 64 bit -server -Xms6144m -Xmx6144m -XX:+PrintGCDetails - XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -verbose:gc - Xloggc:webapperGC219.log -XX:NewRatio=4 -XX:SurvivorRatio=8 - XX:+UseCompressedOops -Xss256k - XX:+CMSClassUnloadingEnabled - -XX:+UseParNewGC - XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly - XX:+CMSScavengeBeforeRemark - XX:CMSInitiatingOccupancyFraction=68 - XX:CMSFullGCsBeforeCompaction=1 Dsun.io.useCanonCaches=false -XX:MaxPermSize=640m -XX:PermSize=640m - XX:+UseConcMarkSweepGC
  17. 17. Wait, what? JVM Settings Explained -server -Xms6144m -Xmx6144m -XX:+PrintGCDetails -XX:+PrintGCTimeStamps - XX:+PrintHeapAtGC -verbose:gc - Xloggc:webapperGC219.log
  18. 18. JVM Settings Explained -XX:NewRatio=4 -XX:SurvivorRatio=8 -XX:+UseCompressedOops -Xss256k -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC
  19. 19. JVM Settings Explained -XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSScavengeBeforeRemark -XX:CMSInitiatingOccupancyFraction=68
  20. 20. JVM Settings Explained -XX:CMSFullGCsBeforeCompaction=1 -XX:MaxPermSize=640m -XX:PermSize=640m -XX:+UseConcMarkSweepGC
  21. 21. Threads and all the rest... • “TNT checklist” (~55-point inspection)
  22. 22. Threads and all the rest... • Important thread pools: o ColdFusion o Tomcat o Web server connector
  23. 23. Threads and all the rest... http://weblogs.asp.net/owscott/windows- 8-iis-8-concurrent-requests-limit
  24. 24. Recommended Thread Settings • runtime/conf/server.xml: <Connector port="8012" protocol="AJP/1.3" redirectPort="8445" tomcatAuthentication="false" maxThreads="525" connectionTimeout="60000" /> <Connector executor="tomcatThreadPool"... /> (Note: connectionTimeout is in milliseconds)
  25. 25. Recommended Thread Settings • workers.properties: worker.{instance}.max_reuse_connections=500 worker.{instance}.connection_pool_size=500 worker.{instance}.connection_pool_timeout=60 (Notes: connection_pool_timeout is in seconds; must be the same as server.xml's connectionTimeout) Reference: http://blogs.coldfusion.com/post.cfm/tuning-coldfusion- 10-iis-connector-configuration
  26. 26. Recommended Thread Settings • ColdFusion Administrator:
  27. 27. The Web Server Connector
  28. 28. The Web Server Connector
  29. 29. Summary • Tune memory • Tune threads • Monitor! • Know thy metrics (logs, monitors, etc.)
  30. 30. New SOTA ColdFusion Cloud Hosting • Automatically optimized • Automatically load-balanced • Automatically redundant • Automatically monitored • Automatic data tier clustering
  31. 31. Contact Us • via Twitter: @IamSigmund • via Email: patrick@webapper.com • HOSTING.com Customers: hosting@webapper.com • www.coldfusionsupport.net www.webapper.com www.seefusion.com
  32. 32. Michael McCracken | HOSTING Director, Professional Services Patrick Quinn | Webapper President and CTO 32 For more information about solutions from HOSTING and Webapper, please contact us at +1 888 894 4678. Q&A

×