SECON'2014 - Сергей Цивин - Производительность веб-приложений

Embed Size (px)

Citation preview


-

,

?

Microsoft Bing:

: Eric Schurman (Bing) O'Reilly Velocity

Google

: Jake Brutlag (Google) O'Reilly Velocity

,

: ;

;

();

?

(application response time) -

(application availability) -

(throughput)


?

3

http://apmblog.compuware.com/2012/11/14/why-averages-suck-and-percentiles-are-great/

http://apmblog.compuware.com/2012/11/14/why-averages-suck-and-percentiles-are-great/

?

K- , , K% , .

50- .

90-

10%

90-

:

123456781017

423151787610

:

:

90- 10

:

95-

Apdex

Apdex (Application Performance Index) , , . www.apdex.org

Apdex .

Apdex

:NS = ( 0 );

NT = ( T F);

,

Apdex

E

G

F

P

U

Apdex :

:

() ?

N ?

N ?

Performance Testing :

t

rps

t

ms

50%

90%

95%

Performance testing :

$ ab -n 100 -c 20 http://localhost/Concurrency Level: 20Complete requests: 100Failed requests: 0...Percentage of the requests served within a certain time (ms) 50% 32 90% 50 95% 55 100% 65 (longest request)

100 20 :

Performance Testing :

Apache Benchmark (ab)

Siege URL,

Tsung , .

Jmeter .

Blazemeter Jmeter .

Tsung -

: /

:

Google Page Speed

Yahoo Yslow

GTmetrix

:

Timeline

:

Gzip

Cookie-less

SS/JS

CDN

JS

-

, ,

Apdex

Browser Traces

Application Traces

Database Traces

Collectd + RRD

Statd + Graphite

Performance Related Changes and their User Impact http://velocityconf.com/velocity2009/public/schedule/detail/8523

Common Metrics for Application Performance Measurement http://www.ietf.org/proceedings/46/slides/rmonmib-waldbusser-slides/sld001.htm

Apdex http://www.gilev.ru/apdex-teoriya/

. , . http://sqagroup.spb.ru/reports/report-load-testing-from-testing-pov/

?