Have you ever bothered to think about what is happening on the other side of the hated ad banner on the page? How an ad server handles dozens of thousands of requests per second?
I'll show you an example of a simple GoLang ad server.
Links:
Free GeoIP databases by MaxMind:
https://dev.maxmind.com/geoip/geolite...
Code repository:
https://github.com/VyacheslavGoryunov...
Don't forget to like the video if you like it and subscribe. Thanks for watching!
#ityoutubersru #ityoutubers #ITubeTeam
0:00 What is an advertising server?
0:49 The Plan.
2:22 HTTP server using fasthttp
3:29 User-Agent parsing
6:04 Identify Country via IP address with GeoIP
10:38 User and Campaign Structure
12:04 Implement Targeting
15:13 List of ad campaigns
16:20 Let's test it!
16:56 What do we have to improve?