So, Here, I am again with silly scrap which I see is done all the time and that is reading files. Today, we are going to see how to read a file in one go ;-) But before using this method, check if the file size is going to be small enough to fit into system's memory. We know, OS uses RAM (Random access memory) to store all temporary data which it requires frequently, so if you are going to read a file or anything which overshoot the RAM size, it is time to think how you can avoid that.
Hence, think before implementing any solution blindly cause it may work for any demos but might fail in real-time scenarios. Considering that, let's see how it is done in Golang world -
--
No comments:
Post a Comment