Click here to load reader
Upload
innovatube
View
447
Download
4
Embed Size (px)
Citation preview
Shared by ThanhNT @UBus-TimXeKhach - GRD
Lessons from building server side services of large-scale
applications
Problems C10k, 100k, 1M Problems Big-data challenges:
Storage Problems: Volume, Velocity Data mining Problems : Veracity, Value
When you need to care
Early stage of startup : Not very important (fail fast)
When your startup growing: large number of users, transactions, etc.
Stuck when too many connections / server hangout
REAL LESSONSDB problems: NoSQL saved us C10K Problems: Nonblocking IO
Zing Me 2010: NTVV2, 2011, Happy City (Clone Flash of City Ville) 4M users/days, and now UBus-Tìm Xe Khách, Zalo
●Using opensources: Cassandra, Memcached, CouchBase, Redis.
●Build your own (after you understand how and you are truly interested)
●Must benchmark, load-test carefully before go production. Don't just believe in the show numbers
What to care about?
Quality of Service requirements (vs maximum 100ms processing per request) of your application.
Storage Model: In-memory / Persistent/ Hybrid ;Number of disk-seek per operation? (Complexity)
How to scale? Scaling Model (up vs out)
What is the state of your company? Early startup / ready for large use-bases …
Conclusions
Time is too short to share details ;) We can discuss more later: fb.com/trungthanh
PS: UBus-Tìm Xe Khách using 100% NoSQL.fb.com/timxekhach timxekhach.com
About Me
● Head of Research & development at VNG