Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I just can't understand, no matter how good and scalable of Cloudant (data as a service), how one can overcome network latency issue?

Even the data center is located within the same country, 100ms is way too slow compare to a local network.

Any thoughts?

share|improve this question

2 Answers 2

Latency may not actually be the result of a slow service from the DBaaS provider. There are other factors that are out of the control of the software layer and simply deal with the actual hardware.

Also, you cannot compare speed of the local network against a data-centre, as the local network will always win, simply because:

  • It is physically closer to the end-user
  • There is less amount of traffic within the local network

Being physically close to the source of whatever you are rendering is vital for speed, that is why the trade-servers of big investment firms that trade in micro/milliseconds are literally sometimes next to the stock exchange buildings.

The best way to overcome latency is to use the local network, as there is no way you can optimize to match the speed of it from a data-centre (unless you build one next to the offices of the end-user).

share|improve this answer

I think that you are overlooking the benefits comparing DBaaS to local network. Latency is a small price to pay (sometimes) when you look at the advantages such as server admin, technical support, transfer of risk, physical space for the servers, etc.

share|improve this answer
    
you can't tell your boss the web app is slow due to this –  ajreal Dec 26 '13 at 1:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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