Solved

Testing With Propagation Delays

Posted on 2011-09-19
6
273 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…

710 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