During the past years WAN optimization devices were used to optimize end-user traffic mainly. Employers connecting to remote applications can achieve better user experience if a couple of WAN optimization are deployed. Typically web applications, file sharing and email can be well accelerated: end users can increase their productivity with a little investment.
On the other side providers usually offer free bandwidth upgrade during a contract renewal.
So the question are:
- Can Data Center replication take advantage of WAN optimization?
- Can a Bandwidth upgrade always supersede WAN optimization?
The answers are, as always: it depends.
Introduction: WAN optimization and possible workload.
First of all let me introduce the scenario: let me assume that two data centers are interconnected using an MPLS network provided by an ISP. The links are pretty reliable and the packet loss ratio is very low. One data center is main and active, the other one is secondary and stand-by. In the Data Center we have a classic environment based on:
- VMware vSphere virtualization suite running application server based on Linux, Apache Web Server and/or Tomcat container;
- NetApp storage;
- Oracle databases
Data is replicated from the primary data center to the second one using NetApp Snapmirror (regarding Virtual Machines) and Oracle archive transport (regarding Oracle databases).
The most important thing is that data, regarding CIFS/FTP transfers, NetApp and Oracle replications, are unencrypted and uncompressed.
A WAN optimization is not just a data compressor. It optimizes data transmission over media with lower bandwidth and higher latency. The Cisco WAAS (Wide Area Application Services) system consists of a set of software and devices that work together to optimize TCP network traffic.
The WAAS software can be run on a dedicated physical appliance (WAE/WAVE), on a virtual appliance (vWAAS), on an ISR (as software or with additional module) or on a mobile PC.
Even if the entire WAAS solution can cover different company needs, we’ll focus on server-to-server connectivity. Mobile, Express and ISR solutions will not be discussed here.
A Cisco WAAS solution acts on the following key elements:
- Data Redundancy Elimination (DRE): it’s a sort of data deduplication that uses disk and memory to store redundant data.
- Persistent LZ Compression (PLZ): packets are compressed before they are sent over the WAN link.
- Transport Flow Optimization (TFO): TFO is a series of TCP optimizations that enhance performance when a high latency media is used.
In other words Cisco WAAS optimizes communications eliminating packets with duplicated data (DRE) and compressing data also. Moreover Cisco WAAS optimizes TCP to be used under long distance links: long distance connections cannot be easily saturated because of the TCP behavior, especially if the media is not 100% reliable.
This behavior is known as TCP synchronization: TCP cannot sustain an adequate performance. Cisco WAAS optimizes TCP so connections can use all the bandwidth available.
Using Cisco WAAS solution: before and after
How did the bandwidth usage change after a WAAS deployment? An image is better than a thousand words.
The red line shows when the WAAS solution was activated: the nightly bandwidth peak missed from the day after.
During the last month WAAS reduced the traffic up to 75%.
In other words the effective WAN capacity is virtually incremented by WAAS:
During the tests 109 TB of data passed through the WAAS, 12 TB were excluded and 97 TB were reduced to 27 TB.
Conclusions: WAN optimization vs. bandwidth upgrade
Let’s recap pro and cons of both solutions:
- Complexity: introducing WAN optimization increases the complexity. But the WAAS solution is very simple and ready to go.
- Costs: bandwidth upgrade is usually cheaper than buying WAN optimization, but Cisco WAAS is not so expensive compared to other solutions.
- Bandwidth: both bandwidth upgrade and WAN optimization increase the data transmitted ratio. The trade-off depends on the bandwidth upgrade and the optimization ratio.
- Connection optimization: only a WAN optimization can fully optimize TCP connections. Bandwidth cannot be fully saturated by TCP transfers unless TCP options are properly configured.
The conclusion is that a Cisco WAAS solution can help Data Center traffic replication better than a bandwidth upgrade.
More technical details are available on my web site.
- Cisco Wide Area Application Services
- BRKAPP-2005 – Deploying Cisco Wide Area Application Services (WAAS) – Cisco Live 2012 London
- Cisco Wide Area Application Services system (WAAS/WAVE/WAE) blog post by Andrea Dainese