challenges of sending large files over public internet performs well under ideal conditions • low...

44
CLICK TO EDIT MASTER TITLE STYLE CLICK TO EDIT MASTER SUBTITLE STYLE Challenges of Sending Large Files Over Public Internet JONATHAN SOLOMON SENIOR SALES & SYSTEM ENGINEER, ASPERA, INC.

Upload: buianh

Post on 26-May-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

CLICK TO EDIT MASTER TITLE STYLE CLICK TO EDIT MASTER SUBTITLE STYLE

Challenges of Sending Large Files Over Public Internet

JONATHAN SOLOMON SENIOR SALES & SYSTEM ENGINEER, ASPERA, INC.

Page 2: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Ø  Setting the Stage (How old is the technology you’re using today?)

Ø  What is TCP (and why doesn’t it work well?)

Ø  Ways to moving things faster

Ø  Features to look for

Ø  Network Security 101

Ø  Q&A

OUTLINE

Page 3: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

3

SETTING THE STAGE

1972  

Page 4: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

4

SETTING THE STAGE

1984  

Page 5: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

5

SETTING THE STAGE

1984  

Page 6: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

6

SETTING THE STAGE

1986  

Page 7: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

1982

7

SETTING THE STAGE

Page 8: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

WHAT DO THEY ALL HAVE IN COMMON?

•  Were new technologies.

•  Were the best at the time.

•  Had wide acceptance.

•  Allowed growth into newer technologies.

•  Had awesome cars and suits.

•  At the time, nobody could beat them.

8

SETTING THE STAGE

Page 9: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Are any of them still useful?

If you could, would you still want to use any of them?

So why is TCP still used?

9

SETTING THE STAGE

Page 10: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

HOW DO I KNOW IF I AM USING TCP TO TRANSFER FILES?

•  TCP file transfers include the following:

•  FTP •  SCP •  HTTP(S)

•  Non-commercial sharing sites (Box.net, Google Drive, etc) •  Some commercial sharing services •  Windows Shares (\\server\share)

10

SETTING THE STAGE

Page 11: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Data Size and Volume •  Today’s “Drive,” “File Sync” and “File Sharing” services are impractical for Big Data •  Large data sets (large files or large collections of files) cannot move

Speed and Performance at Distance •  On global WANs (100 millisecond RTT / 1% packet loss+) standard TCP rates are <<10Mbps •  Transfers and sync sessions are extremely slow and most often do not complete at all

Security •  Security for hosted solutions is dependent on security of the provider •  Access control is limited and integrity of file ownership is fragile, with huge concerns over privacy,

Deployment Options •  Typical SaaS offerings don’t support on premise or hybrid infrastructure •  Often a single infrastructure solution

Sharing Paradigms •  Users are typically locked into a single delivery option •  Sync, Share, or Person-to-Person delivery

Compliance, Auditing and Control •  Limited controls, lack of visibility into risk, weak compliance auditing tools

11

PROBLEMS WITH CURRENT FILE SHARING SOLUTIONS

Page 12: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

‘Big’ Data Explosion && Almost All Media is File Based •  90% of data today file-based or unstructured •  Mix of file sizes—but larger and larger files, and ever higher resolution are the norm •  From 20/80 to 80/20 “file/tape” in one year

Diversity of IP Networks—Media, Bandwidth Rates, and Conditions •  Variable bandwidth rates (slow to super-fast) •  Bandwidth rates increasing—costs decreasing •  Network media remains diverse (terrestrial, satellite, wireless) •  Conditions vary—all networks prone to degradation over distance

Global Live and “Near Live” Experiences are Expected •  World Cup and Olympics have explosive growth in online streaming audiences (web and mobile) •  Over distance, network conditions degrade and contemporary TCP based streaming solutions degrade •  CDNs considered essential for distribution •  Dedicated satellite feeds traditionally essential for live ingest of broadcast quality

Cloud Computing Grows Up •  Enterprises are moving core business workflows to the cloud •  No longer a niche – Netflix (transcoding), Sony CI, MLB, FIFA World Cup, etc.

DRIVEN BY MULTIPLE UNDERLYING TRENDS

Page 13: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP Performs well under ideal conditions •  Low latency and low packet loss typical of LAN

TCP performance degrades with distance •  Throughput bottleneck becomes more severe with

increased latency and packet loss

TCP does not scale with bandwidth •  TCP designed for low bandwidth •  Adding more bandwidth does not improve throughput

Alternative technologies offer limited benefits •  Modified TCP – Improves TCP performance but insufficient

for fast networks •  Data caching - Inappropriate for many large file transfer workflows •  Data compression - Time consuming and impractical for certain file types •  CDNs & co-lo build outs - High overhead and expensive to scale

WAN TRANSFER CHALLENGE

Page 14: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

14

GOODPUT

•  All overhead reduces goodput: •  retransmitted packets due to router buffer overflow •  retransmitted packets due to storage buffer overflow •  retransmitted packets due to packet loss

•  Goal: maximize goodput by minimizing the amount of redundant data on the network

•  An optimal system will maximize goodput

•  throughput = the rate of successful message delivery by the network

•  goodput = the rate of useful information delivery by the network

Page 15: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP - LATENCY"

Client Server

SYN

SYN-ACK

Latenc

y/RT

T

Time

Latency

The laws of physics limit the speed at which light and electromagnetic signals can travel. Between any two endpoints it will take some time for the data to make a traversal. This is called latency, and Round Trip Time (RTT) is the time it takes to go someplace and back (one round trip).

ACK

SEND-ACK

SEND

Page 16: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP - LATENCY"Client Server

SYN

SYN-ACK

ACK

Latenc

y/RT

T

Time

Latency increases with distance

The longer the distance, the higher the latency, and the more TCP packets that might be sent before a SEND-ACK is received by the sender.

SEND

SEND-ACK

Page 17: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP – SLIDING WINDOW"

Client Server

SEND

SEND

TCP

Win

dow

SEND

SEND-ACK

TCP Sliding Window

The amount of data that is sent but

unacknowledged. This value is set by

the Congestion Control and Flow

Control algorithms.

The optimal sliding window size is a

value close to the Bandwidth Delay

Product.

Congestion Control

Packet loss imposes additional limits to

throughput. Packet loss or ACK loss detected by the

sender causes the sender to reduce the send window to 1/2

or 0.

Flow Control

This is to ensure reliable delivery of packets in order.

Page 18: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP – GOOD NETWORK (LAN)"

Time

Band

width

TCP profile on good networks

All networks have some form of packet loss. When a packet is dropped, TCP resets the send

window. After the data starts to flow again, it has a ramp up

period.

When latency and packet loss are low, TCP performs well.

Page 19: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP – BAD NETWORK (SAWTOOTH)"

TCP sawtooth pattern in poor conditions

When latency and packet loss are high, constant resets of the sliding window mean that TCP never has a chance

to achieve high bandwidth

Time

Band

width

Page 20: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

NON TCP TRANSFERS"

Time

Band

width

Packet Drops

Page 21: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

LATENCY - QUEING"

Buffer

Router

Buffer

Router

Buffer

Router

Source

Destination

Queuing Delay

Between two endpoints the latency is physically fixed at a lower bound that cannot be made faster, but that is not

the whole story.

As routers and other devices that process packets get busier, the buffers and queues they maintain fill up. It

takes longer and longer to process packets, and this can mean an increase in the observed latency.

Thus, these increases in observed latency are indicative of queuing.

A router can get so busy that it can no longer handle new packets, the buffers fill up, and packets are dropped.

Buffer

RouterX

Page 22: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

LATENCY - QUEING"

Router buffer

Source

X

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Router buffer

Source Source

# router hops# router hops

RTT

RTT Even  a  single  slow  

router  can  affect  end-­‐to-­‐end  throughput  

Page 23: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Page 24: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Storage Write Rate

Page 25: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Storage Write Rate

License

Page 26: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Storage Write Rate

License

Target Rate(Client bandwidth cap)

Page 27: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Server bandwidth cap

Storage Write Rate

License

Target Rate(Client bandwidth cap)

Page 28: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

Time

Band

width

Physical Capacity

Vlink

Server bandwidth cap

Storage Write Rate

License

Target Rate(Client bandwidth cap)

Page 29: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Time

Band

width

Physical Capacity

Available network bandwidth

Vlink

Server bandwidth cap

Storage Write Rate

License

Target Rate(Client bandwidth cap)

ISP BANDWIDTH VS AVAILABLE BANDWIDTH"

The  lowest  maximum  wins  

Page 30: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP VS ALTERNATIVE"

Time

Band

width

Physical Cap / LicenseAvailable network bandwidth

TCP performance

Storage Write RateClient / server b/w cap

Page 31: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP VS ALTERNATIVE"

Time

Band

width

Physical Cap / License

Storage Write RateClient / server b/w cap

Available network bandwidth

TCP performance

Page 32: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP VS ALTERNATIVE"

Time

Band

width

Physical Cap / License

Storage Write RateClient / server b/w cap

Available network bandwidth

TCP performance

Page 33: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

TCP VS ALTERNATIVE"

Time

Band

width

Physical Cap / License

Storage Write RateClient / server b/w cap

Available network bandwidth

TCP performance

Page 34: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

WAN Accelerators •  In line product

•  Often used between two offices

•  Good for file shares & email

•  Caches data for quicker access

•  No real file acceleration on “fresh” content

34

TCP “ALTERNATIVES”

Page 35: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Enterprise Files Sync & Share (EFSS) •  Web GUI based

•  Often used for Group Sharing

•  Uses HTTP (TCP)

•  Limited to no file acceleration

Watch out for: •  Security

•  Audit Trail

•  Control of content (may be on users personal computer or phone)

•  File Size (or total size) limitations

35

TCP “ALTERNATIVES”

Page 36: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

UDP “Blasters” As the name implies, blasts data via UDP and sees what ‘sticks’. •  Excessive retransmissions

Watch out for: •  Integration into your systems/workflow (API)

•  Resource utilization (CPU and NIC)

•  Congestion Avoidance

•  Write to cloud (most require cache/local write to appliance before copy to disk)

36

TCP “ALTERNATIVES”

Page 37: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

UDP Transfer Products •  Usually Proprietary protocol (open source does exist)

•  Server/Client model

•  Improved performance

Watch out for: •  File limitations

•  Network Limitations

•  Integration into your systems/workflow (API)

•  Resource utilization (CPU and NIC)

•  Congestion Avoidance

•  Write to cloud (most require cache/local write to appliance before copy to disk)

37

TCP “ALTERNATIVES”

Page 38: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Other Solutions •  FedEx (HDD, HDCam, LTO, etc)

•  Reliable, but high latency

•  “Baseband” TX (satellite, fiber)

•  Dark Fiber

38

TCP “ALTERNATIVES”

Page 39: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

The following are software features to consider: •  Security •  Adaptable (bit rate) •  Line speed, congestion, disk speed management •  Management and control •  Minimum overhead •  Minimum retransmission •  Scalability / Clustering •  Uniform look across OS (even mobile) •  Customer Support •  Cloud Support and integration •  In line QC (Anti-virus/File Validation) •  DAM/MAM Integration

39

FEATURES TO BE AWARE OF

Page 40: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Passwords •  Change equipment default passwords as soon as you open the box!

•  Maintain a secure enterprise password directory (if needed).

•  Use complex passwords (uPP3r&L0weRc@s5+Sym8olz!) [>12 characters].

•  Avoid passwords that spell something even when complex, especially on edge equipment.

•  Change passwords every 90 days (or less).

•  Have a plan for when a power user with password access leaves the company.

•  If you need to, writing passwords on a piece of paper is more secure than in a file on your computer (or worse, company share). Don’t associate it with the user name.

40

NETWORK SECURITY

Page 41: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Networks •  USE A FIREWALL. A good one. That is properly setup.

•  Close down all incoming ports that are not needed. Log each exception (“pin hole”).

•  Regularly check server and network logs for suspicious activity.

•  Maintain two networks when possible: a closed “production” network and an internet accessible “corporate” network.

•  Use a DMZ when needed.

•  Do not dual home machines (two network connections).

•  Use email and attachments scanning, and scan all files going between networks.

•  If possible use IDS (Intrusion Detection Systems).

41

NETWORK SECURITY

Page 42: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

Personnel •  Training, Training, Training!

•  Do NOT share passwords. Ever.

•  Do not EVER EVER EVER EVER open an attachment or link that you are not 100% certain is safe.

•  Support does not randomly call you. Ever. That’s what Sales folks are for!

•  A website will never ask you to verify your account through an email.

42

NETWORK SECURITY

Page 43: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

43

FILE DELIVERY Q&A

Page 44: Challenges of Sending Large Files Over Public Internet Performs well under ideal conditions • Low latency and low packet loss typical of LAN TCP performance degrades with distance

CLICK TO EDIT MASTER TITLE STYLE CLICK TO EDIT MASTER SUBTITLE STYLE

Thank you Visit us online at www.asperasoft.com

Reach me at [email protected]