How the Product Hunt team was able to scale our systems from 1 user to millions of users. The Talk is focused on our process and technology choices.
Radoslav Stankov 04/09/2020Scaling Product Huntfrom 1 to million ofusers
View Slide
Radoslav Stankov@rstankovblog.rstankov.com twitter.com/rstankov github.com/rstankov speakerdeck.com/rstankov
How it all started
An Ideat!
Fundingt⛽
Product Hunt + AngelListt#
2019...t$
Max number of engineers we ever had was 8
image credit: remotehub.io
3 phases of a startupexplore expand extract ...
3 phases of a startupexplore expand extract ...I think, we are here %
Process
“Process is automatic decisions for trivialquestions and framework for making decisionsfor all other questions.”- RadoWhat is process?
Our process had changed and continues toevolve, and the followings are the constants inour process over the years &
' single player mode( automation) code review* constant delivery+ maintenance
Single Player Mode
Project,-.%Testing 2 weeks fixed sprintst/01ProjectProjectProjectProjectProject
Automationt23 linters - Brakeman, Rubocop, ESLint, Prettier) unit & e2e tests - Ruby, JavaScript+ type safety - TypeScript, GraphQL* deployment - CircleCI4 infrastructure - Terraform5 monitor & alert
Code reviewt4
Feature flagst6
OFFONUserCheckFeature flagst6
1st day 4th day 1st week ...
1st day 4th day 1st week ...developer
1st day 4th day 1st week ...developer admins
1st day 4th day 1st week ...developer admins beta
1st day 4th day 1st week ...developer admins beta everybody
t7Happy Friday8 fix exceptions9 database performance: upgrade dependancies; pay technical depth & code migrations< bug fixes
We are a startup, we experiment, iterate, andremove what doesn't work.Our code needs to be decoupled, so it is easy toadd and remove features.
= have good defaults> have good code organization? make common operations easy@ isolate dependenciesA extensibility and reusability
2014 20192015 2016 2017Architecture HistorytB
...we plan 6 months ahead, assuming we willdouble our targets
The monolith(s)tC
Recap
https://speakerdeck.com/rstankovThanks ,