Management: It’s cheaper to consolidate all our servers, applications, and data to a single remote facility, that way we can cut back on the number of IT staff and number of servers.
But what location will we use?
We found a location, because of the Martian-Earth Free trade (MEFT) agreement , Martian IT workers will work for 1/5 th the cost of Earth IT workers what a great deal!
User: Wow, It takes me 15 minutes to input one TPS report in the database, why would anyone put the servers on mars? Oh well it just gives me more time to play minecraft!
Management: Why are bandwidth costs so high, from now on cut bandwidth by half.
User: Wow, It takes me 30 minutes to input one TPS report in the database, why would anyone put the servers on mars? Oh well I am glad the minecraft server is local!
 |
| That is one big mine! |
Sound familliar, like everyone else in the data consolidation business, once the data is remotely stored a host of problems crop up with remote offices on bandwidth constrained links. Users are unable to complete their work because there is not enough bandwidth for everyone to transfer data back and forth. In order to solve this multiple solutions were looked at with a preference for a no-cost solution. Studying traffic flows on constrained links brought a trend forward - First person always wins! On the constrained link whoever asks for a large file first, will dominate the link and get their data quick, while the second user will request data and timeout constantly. My first thoughts shouldn’t everyone get a fair shot to the bandwidth, but every time there was always one user dominating the link.
A little research in advanced router configuration and you come across queuing strategies. By default routers are set to transmit data in order it was received without regard to bandwidth consumptions or delays, otherwise known as the FIFO (First IN First Out) queuing strategy. When there is a high-volume user, they will generate bursts of packets called packet trains. These packet trains travel through the network together and consume all available bandwidth starving out any other user’s traffic. So can this issue be fixed. Yes!, buy more bandwidth; sorry need a no cost solution. What other queuing strategies are there, well it depends on your router. Remember this is different than regular quality of service (QoS). As a reminder QoS is where certain data is tagged so it can be transmitted first because it has precedence over other data. In our instance all the users are accessing the same resources and have the same precedence level, we just want to ensure each user gets their fair share of bandwidth.
The method looked at was Weighted Fair Queuing, which is available on CISCO routers. Under this strategy packet trains are broken up to allow every users' data to fairly share the bandwidth. To accomplish this the router looks at packet header information and creates a hash based on factors such as:
source/destination network address
source/destination mac address
source/destination port numbers
This info is used to identify packet trains and high-volume conservations versus low-volume conservations. The router then places the packets in the transmission queue based upon low-volume conservations getting priority over the high-volume priority. After the low-volume conservations have been serviced, high-volume conversations share remaining link capacity fairly by use of interleaving or alternate transmission time slots.
Does it work, yes it does allow multiple clients to share a single low bandwidth link. However don’t expect miracles best solution is still buy more bandwidth, leave the data on the local LAN, or get a wan optimizer – but these cost money.