27
HOW WE SCALE AS A TECH STARTUP Son Tran – Founder & CEO Tung Nguyen – Head of Technical

Tiki.vn - How we scale as a tech startup

  • Upload
    tung-ns

  • View
    17.697

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Tiki.vn - How we scale as a tech startup

HOW WE SCALE AS A TECH STARTUPSon Tran – Founder & CEOTung Nguyen – Head of Technical

Page 2: Tiki.vn - How we scale as a tech startup

A little about us

Giao hàng 24h

Page 3: Tiki.vn - How we scale as a tech startup

Our Products

TALA - Tiki E-commerce Platform

TOS - Tiki Operation SystemCMS, Order fulfillment, Delivery, Inventory Management,…

Tiki Mobile App

Tiki.vnResponsive Web

E-Book store

Page 4: Tiki.vn - How we scale as a tech startup

Mobile Apps

Tiki App Miki App

Page 5: Tiki.vn - How we scale as a tech startup

Why technology matters?

Page 6: Tiki.vn - How we scale as a tech startup

Solving E-commerce technology challengesTung Nguyen

Page 7: Tiki.vn - How we scale as a tech startup

Challenges

Page 8: Tiki.vn - How we scale as a tech startup

• Minimum Viable Product• Customer-oriented• Refactoring

• Don’t build everything• Be friendly with SaaS, PaaS (Platform), IaaS (Infrastructure)

• Data-driven

Our Philosophies

Page 9: Tiki.vn - How we scale as a tech startup

LinuxNginxPHP/PythonMySQL/PosgreSQL

Technology Stack

Page 10: Tiki.vn - How we scale as a tech startup

System Architecture

Page 11: Tiki.vn - How we scale as a tech startup

Fastest PHP framework

Technology Stack - PHP Phalcon Framework

Reality - Less than 100ms response time

More focus on business layer

Page 12: Tiki.vn - How we scale as a tech startup

• 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

Page 13: Tiki.vn - How we scale as a tech startup

• 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

Page 14: Tiki.vn - How we scale as a tech startup

• Problems:• Real-time indexing• Data aggregation (Facets)• Performance and Scaling

• Solution• ElasticSearch + MongoDB River

Technology Stack – Search Engine

Page 15: Tiki.vn - How we scale as a tech startup

Solving Super-events

Page 16: Tiki.vn - How we scale as a tech startup

What’s a super-event?Daily traffic

Super-event peak

1. Hard to predict2. Different behaviors3. Investment cost

Page 17: Tiki.vn - How we scale as a tech startup

• 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

Page 18: Tiki.vn - How we scale as a tech startup

Event Dzựt Cô Hồn

Page 19: Tiki.vn - How we scale as a tech startup

• 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

Page 20: Tiki.vn - How we scale as a tech startup

Also from our companions

Page 21: Tiki.vn - How we scale as a tech startup

We survived

Page 22: Tiki.vn - How we scale as a tech startup

HOW?

Page 23: Tiki.vn - How we scale as a tech startup

A large and scalable platform

Page 24: Tiki.vn - How we scale as a tech startup

Hundreds times of load testing

Powered by

Page 25: Tiki.vn - How we scale as a tech startup

And also from Product Design

Page 26: Tiki.vn - How we scale as a tech startup

Customer-oriented Product Culture

Page 27: Tiki.vn - How we scale as a tech startup

About Us

Or send your feedback to [email protected] and get a FREE coffee