SlideShare a Scribd company logo
HOW WE SCALE AS A TECH
STARTUP
Son Tran – Founder & CEO
Tung Nguyen – Head of Technical
A little about us
Giao hàng 24h
Our Products
TALA - Tiki E-commerce Platform
TOS - Tiki Operation System
CMS, Order fulfillment, Delivery, Inventory Management,…
Tiki
Mobile App
Tiki.vn
Responsive Web
E-Book store
Mobile Apps
Tiki App Miki App
Why technology matters?
Solving E-commerce
technology challenges
Tung Nguyen
Challenges
• Minimum Viable Product
• Customer-oriented
• Refactoring
• Don’t build everything
• Be friendly with SaaS, PaaS (Platform), IaaS (Infrastructure)
• Data-driven
Our Philosophies
Linux
Nginx
PHP/Python
MySQL/PosgreSQL
Technology Stack
System Architecture
Fastest PHP framework
Technology Stack - PHP Phalcon Framework
Reality - Less than 100ms response
time
More focus on business layer
• Problem:
• Lots of Product attributes
• JOIN too much
• Solution:
• Indexing with NoSQL (MongoDB)
• Transactions with MySQL
• Scaling with MySQL Replication
Technology Stack - Database
MySQL EAV - Entity-attribute value Model
MongoDB - Hierarchical Model
• Problem:
• Real-time data changes updating
• Availability, recovering from
disaster
• Solution
• Cache map
• Cache invalidator and builder
• Use persistent
• Engine: Redis
Technology Stack - Caching
How cache map works
• Problems:
• Real-time indexing
• Data aggregation (Facets)
• Performance and Scaling
• Solution
• ElasticSearch + MongoDB River
Technology Stack – Search Engine
Solving Super-events
What’s a super-event?
Daily traffic
Super-event peak
1. Hard to predict
2. Different behaviors
3. Investment cost
• August - Dzựt Cô Hồn Online
• November - Hội Sách Online
• December - Black-Friday, Cyber Monday, Online Shopping
Day
Provide incentives for customers to go online shopping more
Tiki Super Events
Event Dzựt Cô Hồn
• 2014
• 28K Likes/Shares
• 40K Registered users
• 300K Dzut actions
• 5K Requests/s
• 2015
• 67K Likes/Shares
• 150K Registered users
• 1.5M Dzut actions
• 20K Requests/s
• Case-studies
We had some attentions
Also from our companions
We survived
HOW?
A large and scalable platform
Hundreds times of load testing
Powered by
And also from Product Design
Customer-oriented Product
Culture
About Us
Or send your feedback to tung@tiki.vn and get a FREE coffee

More Related Content

PDF
High Concurrency Architecture at TIKI
PDF
Grokking TechTalk #33: High Concurrency Architecture at TIKI
PPTX
High Performance and Scalability Database Design
PPTX
ITLC HN 14 - Bizweb Microservices Architecture
PPTX
Distributed Transaction in Microservice
PDF
Bizweb Microservices Architecture
PDF
Thiết kế hệ thống E-Commerce yêu cầu mở rộng
PDF
Domain Driven Design và Event Driven Architecture
High Concurrency Architecture at TIKI
Grokking TechTalk #33: High Concurrency Architecture at TIKI
High Performance and Scalability Database Design
ITLC HN 14 - Bizweb Microservices Architecture
Distributed Transaction in Microservice
Bizweb Microservices Architecture
Thiết kế hệ thống E-Commerce yêu cầu mở rộng
Domain Driven Design và Event Driven Architecture

What's hot (20)

PPTX
Software architecture for high traffic website
PPTX
Toi uu hoa he thong 30 trieu nguoi dung
PPTX
High performance web sites with multilevel caching
PDF
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
PDF
Sapo Microservices Architecture
PDF
Kinh nghiệm triển khai Microservices tại Sapo.vn
PDF
KafkaConsumer - Decoupling Consumption and Processing for Better Resource Uti...
PPTX
DDD - DuyLV - VINID - 17.07.2019
PDF
Dual write strategies for microservices
PDF
Building Bizweb Microservices with Docker
PPTX
Go micro framework to build microservices
PDF
API Security Best Practices & Guidelines
PPTX
Grokking Techtalk #37: Software design and refactoring
PDF
Asynchronous API in Java8, how to use CompletableFuture
PDF
Microservice - Up to 500k CCU
PDF
PPTX
Belajar Postman test runner
PPTX
REST API
PDF
LMAX Architecture
PDF
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Software architecture for high traffic website
Toi uu hoa he thong 30 trieu nguoi dung
High performance web sites with multilevel caching
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
Sapo Microservices Architecture
Kinh nghiệm triển khai Microservices tại Sapo.vn
KafkaConsumer - Decoupling Consumption and Processing for Better Resource Uti...
DDD - DuyLV - VINID - 17.07.2019
Dual write strategies for microservices
Building Bizweb Microservices with Docker
Go micro framework to build microservices
API Security Best Practices & Guidelines
Grokking Techtalk #37: Software design and refactoring
Asynchronous API in Java8, how to use CompletableFuture
Microservice - Up to 500k CCU
Belajar Postman test runner
REST API
LMAX Architecture
Create a Varnish cluster in Kubernetes for Drupal caching - DrupalCon North A...
Ad

Similar to Tiki.vn - How we scale as a tech startup (20)

PPTX
Driving the On-Demand Economy with Predictive Analytics
PDF
Introduction to the Typesafe Reactive Platform
PPTX
PDF
Powerful and Quick Workflow Automation Solutions with Nintex
PDF
FewerClicks Software corporate profile
PPTX
Haufe's Tech Strategy In Practice
PPTX
Neo4j GraphDay Tel Aviv - Graphs in Action
PDF
Enterprise Integration Patterns Revisited (EIP) for the Era of Big Data, Inte...
PPTX
PDF
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
PPTX
Real Time Big Data Processing on AWS
PDF
The Agile Data Warehouse Webinar – Next Generation BI
PDF
Status Quo on the automation support in SOA Suite OGhTech17
PPTX
Rapid Prototyping for Big Data with AWS
PPTX
Spectranetics 11.6.13
PPTX
About Tekmonks
PDF
Java Agile ALM: OTAP and DevOps in the Cloud
PDF
Powering a Startup with Apache Spark with Kevin Kim
PPTX
Neo4j GraphTalks - Einführung in Graphdatenbanken
PPTX
Serverless Real-time Tracking & Analysis
Driving the On-Demand Economy with Predictive Analytics
Introduction to the Typesafe Reactive Platform
Powerful and Quick Workflow Automation Solutions with Nintex
FewerClicks Software corporate profile
Haufe's Tech Strategy In Practice
Neo4j GraphDay Tel Aviv - Graphs in Action
Enterprise Integration Patterns Revisited (EIP) for the Era of Big Data, Inte...
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
Real Time Big Data Processing on AWS
The Agile Data Warehouse Webinar – Next Generation BI
Status Quo on the automation support in SOA Suite OGhTech17
Rapid Prototyping for Big Data with AWS
Spectranetics 11.6.13
About Tekmonks
Java Agile ALM: OTAP and DevOps in the Cloud
Powering a Startup with Apache Spark with Kevin Kim
Neo4j GraphTalks - Einführung in Graphdatenbanken
Serverless Real-time Tracking & Analysis
Ad

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Architecture types and enterprise applications.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
The various Industrial Revolutions .pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
What is a Computer? Input Devices /output devices
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Getting Started with Data Integration: FME Form 101
Getting started with AI Agents and Multi-Agent Systems
Univ-Connecticut-ChatGPT-Presentaion.pdf
observCloud-Native Containerability and monitoring.pptx
Architecture types and enterprise applications.pdf
Zenith AI: Advanced Artificial Intelligence
O2C Customer Invoices to Receipt V15A.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
The various Industrial Revolutions .pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
What is a Computer? Input Devices /output devices
Developing a website for English-speaking practice to English as a foreign la...
Programs and apps: productivity, graphics, security and other tools
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
cloud_computing_Infrastucture_as_cloud_p
Chapter 5: Probability Theory and Statistics
A contest of sentiment analysis: k-nearest neighbor versus neural network
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf

Tiki.vn - How we scale as a tech startup

Editor's Notes

  • #5: Chia sẻ số liệu
  • #9: Dẫn dắt: Product/Tech team luôn luôn phải đối mặt với cả núi TO-DO cần giải quyết, trong khi đối thủ cạnh tranh thì nguồn lực dồi dào Bài toán luôn phải giải quyết là Làm những việc thực sự cần nhất với nguồn lực hữu hạn. Priority: - Có lợi cho khách hàng thì làm - MVP – Thử làm liền - Data Driven – Nguyên tắc lựa chọn giải pháp - Refactoring: Không nhầm lẫn với việc làm nhanh nhưng ẩu => Refactoring liên tục, được remind bằng hệ thống (issues tracker) và con người (QC/PM/Team member)
  • #10: Sửa lại slide, mô tả mục đích từng icon