Thod	
  Nguyen	
  
Chief	
  Technology	
  Officer	
  
Big Dating at eHarmony
social impact
big dating at scale
!   3B+	
  poten9al	
  matches	
  daily	
  ~	
  25+	
  TB	
  of	
  data	
  
!   60M+	
  mul9-­‐aDribute	
  queries	
  daily	
  looking	
  across	
  250+	
  
aDributes	
  	
  
	
  
!   212M+	
  photos	
  ~	
  15+	
  TB	
  of	
  data	
  
!   4B+	
  rela9onship	
  ques9onnaires	
  ~	
  25+	
  TB	
  of	
  data	
  
	
  
the big win for product
	
  Decreased	
  the	
  processing	
  0me	
  to	
  match	
  by	
  95%,	
  	
  
from	
  2+	
  weeks	
  to	
  12	
  hours	
  
on	
  3B+	
  poten0al	
  matches/day	
  
	
  
!   30%	
  increase	
  in	
  2-­‐way	
  communica9ons	
  
!   50%	
  increase	
  in	
  paid	
  subs	
  
!   60%	
  increase	
  in	
  unique	
  visitors	
  
	
  
	
  
	
  
today	
  	
  
!   Compa9bility	
  Matching	
  System	
  
!  	
  	
  The	
  Old	
  
!  	
  	
  The	
  New	
  
!  	
  	
  Why	
  MongoDB	
  
!  	
  	
  What’s	
  Next	
  
	
  
compatibility matching system®	
  
Compa0bility	
  Matching	
  System®	
  
Match	
  
Distribu0on	
  
3!
Compa0bility	
  	
  
Matching	
  
1!
Affinity	
  	
  
Matching	
  
2!
Compa0bility	
  Matching	
  System®	
  
Affinity	
  	
  
Matching	
  
Match	
  
Distribu0on	
  
2! 3!
compatibility matching system (cont’d)
Compa0bility	
  	
  
Matching	
  
1!
traditional search
eharmony matching
compatibility models
compatibility matching process
legacy compatibility match processor (CMP)
legacy compatibility match processor V.2 (CMP)
challenges with existing v2. design
challenges with existing v2. design (contd.)
challenges with existing v2. design (contd.)
challenges with existing v2. design (contd.)
challenges with existing v2. design (contd.)
new data store requirements
why Mongodb?
tradeoffs
!   No	
  schema	
  =	
  larger	
  footprint	
  
!   Aggrega9on	
  queries	
  are	
  different	
  	
  
!   Ini9al	
  configura9on	
  can	
  be	
  long,	
  manual	
  process	
  
	
  
lessons learned
!   Turn	
  on	
  the	
  Firehose	
  
!   Unleash	
  the	
  Chaos	
  Monkey	
  
!   Engage	
  MongoDB,	
  Inc.	
  early	
  –	
  dev	
  to	
  produc9on	
  
!   Try	
  to	
  isolate	
  your	
  queries	
  to	
  a	
  shard	
  
!   Run	
  in	
  shadow	
  mode	
  
what’s next
New	
  matching	
  use	
  cases:	
  
	
  
!   Globaliza9on	
  and	
  Localiza9on	
  of	
  eH	
  site	
  
!   Careers	
  by	
  eHarmony	
  
!   Internet	
  of	
  Things	
  “Compa9ble”	
  
	
  
New	
  use	
  cases	
  within	
  eHarmony:	
  
	
  
!   Real-­‐9me	
  geo	
  loca9on	
  based	
  matching	
  service	
  	
  
!   Careers	
  
technology stack
linkedin.com/in/thodnguyen	
  
We’re	
  Hiring	
  @jobs.eharmony.com	
  

Big Dating at eHarmony