Key Features
- Learn 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 projects
- Write interesting, and clever but simple code, and learn skills and techniques that are directly transferrable to your own projects
- Discover how to write code capable of delivering massive world-class scale performance and availability
Book Description
Dive headfirst into solving actual enterprise problems and start cutting code from the word go. You will build complete applications around a variety of subjects using a range of different technologies and techniques, all of which are directly applicable to today's tech start-up world.
Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book will arm you with everything you need to build world-class solutions. Well-designed applications and sensible architectures can scale horizontally to cope with the demands of up to millions of users, while avoiding the prohibitive up-front investment that can bring a project to its knees.
What you will Learn
- Build quirky and fun projects from scratch while exploring widely applicable skills, patterns, practices, and techniques, as well as a range of different technologies
- Create websites and data services capable of massive scale using Go's net/http package, exploring RESTful patterns as well as low-latency WebSocket APIs
- Interact with a variety of remote web services to consume capabilities ranging from authentication and authorization to a fully functioning thesaurus
- Develop high-quality command-line tools that utilize the powerful shell capabilities and have great performance using Go's in-built concurrency mechanisms
- Implement a modern document database as well as high-throughput messaging queue technology to put together an architecture that is truly ready for scale
- Write concurrent programs and gracefully manage their execution and communication with smart use of channels
About the Author
Mat Ryer has a family legend (or conspiracy) that tells of him programming computers from the age of 6—he and his father would build games and programs, first BASIC on a ZX Spectrum then later AmigaBASIC and AMOS on their Commodore Amiga. Many hours were spent manually copying out code from the Amiga Format magazine, before spending more still 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 for a local agency in Mansfield, England, when he was 18, where he started to build websites and services. After contracting 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. Because it addressed very pertinent and relevant modern technical challenges, Mat started using it to solve problems while the language was still in beta and he has used it ever since.
Table of Contents
- Chat Application With Web Sockets
- Adding Authentication
- Three Ways to Implement Profile Pictures
- Command-Line Tools to Find Domain Names
- Building Distributed Systems and Working with Flexible Data
- Exposing Data and Functionality Through a Restful Data Web Service Api
- Random Recommendations Web Service
- Filesystem Backup