Distributed File Storage In Go – Full Course
By freeCodeCamp.org
Published: Jun 05, 2024
Learn how to build a decentralized, fully distributed content-addressable file storage system using Go that can handle and stream very large files. This course covers system design, low-level programming, and network protocols, all while building a highly practical and scalable application.?? Course developed by @anthonygg_
???? Learn more from Anthony: https://www.thetotalcoder.com/???? Code: https://github.com/anthdm/distributedfilesystemgo
?? Contents ??
Chapters:
00:00:00 – Building a Decentralized File Storage System
00:16:47 – Accept and Listen
00:37:13 – Hard Handshakes and Error Handling
01:17:28 – Developing a Custom Decoder for TCP Transport
01:20:38 – Implementing Custom Peer-to-Peer Package
01:39:39 – Fixing a Network Connection Error
02:17:41 – Storing and Retrieving Data
02:20:07 – Removing Files and Folders
02:45:27 – Cleaning up code
03:04:03 – Debugging and Helper Functions in Go
03:23:06 – Implementing File Server Options
03:43:01 – Server Configuration Errors
04:02:08 – Debugging and troubleshooting the program
04:36:42 – Broadcasting File to the Network
04:41:25 – Broadcasting and Encoding Data
04:58:35 – Sending and receiving data messages
05:18:19 – Running the Program
05:35:57 – Storing Messages
06:17:40 – Storing the Data
06:19:42 – Buffering and Broadcasting
06:39:03 – Debugging and file retrieval issues
06:59:01 – Dealing with Streams in the Code
07:18:34 – Learning from Mistakes
07:35:07 – Reading and Writing Files
08:12:00 – Encrypting the File
08:14:16 – Caso de prueba para copy decrypt function
08:34:59 – Encrypting and Decrypting Files
09:14:26 – Implementing Distributed File Server
09:18:09 – Implementing a copy function
09:36:05 – Refactoring for Storing and Retrieving Files
09:56:50 – End of Livestream???? Thanks to our Champion and Sponsor supporters:
???? davthecoder
???? jedi-or-sith
???? ????
???? Agustín Kussrow
???? Nattira Maneerat
???? Heather Wcislo
???? Serhiy Kalinets
???? Justin Hual
???? Otis Morgan
???? Oscar Rahnama—
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news