4. Who we are
• We are the smarter way to shop
• Over 1.5M shoppers in 6 countries have adapted the
shop-and-save lifestyle
• Southeast Asia’s No. 1 Online Cashback portal
• Bringing happiness to users via:
• Cashback Rewards
• New Store Discoveries
• Enhanced Shopping Experiences
8. Thousands of categories & stores, Millions of Products
Fast, Reliable & Concise information
Multi country – Multi Language
Presentation in small screens
Product Catalog
Challenges
10. • Moved to our Elasticsearch 2.4 cluster -> Already in 5.0!
• Latest version with new features available
• Schema for multi-country, multi-language
• Indices
• “Product” micro-service
• Performance is great
Product Catalog
Moving towards micro-services
12. No Cluster Metrics
Slow browsing
Limited by language
Fast browsing based on ES
Large amount of SKUs
Language is not a issue
Cluster Metrics collected
Product Catalog
Post-elastic implementation
13. Initial
Setup
Cluster
v1
Cluster
v2
• Spin up cluster
• Basic setup
• Single index, Single type
by country:
• Products x 5
• Stores x 5
• Better configuration of
analyzers (different
languages)
• Removed Boolean
queries
• Single index, 2 types:
• Products
• Stores
• Types complete
different, need different
analyzers…
• Multiple Boolean queries
• Country, domain
Product Catalog
Our journey to current status
Cluster
v3
• Single index, Single type
by country:
• Products x 6
• Stores x 6
• Categories x 6
• Campaigns x 6
• Auto-suggestion
14. Before Now
Documents Indexed
• 10M products
• 2k stores
• 15k categories
• 100+ custom pages
• Updated when we find a change
Performance
• Product search: 1ms
• Store listing: 4s
• Auto-suggestion: Live. 100ms
Product Catalog
Some data
Documents Indexed
• 60k products
• Updated every week
Performance
• Product search: 2s
• Store listing: 30s
• Auto-suggestion: 30Kb preload
15. • Papertrail
‒ Cloud provided $$$
‒ 7 days Retention
‒ No dashboards
• AWS Cloud Watch
‒ 2 days Retention
‒ 5 Minutes interval or 1 Minute interval $$$
‒ Not all metrics
• New Relic
‒ Cloud provided -> $$$$$$$$
‒ 3 months Retention
‒ 5 Minutes interval or 1 Minute interval -> $$$
‒ Not all metrics
Logs / Metrics Collection
Former/Legacy System