Go Programming Blueprints - Second Edition by Mat Ryer
Privacy Policy
Read using
(price excluding SST)
Author:
Mat Ryer
Category:
Engineering & IT
ISBN:
9781786462473
Publisher:
Packt Publishing
File Size:
8.36 MB
(price excluding SST)
Synopsis
Key FeaturesGet up to date with Go and write code capable of delivering massive world-class scale performance and availabilityLearn to apply the nuances of the Go language, and get to know the open source community that surrounds it to implement a wide range of start-up quality projectsWrite interesting and clever but simple code, and learn skills and techniques that are directly transferrable to your own projectsBook DescriptionGo is the language of the Internet age, and the latest version of Go comes with major architectural changes. Implementation of the language, runtime, and libraries has changed significantly. The compiler and runtime are now written entirely in Go. The garbage collector is now concurrent and provides dramatically lower pause times by running in parallel with other Go routines when possible.This book will show you how to leverage all the latest features and much more. This book shows you how to build powerful systems and drops you into real-world situations. You will learn to develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Gos in-built concurrency mechanisms. Scale, performance, and high availability lie at the heart of our projects, and the lessons learned throughout this book will arm you with everything you need to build world-class solutions. You will get a feel for app deployment using Docker and Google App Engine. Each project could form the basis of a start-up, which means they are directly applicable to modern software markets.What you will learnBuild quirky and fun projects from scratch while exploring patterns, practices, and techniques, as well as a range of different technologiesCreate websites and data services capable of massive scale using Gos net/http package, exploring RESTful patterns as well as low-latency WebSocket APIsInteract with a variety of remote web services to consume capabilities ranging from authentication and authorization to a fully functioning thesaurusDevelop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Gos in-built concurrency mechanismsBuild microservices for larger organizations using the Go Kit libraryImplement a modern document database as well as high-throughput messaging queue technology to put together an architecture that is truly ready to scaleWrite concurrent programs and gracefully manage the execution of them and communication by smartly using channelsGet a feel for app deployment using Docker and Google App EngineAbout the AuthorMat Ryer has been programming computers since he was 6 years old; he and his father would build games and programs, first in BASIC on a ZX Spectrum and then in AmigaBASIC and AMOS on Commodore Amiga. Many hours were spent on manually copying the code from Amiga Format magazine and tweaking variables or moving GOTO statements around to see what might happen. The same spirit of exploration and obsession with programming led Mat to start work with a local agency in Mansfield, England, when he was 18, where he started to build websites and services.In 2006, Mat left rural Nottinghamshire for London, where he took a job at BT. It was here that he worked with a talented group of developers and managers on honing his agile development skills and developing the light flavor that he still uses today.After being contracted around London for a few years, coding everything from C# and Objective-C to Ruby and JavaScript, Mat noticed a new systems language called Go that Google was pioneering. Since it addressed very pertinent and relevant modern technical challenges, Mat started using it to solve problems while the language was still in the beta stage and he has used it ever since.In 2012, Mat moved to Boulder, Colorado, where he worked on a variety of projects, from big data web services and highly available systems to small side projects and charitable endeavors. He returned home, to London, in 2015 after the company he was working in was sold. Mat, to this day, continues to use Go to build a variety of products, services, and opensource projects. He writes articles about Go on his blog at matryer.com and tweets about Go with the handle @matryer.Mat is a regular speaker at Go conferences around the world and encourages people to come up and introduce themselves if their paths ever cross.Table of ContentsChat Application with Web SocketsAdding User AccountsThree Ways to Implement Profile PicturesCommand-Line Tools to Find Domain NamesBuilding Distributed Systems and Working with Flexible DataExposing Data and Functionality through a RESTful Data Web Service APIRandom Recommendations Web ServiceFilesystem BackupBuilding a Q&A Application for Google App EngineMicro-services in Go with the Go kit FrameworkDeploying Go Applications Using DockerGood Practices for a Stable Go Environment
Reviews
Be the first to review this e-book.
Write your review
Wanna review this e-book? Please Sign in to start your review.