Luyện nói tiếng Anh bằng Shadowing qua video: What is API Gateway?

Đang tạo bài học...
1
What does an API Gateway do?
2
Why do we need it?
3
Let's take a look.
4
An API Gateway is a single point of entry to the clients of an application.
5
It sits between a client and a collection of backend services for the application.
6
An API Gateway typically provides several important functions.
7
Some common ones are authentication and security policy enforcement, load balancing and circuit breaking,
8
protocol translation and service discovery, monitoring, logging, analytics and billing, and finally caching.
9
Now let's examine a typical flow of a client request through the API gateway and onto the backend service.
10
Step one, the client sends a request to the API gateway.
11
The request is typically HTTP based.
12
It could be REST, GraphQL, or some other higher level abstractions.
13
Step 2.
14
The API gateway validates the HTTP request.
15
Step 3.
16
The API gateway checks the caller's IP address and other HTTP headers against its allow list and deny list.
17
It could also perform basic rate limit checks against attributes such as IP address and HTTP headers.
18
For example, it could reject requests from an IP address exceeding a certain rate.
19
Step 4.
20
The API Gateway passes the request to an identity provider for authentication and authorization.
21
This in itself is a complicated topic.
22
The API Gateway receives an authenticated session back from the provider with the scope of what the request is allowed to do.
23
Step 5.
24
A high-level rate limit check is applied against the authenticated session.
25
If it is over the limit, the request is rejected at this point.
26
Step 6 and 7.
27
With the help of a service discovery component, the API Gateway locates the appropriate backend service to handle the request by path matching.
28
Step 8.
29
The API Gateway transforms the request into the appropriate protocol and sends the transform request to the backend service.
30
An example protocol could be gRPC.
31
When the response comes back from the backend service, the API Gateway transforms the response back to the public-facing protocol and returns the to respond to the client.
32
A proper API Gateway also provides other critical services.
33
For example, an API Gateway should track errors and provide circuit breaking functionality to protect the services from overloading.
34
An API Gateway should also provide logging, monitoring, and analytic services for operational observability.
35
An API Gateway is a critical piece of the infrastructure.
36
It should be deployed to multiple regions to improve availability.
37
For many cloud provider offerings, the API Gateway is deployed across the world close to the clients.
38
If you like our videos, you might like our weekly system design newsletter as well.
39
It covers topics and trends in large-scale system designs, trusted by 150,000 plus readers.
40
Subscribe at blog.bybygo.com.
41
Thank you.

Tình Huống Thực Tế

Trong video này, chúng ta khám phá một khía cạnh quan trọng trong thế giới công nghệ thông tin, đó là "API Gateway". Hình dung bạn đang phát triển một ứng dụng và cần quản lý nhiều dịch vụ backend phức tạp. API Gateway chính là cầu nối giữa người dùng và các dịch vụ đó, đảm bảo rằng mọi yêu cầu được gửi đi một cách an toàn và hiệu quả. Điều này rất quan trọng trong việc bảo mật và tối ưu hóa hiệu suất của ứng dụng. Chúng ta hãy cùng tìm hiểu sâu hơn về các chức năng chính của API Gateway và lý do tại sao nó lại cần thiết trong mỗi ứng dụng hiện đại.

Các Cụm Từ Hữu Ích

  • Điểm vào duy nhất - single point of entry
  • Xác thực và phân quyền - authentication and authorization
  • Chuyển đổi giao thức - protocol translation
  • Giám sát và phân tích - monitoring and analytics
  • Chiến lược bảo mật - security policy enforcement

Thử Thách Shadowing Của Bạn

Bây giờ hãy thử thách bản thân bằng cách luyện nghe nói qua video. Chọn một đoạn ngắn trong video mà bạn thấy thú vị và bắt đầu shadow speak – tức là nghe và lặp lại ngay lập tức những gì bạn nghe. Hãy chú ý đến ngữ điệu và nhịp điệu của người nói. Đây là một kỹ thuật shadowing site rất hiệu quả giúp bạn cải thiện khả năng nói tiếng Anh. Bạn có thể ghi âm lại phần luyện tập của mình để nghe lại và điều chỉnh. Khi bạn lặp lại, hãy cố gắng bắt chước cách phát âm và âm điệu của người nói để tiến bộ hơn trong việc luyện nghe nói qua video. Đừng quên thực hiện mỗi ngày để phát triển kỹ năng của mình một cách bền vững nhé!

Phương Pháp Shadowing Là Gì?

Shadowing là kỹ thuật học ngôn ngữ có cơ sở khoa học, ban đầu được phát triển cho chương trình đào tạo phiên dịch viên chuyên nghiệp và được phổ biến rộng rãi bởi nhà đa ngôn ngữ học Dr. Alexander Arguelles. Nguyên lý cốt lõi đơn giản nhưng cực kỳ hiệu quả: bạn nghe tiếng Anh của người bản xứ và lặp lại to ngay lập tức — như một "cái bóng" (shadow) đuổi theo người nói với độ trễ chỉ 1–2 giây. Khác với luyện ngữ pháp hay học từ vựng bị động, Shadowing buộc não bộ và cơ miệng phải đồng thời xử lý và tái tạo ngôn ngữ thực tế. Các nghiên cứu khoa học xác nhận phương pháp này cải thiện đáng kể phát âm, ngữ điệu, nhịp điệu, nối âm, kỹ năng nghe và độ lưu loát khi nói — đặc biệt hiệu quả cho người luyện IELTS Speaking và muốn giao tiếp tiếng Anh tự nhiên như người bản ngữ.

Phương pháp shadowing: đọc hướng dẫn từng bước đầy đủ →