Skip to content

0x00. Demos

Phu Tran Phong edited this page Apr 8, 2020 · 2 revisions

Demos

Lab 1: Xây dựng dịch vụ lấy ID tăng dần với GoLang

  • Học cách viết chương trình với Go, tìm hiểu một chương trình chạy trên nhiều CPU sẽ có những ưu điểm và khó khăn gì, và phương pháp để khắc phục chúng.
  • Học cách viết chương trình có thể scalable bằng cách có thể chạy trên nhiều servers, tìm hiểu những khó khăn trong bài toán về service distribution.
  • Học về MySQL, cách để để tạo một transaction có lock row để xử lý bài toán isolation.
  • Học cách viết Intergration Test với K6, để kiểm tra và đảm bảo service lấy IDs không bị trùng lắp.

Lab 2: Xây dựng Crawler với Golang

Lab 3: Build an Authentication service

The service should provide 3 core APIs:

  • Register by username and password
  • Login by username and password and get an authentication token
  • Verify by token and return the valid user or not

Requirements:

  • You should anlyze how to validate the inputs of API.
  • You should consider how your service is secure.
  • You should to understand why you choose the solution to create and validate the token, and how it be expired.
  • You should stress test or do various benchmarks to optimize the service how to get the best performance.

Lab 4: Xây dựng chương trình Voucher

Lab 5: Thiết lập CI/CD với TravisCI & Heroku

Lab 6: Thiết lập CI/CD với Jenkins