caleb’s code
https://github.com/golang-book/bootca...
todd’s code
https://github.com/GoesToEleven/Golan...
course outline
https://goo.gl/EIbk7a
Learn The Language - Golang Training
https://goo.gl/DB1GvG
Learn The Language - Great Golang Books
https://www.golang-book.com/books/intro (Caleb Doxsey)
http://amzn.to/1PmlB1w (Bill Kennedy)
http://amzn.to/21nO1Mc (Donovan & Kernighan)
http://amzn.to/1PmlKSB (Balbaert)
Learn The Language - Quick Code Samples
https://gobyexample.com/
Playlist of all videos in training
https://goo.gl/WWCh9D
Index of Videos
https://goo.gl/SDgaEr
ASK QUESTIONS & GET HELP
https://forum.golangbridge.org/c/gett...
STAY CONNECTED
G+ https://goo.gl/kWyztP
https://twitter.com/Todd_McLeod
https://www.youtube.com/user/toddmcleod
NOTES ON THIS VIDEO:
GOOGLE CLOUD STORAGE; it’s like a giant hard drive; Google has amazing reliability; doesn’t lose data; the more data you get, the harder it is to access a certain piece of data; you could build your own hardware infrastructure, but it’s easier and cheaper to use google cloud storage (gcs); we can read and write files to GCS; BUCKETS are like a HDD; OBJECT STORAGE: it’s just a bucket with millions of files in them; you can name your files so that they have “folders” in the name; example: /todd/work/analysis.doc ; there are no folders like on our HDD; just buckets with files; those buckets can be in different regions; don’t pass files through your app; use PUBLIC files when you can and then just give the user the URI to download the file from GCS; app engine is a read only file system; GCS allows us to write files to it; we use GCS like our HDD; you can do file permissions like ACCESS CONTROL LIST for files (ACL); the GCS API for Go doesn’t have GET or PUT; instead we have NEW READER (NewReader); NEW WRITER (NewWriter); CONTEXT is not an app engine context - it’s a GCS context; ( 17:00) THIS IS GOING TO BE PAINFUL; use IO.COPY to copy your file in your HTTP response; GCS NewWriter and NewReader don’t return errors; you see the error when you try to CLOSE the Writer or Reader; ( 21:50) Caleb walks through documentation;
Google Cloud Storage Training programming logic and design pdf | |
| 2 Likes | 2 Dislikes |
| 1,017 views views | 21.3K followers |
| Education | Upload TimePublished on 24 Jul 2015 |
Không có nhận xét nào:
Đăng nhận xét