Solved

Testing With Propagation Delays

Posted on 2011-09-19
6
262 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
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Magneto product importing through API script 10 53
What does "flush tables;" do exactly? 7 67
Insert with SET how to handle join 6 56
Instering to MySQL table 5 37
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Creating and Managing Databases with phpMyAdmin in cPanel.
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

919 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now