This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1887|Reply: 1

The difference between REST API and HTTP API in AWS API Gateway

[Copy link]
Posted on 11/30/2024 5:26:20 PM | | | |
Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. As an API gateway API developer, you can create APIs for use in your own client applications. Alternatively, you can provide your API to a third-party application developer.

The architecture image of the API gateway is as follows:



Amazon API Gateway

Products:The hyperlink login is visible.
Documentation:The hyperlink login is visible.

AWS released the first version of API Gateway in 2015 with support for REST APIs. Over the next few years, AWS added a number of features to its REST API support.

In 2019, AWS released HTTP API, a new version of API Gateway. It focuses on providing enhanced functionality, improved performance, and an easier developer experience for customers built with API Gateway.

Performance and price differences

The main difference between REST API and HTTP API is performance and price. In a nutshellHTTP API wins in both areas

Both the REST API and the HTTP API only charge for the actual number of requests made and the data that leaves AWS. However, the price varies greatly. The REST API charges $3.50 per million requests, plus the cost of outgoing data. In comparison, the HTTP API charges only $1.00 per request for the first 1 million requests and $0.90 per million requests thereafter. The price difference is as high as 71%.

The prices of REST API and HTTP API in the same region are as follows:



In addition, AWS says that the performance of the HTTP API is significantly improved over the REST API version. The HTTP API was found to have a 14% to 16% lower latency than the REST API.

Functional differences

REST APIs and HTTP APIs differ in the following ways:

  • Endpoint type
  • Security
  • Authorization
  • API management
  • Development
  • Monitoring
  • Integrations




View in detail:The hyperlink login is visible.





Previous:Google spider (crawler) Googlebot server IP segment
Next:AWS creates an API Gateway gateway of the HTTP API type
 Landlord| Posted on 11/30/2024 5:26:44 PM |
Reference articles:The hyperlink login is visible.

APIGateway Price Calculator:The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com