It seems that everywhere you look these days people are needing to work on high performance/low latency applications. If they're not already working on them, then they want to be. But what do you really need to know when you're working on performance-sensitive systems? Where do you get started? In this session, Trisha outlines things you need to consider when thinking about performance, covers some of the frequently-asked questions, and notes the pitfalls and common traps that developers fall into.
6. Do you care about...?
• Latency
Wednesday, 17 October 12
7. Do you care about...?
• Throughput
Wednesday, 17 October 12
8. Do you care about...?
• Responsiveness
Wednesday, 17 October 12
9. Do you care about...?
• Stability
Wednesday, 17 October 12
10. Do you care about...?
• Restricted hardware
Wednesday, 17 October 12
11. NFRs Are Not Evil
• 99.99% of all orders processed in less than 10ms
• 7000 tweets per second
• Pages load in less than 0.1 seconds
• Must be able to fail over in less than 10 seconds
• 2000 price updates per second with 99% latency of <10ms
Wednesday, 17 October 12
28. Questions
• Why Java?
Wednesday, 17 October 12
29. Questions
• Why Java?
• How does technology x compare to
technology y?
Wednesday, 17 October 12
30. Questions
• Why Java?
• How does technology x compare to
technology y?
• How can I run multi-threaded / in parallel?
Wednesday, 17 October 12
31. Questions
• Why Java?
• How does technology x compare to
technology y?
• How can I run multi-threaded / in parallel?
• Can I throw more hardware at it?
Wednesday, 17 October 12
32. Questions
• Why Java?
• How does technology x compare to
technology y?
• How can I run multi-threaded / in parallel?
• Can I throw more hardware at it?
• How do I speed up <item out of my control>?
Wednesday, 17 October 12
33. Questions
• Why Java?
• How does technology x compare to
technology y?
• How can I run multi-threaded / in parallel?
• Can I throw more hardware at it?
• How do I speed up <item out of my control>?
• Where’s my magic bullet?
Wednesday, 17 October 12
45. Java Stuff
• The Garbage Collector Is Not Your Enemy
• The JVM Is Smarter Than You
• Synchronized Is Evil
• Don’t Forget The Machine
• ...it might not be your code
Wednesday, 17 October 12