scalability
play

Scalability: Pushing the Limits PNSQC Presentation, October 2014 - PowerPoint PPT Presentation

Scalability: Pushing the Limits PNSQC Presentation, October 2014 Neha Rai, Tim Schooley, Tejas Patil 2 So what is Scalability? Scalability is the ability of a system to successfully handle an increasing workload, or its ability to


  1. Scalability: Pushing the Limits PNSQC Presentation, October 2014 Neha Rai, Tim Schooley, Tejas Patil

  2. 2

  3. So what is “Scalability”? “ Scalability is the ability of a system to successfully handle an increasing workload, or its ability to be expanded without major architectural changes, or detriment.” For a good read, check out “Characteristics of Scalability and Their Impact on Performance”, André B. Bondi, AT&T Labs 3

  4. Once upon a time, there was… 4

  5. Auditing Policy Reports Key escrow User authentication 5

  6. Mission Critical (Photographs for example only ; not indicative of actual customers) [1] [2] [1] By Brian Snelson (originally posted to Flickr as Final assembly) [CC-BY-2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons [2] By U.S. Navy photo by Lt. Arwen Chisholm [Public domain], via Wikimedia Commons 6

  7. McAfee ePolicy Orchestrator Drive Encryption DB AH AH (Agent Handler(s)) McAfee Agent Agent-Server Communication Interval (ASCI) 7

  8. Effects of changing the ASCI, with 100,000 clients 30 Average number of client requests 25 20 per second 15 10 5 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Agent-Server Communication Interval (hours) 8

  9. So we integrated into ePO... Key escrow Auditing Policy Reports Users 9

  10. Are we ready to roll it out? • Does it meet our scalability expectation? We had a number in mind, based on existing ePO scalability guidelines (goal of 100,000). • Will it work for existing customers? Mission critical. It has to work. • Does it meet our quality goals? Do we know what happens when the system reaches its limits? 10

  11. Without testing the limits, bad things™ can happen. Investment ($) in pushing the limits 0 [Confidence in] ability to meet demand 11

  12. Key take-away #1: Understand the risks of not doing Scalability Testing (this will help you determine if you need to do it) 12

  13. What to test? • Covers many • Covers high components complexity code • High impact failure • Covers a very case common use case • Simple result to interpret DB AH AH “5_G>I’N^O!” 1.5x ASCI 13

  14. OK, where are you going to get all the clients from? (Note: this will depend on your architecture) You might not have one of these! [1] By David B. Gleason from Chicago, IL (The Pentagon) [CC-BY-SA-2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons 14 [2] By Rev Stan, Harry Potter studio tour: The cupboard under the stairs [CC-BY-SA-2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Flickr

  15. ePolicy Orchestrator DB AH AH “5_G>I’N^O!” N nodes N nodes 15

  16. So why did we have to simulate? (Optimization) x 100 Not testing Steve’s true ability to cook under heavy demand. 16

  17. So why did we have to simulate? Meaningful data helps uncover the limitations of the system. (for us, it was user data) 17

  18. Example causes of limitations Larger calculations Cache memory Connection pools Contention Disk IO Network IO Recommendation: keep the hardware consistent, and don’t use virtualization unless you expect your customers to use it. 18

  19. 19

  20. 20

  21. Key take-away #2: Define your test scenarios sensibly. Suitable tools for gathering results Keep acceptance criteria simple Target complex areas Aim for broad coverage 21

  22. So how did we run the tests? (the goal was 100k, but we needed to find the limit) # requests/second Increasing cost (setup time) # Nodes 22

  23. What were our findings? (bearing in mind this was a new integration) • The first scalability tests were fireworks . – Crashes, memory leaks, deadlocks. – All uncovering high severity defects. • We identified bottlenecks, then optimized. – Expensive calculations. – Expensive SQL transactions. • We finally obtained a level of confidence. – Now we’re ready to sell it. 23

  24. The results ePO, Agent Handler and SQL server hardware: Dell PowerEdge R515, 2.6GHZ 6C, 8GB, 7.2K SATA Dell PowerEdge R715, 2x 2.0GHZ 8C, 8GB, 15K SAS ASCI: 4 hours Nodes: 100,000 Average requests per second (to DB): ~7 All tests passed on this configuration. Notes: no other point products were installed. These results are advisory only. 24

  25. How might this apply elsewhere? 25

  26. Cost vs Gain Investment ($) in pushing the limits Law of diminishing returns 0 [Confidence in] ability to meet demand 26

  27. Key take-away #3: Invest in Scalability appropriately (it’s a bottomless pit, if you want it to be) 27

  28. Summary • Understand the risks of your system not meeting its Scalability requirements. • Define your test scenarios sensibly. • Invest appropriately in Scalability testing. • Have fun, and enjoy the fireworks! 28

  29. Questions? Neha_Rai@McAfee.com Tim_Schooley@McAfee.com Tejas_Patil@McAfee.com Remember to take the in-app Presentation Survey! 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend