Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Андрей Кузьмичев – Танки в Лунапарке: нагрузочное тестирование в Яндексе

on

  • 837 views

 

Statistics

Views

Total Views
837
Views on SlideShare
754
Embed Views
83

Actions

Likes
0
Downloads
6
Comments
0

3 Embeds 83

http://webcrunch.ru 72
http://www.techgig.com 9
http://developers.rambler.ru 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Андрей Кузьмичев – Танки в Лунапарке: нагрузочное тестирование в Яндексе Андрей Кузьмичев – Танки в Лунапарке: нагрузочное тестирование в Яндексе Presentation Transcript

  • 01"2-'/'3)"141$2%5' "16$)*7."7%'8%98-$7/1"-%'/' :"#%29% !"#$%&'()*+,-.%/ =>4252<?7@AB$;:>CCD$E6;:>F2GE2;2$7@37?:256E?8 !"#$%&'#(")$*'&+")"&,"$-./.0$1234560 /$24789:8$-./.$;2<6
  • ! "#$%&'% %'() #*+,-./0#/% (%'(1,/2*#1%. 34%##/ #*+,-./0#/% 1 14%##/ (%'(1,/2*#1%. !"#$%&'#()* +&','- :)
  • ."/'*% 0%#)+)&$?!
  • Visual Studio Load Test Apache JMeter Siege Tsung WebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  • !"#$%&'("$) "*+%&,-."-+- $(#$/%-0*"/1 1"2345' 5 -"&"65' *"#7(&8
  • 2-345/( / 6-%-+/( '-"#$%). 7-#$-/"#$0*. ✓ 9:525' +"--'&;5,)'*8< +&"("$"2", ✓ .&"='775"#)23#)> &)?&):"($) 5 7"+&",";-'#5' ✓ @'&3'?#8' 5#7(&%*'#(8 -2> )#)25?) ✓ A#('6&)B5> 7" ,7'C 25#'C$"C
  • 2-345/( / 6-%-+/( '-"#$%). 8(6-#$*$9/. - D',87"$)> +&"5?,"-5('23#"7(3 load generator - 9:525' ;'2'?) -2> ,87"$"C #)6&%?$5 - @2";#"7(3 5#7(&%*'#() - .&5,>?)##"7(3 $ ,'#-"&% - Windows-"&5'#(5&",)##8' - Offline-"&5'#(5&",)##8' - E'#)
  • !"#$%&'("$) "*+%&,-."-+- $(#$/%-0*"/1 F)2'#3$5' 5 :'7+2)(#8' *"#7(&8
  • !"#$%&'($ ( )$*+#",%-$ ./%*,0-. 7-#$-/"#$0*. ✓ G?$)> 7+'B5)25?)B5> ✓ 9($&8(8C $"- ✓ E'#)
  • !"#$%&'($ ( )$*+#",%-$ ./%*,0-. 8(6-#$*$9/. - D',87"$)> +&"5?,"-5('23#"7(3 load generator - 9:525' ;'2'?) -2> ,87"$"C #)6&%?$5 - G?$)> 7+'B5)25?)B5> - 9(7%(7(,5' )#)25?) - Offline-"&5'#(5&",)##"7(3
  • !"#$%&'("$) "*+%&,-."-+- $(#$/%-0*"/1 @)*"+57#8' *"#7(&8
  • 1"./+(*%-$ ./%*,0-. 7-#$-/"#$0*. ✓ F)$75*)23#)> ?)("/'##"7(3 +"- ?)-)/5 ✓ H7I , ,)45< &%$)<
  • 1"./+(*%-$ ./%*,0-. 8(6-#$*$9/. - H87"$5' &57$5 +&",)2) - H"+&"7 -"7(",'&#"7(5 &'?%23()(", - E'#)
  • !"#$%&'("$) "*+%&,-."-+- $(#$/%-0*"/1 @2";#8' .&"7(8' F"J#8' K528'
  • Visual Studio Load Test Apache JMeter Siege Tsung WebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  • Visual Studio Load Test Apache JMeter Siege Tsung WebLOAD httperf ab pylot Borland SilkPerformer Load Impact HP LoadRunner http_load Grinder Rational Performance Tester
  • 23%"+"0' «Yeah, well... I'm gonna go build my own theme park, with blackjack and hookers. In fact, forget the park!» Bender, Futurama
  • !"#$%&'("$) "*+%&,-."-+- $(#$/%-0*"/1 @2";#8' .&"7(8' F"J#8' K528'
  • 4#"% 1. 5%*&(12#67 1#'(,-4%#( 2. 8,*#1() #*$/ 2'% 3. 9,-:14 '/ 2'%41 2/&,-+ 4. ;,%$'(*2<%#1% ,%.-<)(*(/2 5. =4#67 *#*<1. 6. !#-(,%##%% -'(,/7'(2/ 7. ;/(/4- 0(/ >-#*?*,&!
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. >-.('& @&"*A*%9?
  • Phantom
  • Phantom L(" 7523#" "+(5*5?5&",)##8C 2'''''6$5C web-7'&,'&, $"("&8C #)%/527> ?)-),)(3 ,"+&"78
  • Phantom Phantom, c$#), :87(&8C!
  • Phantom ~ 30 000 rps ,87"$)> 7():523#"7(3 +"-),)'*"C #)6&%?$5
  • Phantom + gatling 60 000+ rps
  • Phantom 9/'#3 :87(&8C, #" "/'#3 +&"7("C
  • Phantom !"#$ % /0,-0 &"'()%"*+ + + %0"0+%0+1" ,(-*. ') 1"23)*4 &"'()%" &"'()%4
  • Starter Phant ! 56%)$708) $76)# '()9+$: 8";(4&1+ ! <-8-("=+. 1)89+;), + '(-34%0"8),1+ ! >)33-(21" $76?@ stateless '()0)1)$), ! A?%)B"#C". '()+&,)3+0-$:8)%0: ! D",8)*-(8)%0: %)&3"8+. 8";(4&1+
  • Phantom
  • >#,)&3 2008
  • 4$5"#& :( M)?&"?#'##"' <&)#'#5' &'?%23()(",: wiki, +"/(), *"?6 9(7%(7(,5' 57("&55 >#,)&3 2008
  • 6*,& 7-8/9!
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- #-0#(' 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. >-.('& @&"*A*%9? 7. >-$-'& .$- @&"*A*%9!
  • :0"%(,& %"9/ */7*$. 7*$ A(-*-8" )0,-0), HTTP-1)3? E-0-,?- 1)3? E"*+ )0,-0?
  • :0"%(,& %"9/ */7*$. 7*$ F)%0"0)B8)? D'(, 7",7'* ,7'!
  • :0"%(,& %"9/ */7*$. 7*$ >"("*-0(? ("6)0? *+C-8+ E'-=+9+B8?- $);+ %-(,+%" >"("*-0(? ("6)0? %-0+ ...
  • ntom Preproc !NF MySQL + 9"#$? ! G("8-8+- %),%-* ,%-;) ! H89)(*"0+,8?# ,?,)3 ! A)&*)28)%0: %*-8? +8%0(4*-80" ! <(4''+(),1" 0-%0), , &"3"B+
  • antom Preproc
  • ),6%7( 2008
  • 4$5"#& :( !%/) &)?&"?#'##8< ?)-)/ 9(7%(7(,5' 7,>?5 7 *5&"* !&%;"$ +" 5#('&'7)* ),6%7( 2008
  • 6*,& 7-8/9!
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. B"&$%(""(( &#$%-;#$0- 7. >-$-'& .$- @&"*A*%9!
  • "/'#3 :"234"C!
  • I 8"% )B-8: *8);) '()-10), + -J- 6)$:C- $73-# K8);+* 8428" + ,"28" +89)(*"=+. ) (-&4$:0"0"@ 8";(4&)B8);) 0-%0+(),"8+.
  • @()== F"#5("&5#65 JIRA Wiki @()(57(5$)
  • JIRA Wiki E0"0+%0+1" E0"99 K)8+0)(+8;+
  • JIRA ! /6J+# +8%0(4*-80 ("6)0? ! >)$4B-8+- &"3"B 8" 0-%0+(),"8+- ! E1(?0+- «0-%0-(%1+@» ')3@)3), ! /6%423-8+- (-&4$:0"0), 0-%0),
  • JIRA ! A-%: 0"%1-0(-1+8; , JIRA ! L3+8". 0)B1" ,@)3" 3$. ,%-@ ! >(+,.&1" &"3"B 1 '()-10"* ! /6*-8 3"88?*+ B-(-& SOAP API ! 8C 9*9 D$*A =/,"/ A%-(9$*
  • E$*$/#$/9* F-"/$-%/"+/ ! A M48"'"(1- ')B0+ ,%. +89)(*"=+. ) 2+&8+ ')B0+ ,%-@ '()-10), % 0)B1+ &(-8+. 8";(4&1+
  • Wiki ! N1%')(0 +89)(*"=++ ) (-&4$:0"0"@ 0-%0),
  • 0%#)+)&$ + Jabber ."/() ...
  • * * ,+3 %) %'408+1" :)
  • "$(>:&3 2008
  • 4$5"#& :( @(&)4#'#3$5C "# $)$"C-(" @2";#"7(3 ,"7+&5>(5> 5#="&*)B55 "$(>:&3 2008
  • 6*,& 7-8/9!
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. B"&$%(""(( &#$%-;#$0- 7. >-$-'& .$- @&"*A*%9!
  • B)G-% 60/=9* 631 +%*H/9* 1. AmCharts
  • B)G-% 60/=9* 631 +%*H/9* 1. AmCharts
  • B)G-% 60/=9* 631 +%*H/9* ✓ 9/'#3 $&)75,8C 5 =%#$B5"#)23#8C - F'-2'##8C +&5 :"234"* /572' ("/'$ - F#"6" 6&)=5$", ,*'7(' %:5,)O( $"*+%('& - P '725 "#5 'J' 5 ":#",2>O(7> online, ("...
  • B)G-% 60/=9* 631 +%*H/9* 9($)?)2573
  • B)G-% 60/=9* 631 +%*H/9* 2.YaCharts
  • B)G-% 60/=9* 631 +%*H/9* 2.YaCharts
  • B)G-% 60/=9* 631 +%*H/9* ✓ Q)*'(#" :87(&'' ✓ R"+"2#5('23#8' =5/5 - @2";#" +&"+5<5,)(3 #",8' =5/5 - 9(7%(7(,5' #'$"("&8< (5+", 6&)=5$",
  • B)G-% 60/=9* 631 +%*H/9* 9($)?)2573
  • B)G-% 60/=9* 631 +%*H/9* 3. Flot
  • B)G-% 60/=9* 631 +%*H/9* 3. Flot
  • B)G-% 60/=9* 631 +%*H/9* ✓ 9/'#3 :87(&8C ✓ 1"234"' 7"":J'7(," ✓ 9/'#3 2'6$" -"+525,)(3 - F'2"/5
  • B)G-% 60/=9* 631 +%*H/9* .&5;52"73. M'$"*'#-%O. http://code.google.com/p/flot/
  • I9$/0"); $(#$
  • C(#$ ,*9-".("
  • B#J 0'(#$(
  • - K-"#-349*? - I 0-$ -"*!
  • - K-"#-349*? - I 0-$ -"*!
  • :(,&34$*$) $(#$*
  • 5O#3 2009
  • 4$5"#& :( @2";#"7(3 )#)25?) :"234"6" ":S'*) 5#="&*)B55 T"##8 5#="&*)B55 " +&"428< ('7()< +82>(7> :'? -'2) 5O#3 2009
  • 6*,& 7-8/9!
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. B"&$%(""(( &#$%-;#$0- 7. >-$-'& .$- @&"*A*%9!
  • ;#3+-. )-,& +#/8/!
  • <.%-. )-,& 8/0/=/!
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9 >)%"03?$%($ @"'," %"#(5(A "%/."#(( 1. M)7/'( 8 ?#)/'#5C +" 7()(57(5/'7$5* *'("-)*: • R,' 7()(57(5$5 1)C'7) • R,' 7()(57(5$5 #) "7#",' "(#"4'#5> +&),-"+"-":5C (*)$75*%* +&),-"+"-":5>) • T&5 7()(57(5$5 #) "7#",' 7'6*'#()B55 (7$&8(8' *)&$",7$5' *"-'25), "(25/)OJ5'7> #"&*5&",$)*5 • 9-#) 7()(57(5$) #) "7#",' 2"$)23#"C ,)&5)B55 (7$"23?>J'' 7&'-#'') 2. U725 :"2'' /'(8&'< *'("-", -)O( +"2";5('23#8C "(,'( " #)25/55 )#"*)255, 7/5()'(7>, /(" )#"*)25> '7(3
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9 >)%"03?$%($ 0"B#"9'( 12"$ 1 12"$ 2 12"$ 3 ✓ 2 7()(57(5$5 ✓ 3 7()(57(5$5 #) ✓ 1 7()(57(5$) 1)C'7) "7#",' 7'6*'#()B55 #) "7#",' ✓ @()(57(5$) #) ,&'*'##"6" &>-) 2"$)23#"C "7#",' "(#"4'#5> +"$)?)#5C ,)&5)B55 +&),-"+"-":5C ✓ @()(57(5$) @(3O-'#() Q#)/'#5' "( $);-"6" :2"$) - ,"?*";#8' *"*'#(8 ,"?#5$#",'#5> &)?2)-$5.
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9
  • I0$-'*$/.(#9-( 0)103("/( %*,3*6-9 .&5 )#)25?' 57+"23?%'(7> ,&'*> "(,'(), HTTP- 5 7'(',8' $"-8 "(,'(", 9:%/'#5' #) 500 &)?*'/'##8< ('7()< T"/#"7(3 ":#)&%;'#5> &)?2)-$5 /'/#/ 97% +&5 ,'&">(#"7(5 #/?%/C/ *0")",-7"%(A <1% .2)#", +" 57+"23?",)#5O % #)7 $%/), ,#'-&>'* , )-*5#57(&5&",)#55
  • ;(#&B- A-'#(5=5$)("& -2> 6&%++8 ?)+&"7", , &)*$)< ('7() ."2%/'#5' 7()(57(5$5 +" 2O:"C $"*:5#)B55 6523? D)+&5*'&, ,7I $&"*' *"&-8, ?)+&"7", $ +)&(#'&)* 5 +'&'7)-"$
  • :(+%(##/-""-( #%*0"("/(
  • B-#$*"-03("/( #$%&9$&%) ,*A%-#-0 /, A*$%-"-0 D)+&5*'&, ,"( ()$: /route_jams/?origin= (jsRouter,maps,reload,xmlRouter)& [rll=*]&[output=geometry]&[via=*] &[mode=jams]&[reloadgraph=diff] L(" +"?,"2>'( -2> "/'#3 7()&8< ('7(", #' <&)#5(3 ,7' ?)+&"78 as is.
  • ?'"); @&"*A*%9
  • *)C 2010
  • 4$5"#& :( @#",) *#"6" 5#="&*)B55 F'7()*5 5#('&='C7 #'"+(5*)2'# *)C 2010
  • 6*,& 7-8/9!
  • L$/' ') #(;.*# / ,*"/'*('#1 :)
  • L$/' ') #(;.*# / ,*"/'*('#1 :) ! H8-'2'#5' 62),#"C 5#="&*)B55 , ?),575*"7(5 "( (5+) ('7() 5 &'?%23)(", !9+(5*5?)B5> 5#('&='C7)
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. B"&$%(""(( &#$%-;#$0- 7. >-$-'& .$- @&"*A*%9!
  • 23%"+"0' T)#$5 F54'#5 t34 HTTP target MySQL+=)C28 GlusterFS /bigdisk (1,5 Tb) SSH !NF 1
  • 23%"+"0' T)#$5 F54'#5 t34 HTTP target MySQL+=)C28 GlusterFS /bigdisk (1,5 Tb) SSH !NF 1
  • 23%"+"0' T)#$5 F54'#5 t34 HTTP target MySQL+=)C28 GlusterFS /bigdisk (1,5 Tb) SSH !NF 1 SSH Web JIRA & co
  • 23%"+"0': ,"%'( 15 $"*+%('&", +&)$(5/'7$5 ," ,7'< RE Xeon E5530@2.40GHz/24Gb/4xSATA WD5002ABYS @+'B5)23#" #)7(&"'##8C 7'(',"C 7('$
  • 23%"+"0': .(=$%( 6 ('7(",8< $2)7('&", "( 3 -" 15 *)45#"$ ."/(5 ,7'6-) , "-#"* 7,5(/' 7 ()#$)*5 F)45#$5 &)?#8', #" 5-'#(5/#8 production
  • D(0,3"#(B"E(A OpenVZ #) $2)7('&' 5? 15 =5?5/'7$5< *)45# ✓ @$"&"7(3 *"-5=5$)B55 $2)7('&) ✓ 0'6$5C :V$)+ +&'-8-%J'6" &'25?) ✓ F)$75*)23#)> +&"?&)/#"7(3 $"#('C#'&) - D'+&56"-#) -2> 7,'&<,87"$"#)6&%;'##8< 7'&,57",
  • 1. :(*9$/0"); /"#$%&'("$ 2. <%*"/$4 "*6- 0#( 3. 7%&=/' #- 0#(' 0-9%&+ 4. >%(6#$*03("/( %(,&34*$-0 5. ?'"); *"*3/, 6. >-.('& @&"*A*%9? 7. >-$-'& .$- @&"*A*%9!
  • 23%"+"0' ! A)&*)28) $4BC". %0(-$.$1" , *+(- ! >(),.&1" % +8%0(4*-80"*+ , O83-1%- ! Web-3)%04' % -3+8)# ",0)(+&"=+-# ! P-&",+%+*)%0: )0 ,-83)(" ! H%14%%0,-88?# ("&4* ,840(+ ! E+*'"0+C8?# ,+3 :)
  • D/+0/*-?
  • F"
  • G/C9" phantom 7-#/?", 7 opensource
  • G"' ,/#&'/ 0$)A," 9/+(=3, +/99$0?'3 FastCGI :) *starter+phantom+preproc+mysql edition
  • !"#$%&'()*+,-.%/ =>4252<?7@AB$;:>CCD$E6;:>F2GE2;2$ 7@37?:256E?8 //H.-/0$=233?80$1234560 >AI$JB56$K2A372;20$/L MN$OPHQR$NSHT..T.. MN$OPHQR$NSHTN.TN.$U$V643 W%%W%X%YZ%&["T#"%]I)^ (_`abbW%%W%X%I]'cX)^dI)^b