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
52
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
110
Clean code
kiennt
8
410
Introduction to Django
kiennt
0
110
Unix_Process.pdf
kiennt
2
8.2k
Happiness
kiennt
1
470
RTMP and RTMPE protocols
kiennt
2
660
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
280
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
280
The browser strikes back
jonoalderson
0
990
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
780
Building Adaptive Systems
keathley
44
3k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
180
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