Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction
Search
Kien Nguyen
April 13, 2018
60
0
Share
Introduction
Kien Nguyen
April 13, 2018
More Decks by Kien Nguyen
See All by Kien Nguyen
Facebook Login Security
kiennt
0
55
Introduction to Django v2
kiennt
0
120
Clean code
kiennt
8
420
Introduction to Django
kiennt
0
110
Unix_Process.pdf
kiennt
2
8.3k
Happiness
kiennt
1
470
RTMP and RTMPE protocols
kiennt
2
670
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
290
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
230
How to train your dragon (web standard)
notwaldorf
97
6.6k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
HDC tutorial
michielstock
2
680
Transcript
Introduction
My Personal life
Worked in 3 start ups The first one is closed
The second one is still running, and got benefit The last one is just merged with another company
Deployment workflow Continuous Integration Development Implementation GitHub Code Review Auto
Deployment CircleCI pre-push hook Static code analysis Unit tests Test coverage Pull Request pre-receive hook Static code analysis Lint Unit tests Automation test... Merge Live GAE pre-receive hook again!
Backend Architecture
Main application Is written in Python Is deployed into Google
App Engine Use Google DataStore - a NoSQL database built on top of BigTable
Google DataStore A key-value database, support secondary index Auto scaling
natively. Eventually consistent by default Support transaction with 2 limitation + One transaction could only change 25 entities group + Limit number of write to an entities. Normally it is 1-5 write operations / second
Google DataStore Device a transaction into many chunks, each chunk
has maximum 25 entities Identify the hot entities, and the hot fields
Google DataStore User CircleRelationship Circle - members_count
Google DataStore User CircleRelationship Circle - id: c1 CircleCount -
id: c1_count
Google DataStore User CircleRelationship Circle - id: c1 CircleCount -
id: c1_count_1 CircleCount - id: c1_count_2 CircleCount - id: c1_count_3
Google DataStore Circle - id: c1 Memcache Datastore Worker Pubsub
Backend Architecture
Backend Architecture
Backend Architecture
Backend Architecture
Other I found a security issue related to Facebook login
on mobile application. Some application are: AirBnb, Kickstarter, Carousell,…
None