The most basic knowlegde how the app work behind the scene
Khi AI ngày càng mạnh trong việc viết code, lợi thế của lập trình viên nằm ở:
- Thiết kế hệ thống có khả năng mở rộng (scalable)
- Đưa ra quyết định kiến trúc
- Hiểu trade-off (hiệu năng vs chi phí vs độ phức tạp)
👉 System Design là kỹ năng mà AI khó thay thế.
- Ứng dụng web / mobile
- Gửi request đến backend
Ví dụ:
- React, Flutter
- Xử lý logic nghiệp vụ
- Nhận request và trả response
Ví dụ:
- Node.js, Java Spring, Golang
Lưu trữ dữ liệu lâu dài
- SQL: MySQL, PostgreSQL
- NoSQL: MongoDB, Redis
- Lưu dữ liệu truy cập thường xuyên
- Giúp tăng tốc hệ thống
Ví dụ:
- Redis
- Phân phối request đến nhiều server
- Tránh quá tải
- Xử lý bất đồng bộ (async)
Ví dụ:
- Kafka
- RabbitMQ
- Chia hệ thống thành nhiều service nhỏ
Ví dụ:
- user-service
- payment-service
- order-service
- Xác thực người dùng
- Phân quyền
Ví dụ:
- JWT
- OAuth
- Lưu ảnh, video, file
Ví dụ:
- AWS S3
- Theo dõi hệ thống và lỗi
Ví dụ:
- Prometheus
- Grafana
##############################################################
As AI becomes increasingly powerful at writing code, the real advantage of developers lies in:
- Designing scalable systems
- Making architectural decisions
- Understanding trade-offs (performance vs cost vs complexity)
👉 System Design is the skill that AI cannot easily replace.
- Web / Mobile applications
- Sends requests to backend
- Example: React, Flutter
- Handles business logic
- Processes requests and returns responses
- Example: Node.js, Java Spring, Golang
Stores persistent data
- SQL: MySQL, PostgreSQL
- NoSQL: MongoDB, Redis
- Stores frequently accessed data
- Improves performance significantly
- Example: Redis
- Distributes traffic across servers
- Prevents overload
- Enables asynchronous processing
- Used for background jobs
Examples:
- Kafka
- RabbitMQ
- Break system into smaller services
Examples:
- user-service
- payment-service
- order-service
- User login & identity verification
- Permission control
Examples:
- JWT
- OAuth
- Stores media files (images, videos)
Example:
- AWS S3
- Tracks system health and errors
Examples:
- Prometheus
- Grafana