Join Simon Allardice for an in-depth discussion in this video Network efficiency, part of Foundations of Programming: Code Efficiency.
- View Offline
The situation we're trying to improve with network efficiency is that…our app, server app, desktop app, mobile application is now trying…to read or write a file or a piece of data…from a machine that is physically separate and connected via a network.…Now that might be across the other side of the room, across…the other side of town, maybe across the other side of the planet.…Or maybe, as is so often the case these days, you're…trying to fetch some file or piece of data from another machine,…and you have no idea where that machine is physically located.…Now you might be using a dedicated private…network, you might be using the regular internet…to send these things back and forth, that…really doesn't matter, our concerns are the same.…
Now our approach with disk input and output efficiency all came down…to the basic idea of minimize disk activity, and everything flows from that.…And that is still important here as a general principle,…but there's a new one that comes in above it,…minimize network latency, or at least repeated amounts of this.…
Learn to choose the right data types, understand the pitfalls of using high-level languages, and decide where to spend your time. Plus, see how the underlying memory management model may have more of an impact than you realize, and what performance issues you can expect working with databases and web services.
- Identifying problems in the code
- Embracing constraints
- Using code analysis tools to measure performance
- Managing memory
- Managing disk-based and network resources
Skill Level Beginner
Foundations of Programming: Refactoring Codewith Simon Allardice1h 44m Intermediate
1. Approaching Efficiency
4. Algorithmic Efficiency
5. Disk-Based and Network Resources
Next steps6m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.