Explore network programming concepts by building a Toxiproxy clone in this GopherCon 2022 talk. Dive into lower-level concepts like reading and writing to sockets, working with channels, and managing multiple goroutines. Learn why Go is an excellent choice for networking tools and discover the language features that enhance productivity in this domain. Watch a live demo on creating a basic Toxiproxy clone capable of intercepting and adding latency to TCP streams between client and server. Gain insights into Toxiproxy's architecture, its use in chaos testing, and how Shopify employs it to test application resiliency. Perfect for Gophers with command line or API application experience looking to expand their knowledge in network programming.
Overview
Syllabus
Introduction
Who is this talk for
Agenda
Network tooling
Why Go
Open the World
Game Days
Toxiproxy
Architecture
Go Standard Library
Connection Objects
Demo
Writing Data to Client
Adding Latency
Copy and Log
Timeouts
Links
Taught by
Gopher Academy