Tiki.vn - How we scale as a tech startup
-
Upload
tung-ns -
Category
Technology
-
view
17.698 -
download
1
Transcript of Tiki.vn - How we scale as a tech startup
![Page 1: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/2.jpg)
A little about us
Giao hàng 24h
![Page 3: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/4.jpg)
Mobile Apps
Tiki App Miki App
![Page 5: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/5.jpg)
Why technology matters?
![Page 6: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/6.jpg)
Solving E-commerce technology challengesTung Nguyen
![Page 7: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/7.jpg)
Challenges
![Page 8: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/8.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/9.jpg)
LinuxNginxPHP/PythonMySQL/PosgreSQL
Technology Stack
![Page 10: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/10.jpg)
System Architecture
![Page 11: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/12.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/13.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/14.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/15.jpg)
Solving Super-events
![Page 16: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/17.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/18.jpg)
Event Dzựt Cô Hồn
![Page 19: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/19.jpg)
• 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](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/20.jpg)
Also from our companions
![Page 21: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/21.jpg)
We survived
![Page 22: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/22.jpg)
HOW?
![Page 23: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/23.jpg)
A large and scalable platform
![Page 24: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/24.jpg)
Hundreds times of load testing
Powered by
![Page 25: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/25.jpg)
And also from Product Design
![Page 26: Tiki.vn - How we scale as a tech startup](https://reader034.fdocuments.in/reader034/viewer/2022042600/58762c211a28ab8b7b8b6bd1/html5/thumbnails/26.jpg)
Customer-oriented Product Culture