Coding Blocks cover image

Designing Data-Intensive Applications – Storage and Retrieval

Coding Blocks

00:00

How to Write a Log Into a File

If you are going and writing to a spot in a file, it means you have to seek for it. If that information is larger than the information that you are up dating, then you've got to make room by basically shifting everything else to the right. So it's grossly inefficient compared to appending. We're not talkig about like a micro optimization here. We're talking about essentially an order of magnitude difference over, you know, appending. Now, if i say, hey, i want to get allan's contact information right now, you got a scan through the entire file from depen. Get into more things later,. But right now, in what we've talked

Play episode from 28:48
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app