Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

1) if i get two vpses on a same hosting machine instead of a different one would i get a better response time between the two? or is it the same as long as they are both in the same network?

case scenario: I have a mysql database on server A, I load balance a website and need both servers (A locally, B remotely) to access server A database as quickly as possible.

2) What can I do to improve server B connection time to server A db?

thank you.

share|improve this question
This question is impossibly broad in its current form (and possibly just impossibly broad). If you want a useful answer, you'll need to provide more details. – HopelessN00b Aug 27 '12 at 11:00

closed as not a real question by HopelessN00b, Adrian, jscott, SvW, growse Nov 8 '12 at 13:20

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

Theoretically you should get better performance if the network stack on the host system detects that it is a local connection and uses internal mechanisms rather than the sending the results out on the network. If it does this depends greatly on the environment and machine setups.

You really just need to test this. A simple ping test should help in determining if it is using the network or not, especially if you compare the results from A to mysql vps and B to mysel vps.

share|improve this answer
Depending on the nature of the traffic, the limitation on bandwidth will be down to slow start throttling - until it reaches a steady state. I'm not aware of any OS which can discriminate between a virtual and physical interface which is not configured on the local machine (most recognise the loopback device, and Solaris will shortcut links to local addresses). – symcbean Aug 27 '12 at 12:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.