-
Notifications
You must be signed in to change notification settings - Fork 52
0x00. Demos
Phu Tran Phong edited this page Apr 8, 2020
·
2 revisions
- 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.
The service should provide 3 core APIs:
- Register by
username
andpassword
- Login by
username
andpassword
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.
ⓒ 2019 Phú, Trần Phong & NordicCoder