O'Reilly logo

Professional iOS Network Programming: Connecting the Enterprise to the iPhone and iPad by John Szumski, Nathan Jones, Jack Cox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7

Optimizing Request Performance

WHAT’S IN THIS CHAPTER?

  • Understanding network bandwidth and latency
  • Reducing request bandwidth with compression
  • Reducing request latency with pipelining
  • Minimizing request bandwidth with caching

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/WileyCDA/WroxTitle/Professional-iOS-Network-Programming-Connecting-the-Enterprise-to-the-iPhone-and-iPad.productCd-1118362403.html on the Download Code tab. The code is in the Chapter 07 download and individually named according to the names throughout the chapter.

As you have seen in earlier chapters, basic networking from an iOS device is powerful and relatively easy. iOS has a full-featured API that supports many industry-standard protocols; however, even if you develop a phenomenal app, the network communication may perform suboptimally based on the device’s connection to the outside world.

This chapter teaches you the dimensions by which network performance is measured, and you can use that knowledge to improve your app’s network communication. You learn best practices that reduce bandwidth consumed by your app, improve the responsiveness, and even prolong the battery life of the device running the app.

MEASURING NETWORK PERFORMANCE

This section reviews at a high level the metrics used to describe network performance. Although there are many metrics used to describe the performance of a wireless network, this section focuses on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required