Book description
Build real-world, production-ready solutions in Go using cutting-edge technology and techniques
About This Book
Get up to date with Go and write code capable of delivering massive world-class scale performance and availability
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
Who This Book Is For
If you are familiar with Go and are want to put your knowledge to work, then this is the book for you. Go programming knowledge is a must.
What You Will Learn
Build quirky and fun projects from scratch while exploring 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 perform well using Go’s in-built concurrency mechanisms
Build microservices for larger organizations using the Go Kit library
Implement a modern document database as well as high-throughput messaging queue technology to put together an architecture that is truly ready to scale
Write concurrent programs and gracefully manage the execution of them and communication by smartly using channels
Get a feel for app deployment using Docker and Google App Engine
In Detail
Go 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 Go’s 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.
Style and approach
This book provides fun projects that involve building applications from scratch. These projects will teach you to build chat applications, a distributed system, and a recommendation system.
Table of contents
-
Go Programming Blueprints Second Edition
- Go Programming Blueprints Second Edition
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Chat Application with Web Sockets
- 2. Adding User Accounts
- 3. Three Ways to Implement Profile Pictures
- 4. Command-Line Tools to Find Domain Names
- 5. Building Distributed Systems and Working with Flexible Data
- 6. Exposing Data and Functionality through a RESTful Data Web Service API
- 7. Random Recommendations Web Service
- 8. Filesystem Backup
-
9. Building a Q&A Application for Google App Engine
- The Google App Engine SDK for Go
- Google Cloud Datastore
- Entities and data access
- Google App Engine users
- Transactions in Google Cloud Datastore
- Querying in Google Cloud Datastore
- Votes
- Casting a vote
- Exposing data operations over HTTP
- Running apps with multiple modules
- Deploying apps with multiple modules
- Summary
- 10. Micro-services in Go with the Go kit Framework
- 11. Deploying Go Applications Using Docker
- Appendix. Good Practices for a Stable Go Environment
Product information
- Title: Go Programming Blueprints - Second Edition
- Author(s):
- Release date: October 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786468949
You might also like
book
Go Programming Blueprints
Build real-world, production-ready solutions in Go using cutting-edge technology and techniques In Detail Dive headfirst into …
book
Go Systems Programming
Learning the new system’s programming language for all Unix-type systems About This Book Learn how to …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Go: Building Web Applications
Build real-world, production-ready solutions by harnessing the powerful features of Go About This Book An easy-to-follow …