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
0
47
Introduction
Kien Nguyen
April 13, 2018
Tweet
Share
More Decks by Kien Nguyen
See All by Kien Nguyen
Facebook Login Security
kiennt
0
52
Introduction to Django v2
kiennt
0
100
Clean code
kiennt
8
410
Introduction to Django
kiennt
0
100
Unix_Process.pdf
kiennt
2
8.1k
Happiness
kiennt
1
430
RTMP and RTMPE protocols
kiennt
2
620
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
71
4.9k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
GraphQLとの向き合い方2022年版
quramy
47
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Designing Experiences People Love
moore
142
24k
How to Ace a Technical Interview
jacobian
277
23k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Building Applications with DynamoDB
mza
95
6.5k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
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