Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction

Kien Nguyen
April 13, 2018
43

 Introduction

Kien Nguyen

April 13, 2018
Tweet

Transcript

  1. 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
  2. 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!
  3. Main application Is written in Python Is deployed into Google

    App Engine Use Google DataStore - a NoSQL database built on top of BigTable
  4. 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
  5. Google DataStore Device a transaction into many chunks, each chunk

    has maximum 25 entities Identify the hot entities, and the hot fields
  6. Google DataStore User CircleRelationship Circle - id: c1 CircleCount -

    id: c1_count_1 CircleCount - id: c1_count_2 CircleCount - id: c1_count_3
  7. Other I found a security issue related to Facebook login

    on mobile application. Some application are: AirBnb, Kickstarter, Carousell,…