How to improve application performance and reduce latency

By George Lawton, CIO |  Mobile & Wireless

In addition, WebSockets can reduce the data overhead in communicating the same information to multiple clients. In one demo stock market application for 1,000 clients, WebSockets reduced communication bandwidth to only 0.015 Mbps, compared to 6.6 Mbps using HTTP.

Test Early, Test Often to Reduce Latency

Developers can test applications during the development process to see how different design choices will affect performance in a high-latency environment. One way is to use Mobitest, a Web performance management that Akamai recently made open source.

After an application has been deployed, it is also possible to capture real user measurements with JavaScript code. Newer browsers can provide the best data performance data with direct support for a navigation and timing API, while older browsers need special scripts for requesting data about load times.

Tip: Don't Do Complex App Deployments Yourself

It is important to test applications after they have been deployed, Podjarny explains. "In pretty much all cases, the real user measurement numbers are two to four times higher than synthetic measurements. Usually synthetic measures are biased towards clean, fault-free, and usually faster environments. That is sadly not the real world, especially in mobile."

George Lawton is a California-based freelance technology writer who has been covering computers and communications for 20 years. You can reach him at email. Follow everything from CIO.com on Twitter @CIOonline, on Facebook, and on Google +.

Read more about web-oriented architecture in CIO's Web-oriented architecture Drilldown.


Originally published on CIO |  Click here to read the original story.
Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question