36. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
37. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertionWhats wrong with this software?
38. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
No single line
of automated
tests
Pool of TCP
Trans Servers
Other TCP
Service
Ad
Insertion
Other TCP
Service
39. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
Lots of
memory leaks Pool of TCP
Trans Servers
Other TCP
Service
Ad
Insertion
Other TCP
Service
40. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
High-cost
infrastructure Pool of TCP
Trans Servers
Other TCP
Service
Ad
Insertion
Other TCP
Service
41. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
Single file with
2k lines of
code
Pool of TCP
Trans Servers
Other TCP
Service
Ad
Insertion
Other TCP
Service
42. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
Ad-hoc TCP
Plain Text
Service protocol
Pool of TCP
Trans Servers
Other TCP
Service
Ad
Insertion
Other TCP
Service
43. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertionWhats wrong with this software?
44. Pool of TCP
Trans Servers
Postgres
Ha Proxy
Route
PG functions
Other TCP
Service
Ad
Insertion
Other TCP
Service
Ad insertion
400 lines of
Business logic
inside a single
Postgres function
Postgres
PG functions
60. AWS ECS
Cluster
Postgres
Nginx
Route
PG functions
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service
Ad insertion
Standard
HTTP + JSON
Service protocol
AWS ECS
Cluster
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service
61. AWS ECS
Cluster
Postgres
Nginx
Route
PG functions
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service
Ad insertion
Standard
AWS + ECS
terraformed
Infrastructure
AWS ECS
Cluster
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service
62. AWS ECS
Cluster
Postgres
Nginx
Route
PG functions
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service
Ad insertion
Standard
HTTP + JSON
Service protocol
AWS ECS
Cluster
Other HTTP
Service
Elixir Ad
Insertion
Other HTTP
Service