1 2 - - PDF document

1 2 http webperformancetoday com 2011 11 23 case study
SMART_READER_LITE
LIVE PREVIEW

1 2 - - PDF document

1 2 http://www.webperformancetoday.com/2011/11/23/case-study-slow-page-load- mobile-business-metrics/ 4 http://www.webperformancetoday.com/2012/02/28/4-awesome-slides-showing- how-page-speed-correlates-to-business-metrics-at-walmart-com/ 5 6


slide-1
SLIDE 1

1

slide-2
SLIDE 2

2

slide-3
SLIDE 3
slide-4
SLIDE 4

http://www.webperformancetoday.com/2011/11/23/case-study-slow-page-load- mobile-business-metrics/ 4

slide-5
SLIDE 5

http://www.webperformancetoday.com/2012/02/28/4-awesome-slides-showing- how-page-speed-correlates-to-business-metrics-at-walmart-com/ 5

slide-6
SLIDE 6

6

slide-7
SLIDE 7
  • 1. Each square denotes a state. Each arc is a transition labeled with the event

that triggers the transition.

  • 2. Half close: one end may close and the other end can still send
  • 3. Questions to ponder: which sequence shows simultaneous close?
slide-8
SLIDE 8

8

slide-9
SLIDE 9

TCP is given a chance to resent the final ACK. (Server will timeout after sending the FIN segment and resend the FIN) Without waiting, FIN may close a wrong connection The MSL is set to 2 minutes or 1 minute or 30 seconds.

slide-10
SLIDE 10

10

slide-11
SLIDE 11

11

slide-12
SLIDE 12

12

slide-13
SLIDE 13

A TCP receiver uses the window size field to inform a sender its maximum available receive buffer 14

slide-14
SLIDE 14

15

slide-15
SLIDE 15

16

slide-16
SLIDE 16

18

slide-17
SLIDE 17

19

slide-18
SLIDE 18

20

slide-19
SLIDE 19

21

slide-20
SLIDE 20

If you think of a TCP stream as a conveyer belt with full containers (data segments) going in one direction and empty containers (ACKs) going in the reverse direction, then MSS-sized segments correspond to large containers and 1-byte segments correspond to very small containers. If the sender aggressively fills an empty container as soon as it arrives, then any small container introduced into the system remains in the system indefinitely. That is, it is immediately filled and emptied at each end, and never coalesced with adjacent containers to create larger containers. 23

slide-21
SLIDE 21

24

slide-22
SLIDE 22

If not enough data, sender waits for a virtual timer to time out and transmits Virtual timer is driven by a returning ACK (roughly a RTT time) 25

slide-23
SLIDE 23

26

slide-24
SLIDE 24

27

slide-25
SLIDE 25

28

slide-26
SLIDE 26

29

slide-27
SLIDE 27

Each TCP connection measures the time difference between the transmission

  • f a segment and the receipt of the corresponding ACK

Figure on the right shows three RTT measurements 30

slide-28
SLIDE 28

If an ACK for a retransmitted segment is received, the sender cannot tell if the ACK belongs to the original or the retransmission. à RTT measurements is ambiguous in this case 31

slide-29
SLIDE 29

32

slide-30
SLIDE 30

http://www.ietf.org/rfc/rfc2988.txt 33

slide-31
SLIDE 31

34

slide-32
SLIDE 32

35

slide-33
SLIDE 33

36

slide-34
SLIDE 34

37

slide-35
SLIDE 35

38

slide-36
SLIDE 36

39

slide-37
SLIDE 37
slide-38
SLIDE 38

All windows are treated as 32-bit stored in connection control block is negotiated during connection setup, carried 41

slide-39
SLIDE 39

42

slide-40
SLIDE 40

43

slide-41
SLIDE 41

44