SlideShare uma empresa Scribd logo
1 de 22
SEARCH
AT TOKOPEDIA
WHY SEARCH IS IMPORTANT?
PREVIOUS SEARCH
IN TOKOPEDIA
PREVIOUS SEARCH
IN TOKOPEDIA
2000 – 8000 ms / search.
145 KB content to download for each request.
Dependancy with 4 databases.
PUT LOAD BALANCER
Solution #1
Load Balancer
Load Balancer
ISOLATION
Solution #2
REMOVE USELESS INDEXES
Solution #3
REWRITE IN GO
MADE ANAPI
Solution #4
REMOVE DATABASES DEPENDANCY
Solution #5
REMOVE DATABASES DEPENDANCY
Solution #5
Solution #6
DO CLIENT SIDE TEMPLATING
Solution #6
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
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
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
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
FEATURES ON SEARCH
Autocomplete
Spellcheck
Filtering
Sorting
FUTURE SEARCH AT TOKOPEDIA
Suggestion
Q & A

Mais conteúdo relacionado

Semelhante a Search at Tokopedia

EMC IT's Best Practices
EMC IT's Best PracticesEMC IT's Best Practices
EMC IT's Best Practices
webhostingguy
 
Tutorial(release)
Tutorial(release)Tutorial(release)
Tutorial(release)
Oshin Hung
 
Alex Cheng of Baidu: "Big Data: A New Frontier"
Alex Cheng of Baidu: "Big Data: A New Frontier"Alex Cheng of Baidu: "Big Data: A New Frontier"
Alex Cheng of Baidu: "Big Data: A New Frontier"
sprie-stanford
 

Semelhante a Search at Tokopedia (20)

Headaches and Breakthroughs in Building Continuous Applications
Headaches and Breakthroughs in Building Continuous ApplicationsHeadaches and Breakthroughs in Building Continuous Applications
Headaches and Breakthroughs in Building Continuous Applications
 
EMC IT's Best Practices
EMC IT's Best PracticesEMC IT's Best Practices
EMC IT's Best Practices
 
Koalas: How Well Does Koalas Work?
Koalas: How Well Does Koalas Work?Koalas: How Well Does Koalas Work?
Koalas: How Well Does Koalas Work?
 
Spark + AI Summit 2019: Headaches and Breakthroughs in Building Continuous Ap...
Spark + AI Summit 2019: Headaches and Breakthroughs in Building Continuous Ap...Spark + AI Summit 2019: Headaches and Breakthroughs in Building Continuous Ap...
Spark + AI Summit 2019: Headaches and Breakthroughs in Building Continuous Ap...
 
Introduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & HadoopIntroduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & Hadoop
 
Python in an Evolving Enterprise System (PyData SV 2013)
Python in an Evolving Enterprise System (PyData SV 2013)Python in an Evolving Enterprise System (PyData SV 2013)
Python in an Evolving Enterprise System (PyData SV 2013)
 
Gruter TECHDAY 2014 Realtime Processing in Telco
Gruter TECHDAY 2014 Realtime Processing in TelcoGruter TECHDAY 2014 Realtime Processing in Telco
Gruter TECHDAY 2014 Realtime Processing in Telco
 
10 tips to improve the performance of your AWS application
10 tips to improve the performance of your AWS application10 tips to improve the performance of your AWS application
10 tips to improve the performance of your AWS application
 
Integrating Hadoop in Your Existing DW and BI Environment
Integrating Hadoop in Your Existing DW and BI EnvironmentIntegrating Hadoop in Your Existing DW and BI Environment
Integrating Hadoop in Your Existing DW and BI Environment
 
Goodbye, Bottlenecks: How Scale-Out and In-Memory Solve ETL
Goodbye, Bottlenecks: How Scale-Out and In-Memory Solve ETLGoodbye, Bottlenecks: How Scale-Out and In-Memory Solve ETL
Goodbye, Bottlenecks: How Scale-Out and In-Memory Solve ETL
 
MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...
MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...
MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...
 
Optimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS CloudOptimizing Total Cost of Ownership for the AWS Cloud
Optimizing Total Cost of Ownership for the AWS Cloud
 
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
 
Pinot: Near Realtime Analytics @ Uber
Pinot: Near Realtime Analytics @ UberPinot: Near Realtime Analytics @ Uber
Pinot: Near Realtime Analytics @ Uber
 
Tutorial(release)
Tutorial(release)Tutorial(release)
Tutorial(release)
 
Gluent Extending Enterprise Applications with Hadoop
Gluent Extending Enterprise Applications with HadoopGluent Extending Enterprise Applications with Hadoop
Gluent Extending Enterprise Applications with Hadoop
 
Supercharging Data Performance for Real-Time Data Analysis
Supercharging Data Performance for Real-Time Data Analysis Supercharging Data Performance for Real-Time Data Analysis
Supercharging Data Performance for Real-Time Data Analysis
 
Applying Java 8 Idioms to Existing Code
Applying Java 8 Idioms to Existing CodeApplying Java 8 Idioms to Existing Code
Applying Java 8 Idioms to Existing Code
 
Activate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifiedsActivate 2019 - Search and relevance at scale for online classifieds
Activate 2019 - Search and relevance at scale for online classifieds
 
Alex Cheng of Baidu: "Big Data: A New Frontier"
Alex Cheng of Baidu: "Big Data: A New Frontier"Alex Cheng of Baidu: "Big Data: A New Frontier"
Alex Cheng of Baidu: "Big Data: A New Frontier"
 

Search at Tokopedia