Oreilly - Advanced Solutions in Go - Testing and Distributed Systems
by Aaron Torres | Released September 2019 | ISBN: 9781788627887
Bridge the gap between basic understanding of Go and use of its advanced featuresAbout This VideoDiscover a number of techniques and approaches to develop modern back-end applicationsPut to use the best practices to combine the techniques for sophisticated parallel toolsThis video is based on Go version 1.6 and aboveIn DetailGo (a.k.a. Golang) is a statically-typed programming language first developed at Google. It is derived from C with additional features such as garbage collection, type safety, dynamic-typing capabilities, additional built-in types, and a large standard library. This video takes off where basic tutorials on the language leave off. You can immediately put into practice some of the more advanced concepts and libraries offered by the language while avoiding some of the common mistakes for new Go developers. The video explores applications that interact with users, such as websites, command-line tools, or via the file system. It demonstrates how to handle advanced topics such as parallelism, distributed systems, and performance tuning. Lastly, it finishes with reactive and serverless programming in Go. Show and hide more
- Chapter 1 : Testing
- The Course Overview 00:02:35
- Mocking Using the Standard Library 00:03:39
- Using the mockgen Package 00:02:48
- Using Table-Driven Tests to Improve Coverage 00:02:43
- Using Third-Party Testing Tools 00:03:26
- Practical Fuzzing 00:03:21
- Behavior Testing Using Go 00:02:56
- Chapter 2 : Parallelism and Concurrency
- Using channels and the select Statement 00:02:46
- Performing async Operations withsync.WaitGroup 00:02:19
- Using Atomic Operations and mutex 00:03:13
- Using the context Package 00:02:57
- Executing State Management for Channels 00:02:24
- Using the Worker Pool Design Pattern 00:03:01
- Using Workers to Create Pipelines 00:02:57
- Chapter 3 : Distributed Systems
- Using Service Discovery with Consul 00:02:31
- Implementing Basic Consensus Using Raft 00:03:52
- Using Containerization with Docker 00:03:04
- Orchestration and Deployment Strategies 00:02:36
- Monitoring Applications 00:02:34
- Collecting Metrics 00:02:22
- Chapter 4 : Reactive Programming and Data Streams
- goflow for Dataflow Programming 00:03:25
- Reactive Programming with RxGo 00:02:47
- Using Kafka with Sarama 00:02:44
- Using async Producers with Kafka 00:02:48
- Connecting Kafka to goflow 00:02:44
- Defining a GraphQL Server in Go 00:03:52
- Chapter 5 : Serverless Programming
- Go Programming on Lambda with Apex 00:05:28
- Apex Serverless Logging and Metrics 00:02:53
- Google App Engine with Go 00:04:14
- Working with Firebase Using zabawaba99/firego 00:03:39
- Chapter 6 : Performance Improvements, Tips, and Tricks
- Using the pprof Tool 00:03:17
- Benchmarking and Finding Bottlenecks 00:02:15
- Memory Allocation and Heap Management 00:02:23
- Vendoring and Project Layout 00:03:44
- Using fasthttprouter and fasthttp 00:03:31
Show and hide more