Build a Google Analytics in Go
7h 18m 48s
English
Paid
This course assumes you've taken my Build SaaS apps in Go course or are familiar with Go's standard library for building web applications.
Read more about the course
We cover the following aspects:
- The client-side tracker.
- The Go backend API.
- Geo-localization from an IP address.
- Storing the data into PostgreSQL.
- Using Docker to improve your developer's life.
- Generating traffic and testing the performance of our system.
- Optimizing the DB, table, and queries.
- Using ClickHouse to handle 100x the volume of our database.
- Building a CLI dashboard.
- Deploying our approach to a VM.
Watch Online Build a Google Analytics in Go
Join premium to watch
Go to premium
# | Title | Duration |
---|---|---|
1 | Course intro | 03:19 |
2 | What we need | 09:27 |
3 | Setup project | 11:38 |
4 | Tracker class | 16:23 |
5 | Track page views | 13:09 |
6 | Handle missing data | 16:24 |
7 | API design | 03:19 |
8 | Track handler | 10:02 |
9 | Decode data | 15:27 |
10 | Data structure | 20:29 |
11 | Use Docker to test | 27:56 |
12 | Architecture design | 03:12 |
13 | Run the project | 16:26 |
14 | Call from API | 12:18 |
15 | Fill database | 04:19 |
16 | Generate 15M rows | 14:24 |
17 | Import the data | 15:41 |
18 | The problem | 14:12 |
19 | Let's normalize | 16:30 |
20 | This sucks! | 09:57 |
21 | ClickHouse | 10:34 |
22 | Is it faster than PG | 12:30 |
23 | Swap PG for ClickHouse | 14:18 |
24 | Queue and batch inserts | 27:24 |
25 | Adding referrer domain | 03:05 |
26 | Proof of concept | 18:35 |
27 | Refactor and display metrics | 19:18 |
28 | Dashboard v1 | 26:46 |
29 | Add configuration | 11:21 |
30 | API authentication | 08:45 |
31 | Servers config setup | 23:31 |
32 | Dashboard config | 08:09 |
Similar courses to Build a Google Analytics in Go

Go in Practice, Second EditionMatt ButcherMatt FarinaNathan Kozyra
Category: Golang (Google Go)
Duration
Book

Let's Build a Go version of Laraveludemy
Category: Golang (Google Go), Laravel
Duration 19 hours 22 minutes 16 seconds
Course

Working with Design Patterns in Go (Golang)udemy
Category: Golang (Google Go)
Duration 10 hours 20 minutes 8 seconds
Course

Let's Build a Go version of Laravel: Part Twoudemy
Category: Golang (Google Go), Laravel
Duration 8 hours 5 minutes 42 seconds
Course

Build Your Own Database in Go From ScratchJames Smith
Category: Golang (Google Go)
Duration
Book

Ultimate Service 2.0ardanlabs.com
Category: Golang (Google Go)
Duration 14 hours 7 minutes 18 seconds
Course

Ultimate Debuggingardanlabs.com
Category: Golang (Google Go)
Duration 10 hours 15 minutes 13 seconds
Course

Go (Golang) Programming The Complete Go Bootcamp 2023udemy
Category: Golang (Google Go)
Duration 17 hours 49 minutes 29 seconds
Course

Golang: How to Build a Blockchain in Go Guideudemy
Category: Golang (Google Go), Other (Blockchain)
Duration 5 hours 24 minutes 9 seconds
Course

Ultimate Go: Software Design with Kubernetesardanlabs.com
Category: Golang (Google Go)
Duration 18 hours 2 minutes 48 seconds
Course