Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Search at Tokopedia

Search at Tokopedia

  1. 1. SEARCH AT TOKOPEDIA
  2. 2. WHY SEARCH IS IMPORTANT?
  3. 3. PREVIOUS SEARCH IN TOKOPEDIA
  4. 4. PREVIOUS SEARCH IN TOKOPEDIA 2000 – 8000 ms / search. 145 KB content to download for each request. Dependancy with 4 databases.
  5. 5. PUT LOAD BALANCER Solution #1
  6. 6. Load Balancer
  7. 7. Load Balancer
  8. 8. ISOLATION Solution #2
  9. 9. REMOVE USELESS INDEXES Solution #3
  10. 10. REWRITE IN GO MADE ANAPI Solution #4
  11. 11. REMOVE DATABASES DEPENDANCY Solution #5
  12. 12. REMOVE DATABASES DEPENDANCY Solution #5
  13. 13. Solution #6 DO CLIENT SIDE TEMPLATING
  14. 14. Solution #6
  15. 15. BEFORE AFTER 2000 – 8000 ms / search. 145 KB content to download for each request. 8 Millions index. Dependancy with 4 databases. 6– 50 ms / search. (160 times faster) 7KB content to download for each request. (20 times smaller) 4.7 Millions index. (useless index removed, 1.7 times less) Dependancy with 1 databases on runtime. Result #1
  16. 16. 2000 – 8000 ms / search. 45 KB content to download for each request. 8 Millions index. Dependancy with 4 databases. 6– 50 ms / search. 7KB content to download for each request. 4.7 Millions index. (useless index removed) Dependancy with 1 databases on runtime. Making Customers Deliriously Happy
  17. 17. 2000 – 8000 ms / search. 45 KB content to download for each request. 8 Millions index. Dependancy with 4 databases. 6– 50 ms / search. 7KB content to download for each request. 4.7 Millions index. (useless index removed) Dependancy with 1 databases on runtime. Result #2
  18. 18. CHALLENGES ON SEARCH Bad search result = No body can find anything. Index growth Slow indexing process, More features = slowing index process Search result is subjected
  19. 19. FEATURES ON SEARCH Autocomplete Spellcheck Filtering Sorting
  20. 20. FUTURE SEARCH AT TOKOPEDIA Suggestion
  21. 21. Q & A

×