Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе

640 views

Published on

Презентация Андрея Кузьмичева, Руководителя группы нагрузочного тестирования
Конференция SQA Days Spb, ноябрь 2010

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
640
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе

  1. 1. 01"2-/3)"141$2%5"16$)*7."7%8%98-$7/1"-%/:"#%29%!"#$%&()*+,-.%/=70:>:<?14@A$857BBC$/.857D:E/:8:$14F1?5:>./?;!"#$%&($)*+*,$-./012341456758,+92)*$/:;65;$)*+*$8:<.
  2. 2. Yet another Conference 2010 !"#$%&, 1 "$()*(http://company.yandex.ru/public/yac/
  3. 3. !"#$%&&()*)+,?!
  4. 4. Visual Studio Load Test Apache JMeter Siege TsungWebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  5. 5. -"./01$ 1 2"+"31$ %"(45+6
  6. 6. 7).$(/,1$ 1 8$4*.)5(6$ %"(45+6
  7. 7. 9)%"*14(6$ %"(45+6
  8. 8. !"#$%&("$) "*+%&,-."-+- $(#$/%-0*"/1 *)"+$%& ,-"./%&!"#$%&()%&
  9. 9. Visual Studio Load Test Apache JMeter Siege TsungWebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  10. 10. Visual Studio Load Test Apache JMeter Siege TsungWebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  11. 11. +,-&.&*$ «Yeah, well... Im gonna go build my own theme park, with blackjack and hookers. In fact, forget the park!» Bender, Futurama
  12. 12. !"#$%&("$) "*+%&,-."-+- $(#$/%-0*"/1 *)"+$%& ,-"./%&!"#$%&()%&
  13. 13. /0&-1. ,"0&12 .3"4 52$676-8?2. 9/" 2 $6. 7")20()".:3. ;/./27)&$(& 14. 9/" 2 $6. 7")20()".:5. ;/./27)&$(& 26. 9/" 2 $6. 7")20()".:7. <6/6-.(.
  14. 14. 1. 2-.(& #0-3 4&"*5*%6?2. 7$- & "*# 5-8&./8-#93. :$#$&58("/(4. 7$- & "*# 5-8&./8-#95. :$#$&58("/(6. 2-.(& 4&"*5*%6?7. 2-$-& .$- 4&"*5*%6!
  15. 15. Phantom:5" 41./(" "*51%1;1+"<)((6= .$$$$$3,1= web-4$+<$+, ,"5"+6= ()&#1.4> ;)2)<)5/ <"*+"46
  16. 16. 1*&-2-32 *24,05&"% ?3+$31+"<)((6$ 2)((6$
  17. 17. 1*&-2-32 *24,05&"%!".(6= 2)%* ;)*+"4"<, "5<$5"<, <+$%$(1 <6*".($(1>
  18. 18. 1*&-2-32 *24,05&"% @"445)("<.$(()> 45+&,5&+) ;)*+"4"< /route_jams/*/abc? z=[`11`-`17`] &origin=(‘jsRouter’,‘maps’) &[rll=*] &[output=‘geometry’]
  19. 19. 1*&-2-32 *24,05&"% ? $AB 45)51451,) 4 %10$($=, *)+)%$5+6 ",+&C$(1> 1 $A$ %("3" #$3" :)
  20. 20. !"#$$ 7"(15"+1(31 JIRAWiki 95)51451,)
  21. 21. 1. 2-.(& #0-3 4&"*5*%6?2. 7$- & "*# 5-8&./8-#93. :$#$&58("/( 14. 7$- & "*# 5-8&./8-#95. :$#$&58("/( 26. 7$- & "*# 5-8&./8-#97. 2-$-& .$- 4&"*5*%6!
  22. 22. !"#$$ 7"(15"+1(31Wiki JIRA 95)51451,)
  23. 23. over 10004 20 !+ ($)#$% #$ %"& daily" 400 + !"# $%&#
  24. 24. !"#$ % JIRA <"17"$&$/6 «=6>-2?"0$"& /&./(-"36$(&» %#&()*)+*,#-".)/ &(0
  25. 25. !"#$ % JIRA <"17"$&$/6 «=6>-2?"0$"& /&./(-"36$(&»1+(2"3 «4#-,+ - ,#-".)5. &(*., +6.*)*))5* 6# &-(*7)+* 5 .+)8"»
  26. 26. &(*., +6.*)*))5* 6# &-(*7)+* 5 .+)8"»
  27. 27. &(*., +6.*)*))5* 6# &-(*7)+* 5 .+)8"»+,-&.&*$: 4&6&-32 % @6?6 A6$$%Bcron $&76,8 93-,, 52$676-86C3&A"1)&$(& 1$& C3&A"1)&$(& 3 3 7"0/2 jabber ."/-2A$(82
  28. 28. JIRA: dashboard $*"6/#$*
  29. 29. JIRA: dashboard #8&;<)
  30. 30. JIRA: /"=-%*>/1 /, 4&"*5*%6*
  31. 31. 4&"*5*%6: 0#( - ,*?*.(
  32. 32. !
  33. 33. 1. 2-.(& 4&"*5*%6?2. 7$- & "*# 5-8&./8-#93. :$#$&58("/( 14. 7$- & "*# 5-8&./8-#95. :$#$&58("/( 26. 7$- & "*# 5-8&./8-#97. @*$*%#/#
  34. 34. A6$/0")3 $(#$
  35. 35. B(#$ ,*6-".("
  36. 36. :3054;D2$(51E1,)5"+ 2.> G)*+1%$+, <4B 3+&**6 ;)*+"4"< < ,+"%$ %"+26, +)%,)F 5$45) ;)*+"4"< , *)+5($+)% 1 *$+$4)2",
  37. 37. CSEDays Application 2010 <$&2*3-),*=, 12-14 -"()*(http://clck.ru/2_pR
  38. 38. A0$-*$/.(#6-( 0)108("/( %*,8*?-6
  39. 39. A0$-*$/.(#6-( 0)108("/( %*,8*?-6
  40. 40. C(+%(##/-""-( #%*0"("/(
  41. 41. 1. C(*6$/0")3 /"#$%&("$2. 7$- & "*# 5-8&./8-#93. :$#$&58("/( 14. 7$- & "*# 5-8&./8-#95. :$#$&58("/( 26. 7$- & "*# 5-8&./8-#97. @*$*%#/#
  42. 42. WTF?
  43. 43. &()*(+ ,-*. rasp.yandex.ru
  44. 44. «A lot of literature... tended to offermathematical models... This approachmight be mathematically interesting andelegant, but it doesn’t help theoperations engineer when he is seeinghis site dying under the weight of a linkfrom the front page of Yahoo!, Digg orCNN» John Allspaw, manager of operations engineering, Flickr.com
  45. 45. 9#6.*-"+. :5;)5< "+6*3 )# =37*D/">" 1($(121 + *-#$/0.$/#/1-* 1(#2) B(/"3 3 .2/8(!
  46. 46. &()*(+ ,-*. rasp.yandex.ru
  47. 47. !34-5*(+ ,-*. rasp.yandex.ru
  48. 48. 1.
  49. 49. 2.
  50. 50. 3.
  51. 51. 4.
  52. 52. — EA1($%, 7-(3&/, 1% ?63/-6 7)6$(-2&1 $6XX% 23&)(0(/: /-6F(8 $6 ./-6$(G2 ZZZ!
  53. 53. — ,-(3&/, 2 $6. &./: YYY-HI8&$A. C8"):8"16J($"8 $61 $6A" &#&A"./63(/: 0/"H% 0&-&? 76-2 1&.KG&3 "$ $& 276)?
  54. 54. Hits rulezzz! ** 5"#(" rulezzz 2.> *+"$,5"< 4 ($+)<("%$+(6% 1 ($&*+)<.>$%6% 5+)E1,"% (web, API (!) 1 5.*.)
  55. 55. Performance planning
  56. 56. Capacity planning
  57. 57. 1. C(*6$/0")3 /"#$%&("$2. D%*"/$9 "*?- 0#(3. :$#$&58("/( 14. 7$- & "*# 5-8&./8-#95. :$#$&58("/( 26. 7$- & "*# 5-8&./8-#97. @*$*%#/#
  58. 58. +,-&.&*$H)(,1 710$(1t34 HTTP target MySQL+E)=.6 GlusterFS /bigdisk (1,5 Tb) SSH >?= 1
  59. 59. +,-&.&*$H)(,1 710$(1t34 HTTP target MySQL+E)=.6 GlusterFS /bigdisk (1,5 Tb) SSH >?= 1
  60. 60. +,-&.&*$H)(,1 710$(1t34 HTTP target MySQL+E)=.6 GlusterFS /bigdisk (1,5 Tb) SSH >?= 1 SSHWeb JIRA & co
  61. 61. +,-&.&*$: &-$3 15+ ,"%*&5$+"< *+),51#$4,1 <" <4$F IJ Xeon E5530@2.40GHz/24Gb/4xSATA WD5002ABYS10 Gb + c*$K1)./(" ()45+"$((6= 4$5$<"= 45$,
  62. 62. +,-&.&*$: 93>2-36 /&./"3%B 8)6./&-"3"/ 3 A" 15 16J($"8,"0/( 3.&>A6 3 "A$"1.3(/0& . /6$861(!6J($8( -6?$%&, $"(A&$/(0$% production
  63. 63. OpenVZ () ,.)45$+$ 1; 15 E1;1#$4,1F %)01(
  64. 64. 1. C(*6$/0")3 /"#$%&("$2. D%*"/$9 "*?- 0#(3. E%&;/ #- 0#( 0-6%&+4. 7$- & "*# 5-8&./8-#95. :$#$&58("/( 26. 7$- & "*# 5-8&./8-#97. @*$*%#/#
  65. 65. +,-&.&*$! @6.A) (8;B#0 -"3*(0(,# C .+3*! D3C06,# - +)-"38.*)"#.+ C E)7*,-*! Web-7-"8& - *7+)< #C"3+6#F+*<! G*6#C+-+.-"2 " C*)73#! H-,8--"C*))5< 3#68. C)8"3+! !+.&#"+B)5< C+7 :)
  66. 66. 6#/57/%?
  67. 67. !"#$%&()*+,-.%/=70:>:<?14@A$857BBC$/.857D:E/:8:$14F1?5:>./?;G&&G&H&I&JKLM2NL&OPQRIG&&G&H&STUVWWG&&G&H&POXYHQRZPQRW

×