Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Optimizing Your Apps For Today's Internet

Optimizing Your Apps For Today's Internet

Andrey Moskvin

March 30, 2019
Tweet

More Decks by Andrey Moskvin

Other Decks in Technology

Transcript

  1. Optimizing Your Apps For Today’s Internet Andrii Moskvin Senior Software

    Developer Sigma Software, 1 Ac. Proskura Str., Kharkiv 30.03.19
  2. Sigma Software, 30.03.19 • Explicit Congestion Notification (traffic jams on

    route)? What your service support? • TCP Fast Open 2 • Multipath TCP (MPTCP) (routing decision on per packet basics instead on per connection) (habr.com)
  3. Sigma Software, 30.03.19 Quick UDP Internet Connections (QUIC) - successor

    to replace TCP (work started by Google) https://jacobianengineering.com/blog/2016/11/1543/ 4
  4. Sigma Software, 30.03.19 Public Certificate Authority Log Every certificate used

    on the public Internet and trusted by browsers is stored in at least two public logs. Everyone can access these logs. 6
  5. Sigma Software, 30.03.19 • There is performance hit on short

    DNS records (less than 60 seconds) DNS • DNS Long vs Short 7
  6. Sigma Software, 30.03.19 • Fewer objects - better • QoS

    aware - task.resume() will check the priority of the queue it was called • URLSession.waitsForConnectivity instead of SCNetworkReachability • URLSessionConfiguration.isDiscretionary • UrlRequest.NetworkServiceType.responsiveData URLSession 11
  7. Sigma Software, 30.03.19 Use Cache-Control header on servers to mark

    content which should be cached and which not DON’T CACHE UNIQUE CONTENT!!!! Tips 12
  8. Sigma Software, 30.03.19 Useful links:
 • WWDC 2018 Session 714

    • WWDC 2018 Session 715 Thank you for your attention!
 Questions? 13 My contacts: Telegram Facebook