Build a Google Analytics in Go
7h 18m 48s
English
Paid
Course description
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
0:00
/ #1: Course intro
All Course Lessons (32)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Course intro Demo | 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 |
Unlock unlimited learning
Get instant access to all 31 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionComments
0 commentsWant to join the conversation?
Sign in to commentSimilar courses
Writing An Interpreter In Go
Sources: Thorsten Ball
In this book we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language. S...
Foundations of Debugging for Golang
Sources: ByteSizeGo, Matt Boyle
Debugging is the most important skill that most people are never taught. Being able to debug locally and in production is a critical skill for any Go...
Testing with Go
Sources: usegolang.com
Learn how to test real, complex software written in Go. Large or small, perfect abstractions or global state galore; it doesn't matter what your code looks like, you CAN learn t...
33 hours 16 minutes 48 seconds
For the Love of Go: Book/Video Bundle
Sources: John Arundel
Hello, and welcome to learning Go! It's great to have you here. This is the bundled edition of ‘For the Love of Go’, a book introducing the Go programming langu
6 hours 12 minutes 54 seconds