Skip to main content

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:

  1. The client-side tracker.
  2. The Go backend API.
  3. Geo-localization from an IP address.
  4. Storing the data into PostgreSQL.
  5. Using Docker to improve your developer's life.
  6. Generating traffic and testing the performance of our system.
  7. Optimizing the DB, table, and queries.
  8. Using ClickHouse to handle 100x the volume of our database.
  9. Building a CLI dashboard.
  10. Deploying our approach to a VM.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 32 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Course intro

All Course Lessons (32)

#Lesson TitleDurationAccess
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 subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Go (Golang) Programming The Complete Go Bootcamp 2023

Go (Golang) Programming The Complete Go Bootcamp 2023

Sources: udemy
Fully updated for 2021. This Go Programming course covers every major topic, including Pointers, Methods, and Interfaces (Go OOP), Concurrency In-Depth (Goroutines, Channels, Mu...
17 hours 49 minutes 29 seconds
Getting Started With Golang

Getting Started With Golang

Sources: Academind Pro
Learn all the key fundamentals of Go - one of the most in-demand and popular programming languages you can learn these days! Go (or Golang) is a very modern, performant and popu...
15 hours 19 minutes 14 seconds
How to design & develop REST microservices in Golang (Go)

How to design & develop REST microservices in Golang (Go)

Sources: udemy
Learn to design and develop REST microservices in Go. Master MVC, Domain Driven Development, and Hexagonal architecture with MySQL and Cassandra integrations.
20 hours 26 minutes 49 seconds
Master Go

Master Go

Sources: appliedgo.com (Christoph Berger)
A few years ago, I discovered Go and immediately fell in love with this language. I loved how the incredibly clean design of the language, as well as the awesome toolchain, sudd...
6 hours 32 minutes 20 seconds