Solved

Testing With Propagation Delays

Posted on 2011-09-19
6
274 Views
Last Modified: 2012-05-12
I am testing an SQL server on my LAN and the response is very quick. I have problems, though, when testing outside of work over the internet (eg. at Starbucks). There are problems that I only see when there are propagation delays.

How can I stay at work and access my local server after first looping through the internet? If I use the external I.P. address, the router just short circuits to the local machine.

I want the propagation delay. Is there some standard external proxy server I can use to do loopback? I'm wasting too much time driving to Starbucks!

0
Comment
Question by:LynnFogwell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 23

Expert Comment

by:nemws1
ID: 36564036
I'd just use a couple SSH tunnels.  Are you familiar with them?
0
 

Author Comment

by:LynnFogwell
ID: 36564121
I use the terminal shell on my mac. I have never set up any tunneling. I still need a remote machine, right? I have set up an Amazon cloud machine in the past, but that is a good bit of work.
Isn't there a service out there that just provides this? Surely other developers work with various connection qualities.
0
 
LVL 12

Expert Comment

by:hfraser
ID: 36564147
If you've got a separate box with some extra network cards, there's a package called MasterShaper for Linux that will simulate any network delays, whether it's bandwidth or latency, when used as a bridge in your network. It's got a web interface for configuration, and will generate all the graphs you want to see what's happening with your app. I've used it in the past to simulate high-latency trans-Atlantic hops for our systems.

0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 9

Expert Comment

by:parparov
ID: 36564224
dummynet: http://info.iet.unipi.it/~luigi/dummynet/ 

This may be your tool.
0
 

Accepted Solution

by:
LynnFogwell earned 0 total points
ID: 36571750
MySQL-Proxy is the easiest solution that I found. It is activated with a single, simple command line. I set it up as follows:
I downloaded the latest version of MySQL-Proxy at dev.mysql.com. I created an Amazon EC2 instance (LINUX micro- its free!!!) I then copied the mysql-proxy.tar file, to the EC2 instance, with scp. scp (ssh copy) does an ftp tunnel through my ssh port. I then extracted the tar and ran:

mysql-proxy  --proxy-backend-addresses=123.45.67.89:3306 --daemon

I also needed to open up port 4040 on the EC2 instance (security group function), because that is the default port for the proxy. All my server traffic, including authentication, runs through this proxy. Big fat round-trip delay times...

I had tried iptables, but I could not get it to work (complicated!)  Thanks for the suggestions, above, but this was the 'easiest' for me. Only cost me a day of work....
0
 

Author Closing Comment

by:LynnFogwell
ID: 36594806
I guess i grade myself?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question