首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >比较AWS、Azure函数和Google函数

比较AWS、Azure函数和Google函数
EN

Stack Overflow用户
提问于 2016-10-30 04:45:07
回答 4查看 7.6K关注 0票数 27

我想通过选择aws、azure函数或google云功能来开发一个无服务器的项目。然后,我想比较每一个,以便为我的项目选择最好的一个。

我需要为我的项目选择最稳定的无服务器技术。

有没有比较这些技术的材料?

这些无服务器技术是否有支持的框架?

EN

回答 4

Stack Overflow用户

回答已采纳

发布于 2016-10-30 05:54:17

比较AWS、Azure函数和Google函数

  1. 支持的语言 AWS lambda- Node.js,Python,Java,C# (.net核心) Azure函数- Node.js,Node.js,F#,C#,batch,bash 谷歌云功能 Node.js
  2. 每个请求的最大执行时间 AWS lambda- 300秒(5分) Azure功能- 300秒(5分) 谷歌云功能 540秒(9分钟)
  3. 日志管理 AWS lambda-云表 Azure函数- Azure存储 谷歌云功能云日志记录
  4. 可伸缩性与可用性 AWS lambda-自动缩放 Azure函数 -Automatic缩放 谷歌云功能自动缩放
  5. HTTP端点 AWS - API网关 Azure函数 -HTTP触发器 Google函数 HTTP触发器
  6. 定价 注:这些是每次通话费用.CPU和RAM时间的收费是常见的,通常超过每次通话费用,应该考虑. AWS lambda-0.20美元/10万次处决 Azure函数-0.20美元/10万次执行 Google函数$0.40/M执行,没有额外的HTTP 定价细节
  7. 函数极限 AWS -Unlimited函数 Azure函数-Unlimited函数 谷歌云功能 1,000每个项目
  8. 并发执行 AWS -每个区域每个帐户并行执行100次,但用户可以增加它 Azure函数 -No极限 谷歌云功能 HTTP无限制,1,000个非HTTP
  9. Deployments AWS -Zip,AWS-S3或编辑代码内联 Azure函数-Anything an Azure WebApp可以处理: FTP(S)、KUDU、部署、One Drive\DropBox、Git\Local \TFS\etc、Visual \XCode\Eclipse\etc、PowerShell\Cli\可能所有SDK的 Google函数 CLI、ZIP上载、内联web编辑器、云存储或云源存储库

每一个人都欢迎更正信息并添加新的信息。

票数 58
EN

Stack Overflow用户

发布于 2016-11-08 02:48:35

AWS Lambda对Azure函数与Google函数

以下是由不同云供应商提供的所有无服务器特性的聚合。这是基于我的观点。

如果在一段时间内有任何变化,或者您想要添加任何新的内容,请随时评论,并让它来跟踪不同的功能。

代码语言:javascript
运行
复制
+-----------------+---------------------+-----------------------+-------------------+
|     Category    | AWS Lambda          |    Azure              | Google Cloud      |
|                 |                     |  Functions            |  Functions        |
+-----------------+---------------------+-----------------------+-------------------+
| 1. Version      | Production ready    | Preview - Beta        | Closed Alpha      |
+-----------------+---------------------+-----------------------+-------------------+
| 2. Supported    | Nodejs, Python,     | Nodejs, Python,       | Javascript        |
| Languages       |      Java           |   PHP, F#, C#         |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 3. Dependency   | Compile all         | Using                 | Using             |
| Management      | external packages   | package.json – nodejs | package.json      |
|                 | and zip the         | project.json – F#,C#  |                   |
|                 | source code         |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
|                 | S3, DynamoDB        | Bindings/Triggers     | HTTP              |
|                 | Kinesis             |                       | functions:        |
|                 | Streams             | Scheduler             | Http Triggers     |
|                 | SNS, SES            | Http(webhook)         | Webhooks (drive,  |
|                 | Cognito             | Azure Storage         |  gmail, calendar) |
|                 | Cloud Formation     | Events Hubs           |                   |
| 4. Event        | Cloud Watch         | Queues, Tables        | Background        |
| Sources         | Code Commit         | DocumentDB(No-sql)    | functions:        |
|                 | Scheduled Events    | Notification Hub      | Cloud Pub/Sub,    |
|                 | Config              | Twilio                | Cloud Storage     |
|                 | Echo,               |                       |                   |
|                 | Alexa               |                       | Pub/Sub:          |
|                 | APIGateway          |                       | Cloud Logging     |
|                 |                     |                       | Gmail, Twilio     |
+-----------------+---------------------+-----------------------+-------------------+
| 5. Granular     | IAM                 |                       |                   |
|  IAM            | policy              | Not Yet               | Not Yet           |
|                 | can be Attached     |                       |                   |
|                 | to Lambda.          |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
|                 | - On top of Linux   | - On top of Windows   |                   |
| 6. Architecture | - Memory allocated  | - Memory allocated    |                   |
|                 |    per function.    |    per app service.   | Not Specified     |
+-----------------+---------------------+-----------------------+-------------------+
|                 | No persistent       | Env variables         |                   |
|                 |  storage.           | can be set in         |                   |
| 7. Persistent   | Completely          | App services          | Not Specified     |
|  Storage        | Stateless           | which can be used     |                   |
|                 |                     | in functions.         |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 8. HTTP         | APIGateway          | HTTP webhooks         | HTTP Trigger      |
| Endpoint        |                     |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 9. Log          | Cloud               | Kudu Console          | Stackdriver       |
| Management      | watch               |                       | Logging           |
+-----------------+---------------------+-----------------------+-------------------+
| 10. Maximum     | 300 seconds         | No limit              | No limit          |
| Execution       | (5 mins)            |                       |                   |
| Time            |                     |                       |                   |
| per request     |                     |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 11. Concurrent  | 100                 | 10 instances          | Not Specified     |
| Executions      | parallel            | which is several      |                   |
|                 | Executions, but     | 100 executions        |                   |
|                 | Can be increased    |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 12. Deployment  | Zip upload          | Git, dropbox,         | Zip upload,       |
|                 | to Lambda/s3,       | visual studio,        | Cloud Storage,    |
|                 | Serverless          | One drive,            | Cloud Source      |
|                 | Framework           | Kudu Console          | repositories,     |
|                 |                     |                       | Git               |
+-----------------+---------------------+-----------------------+-------------------+
| 13. Maximum     |                     |                       | 20 functions      |
|     no. of      | No limit            | Not Specified         | per project       |
|  Functions      |                     |                       |                   |
+-----------------+---------------------+-----------------------+-------------------+
| 14. Pricing     | Request Charges:    | Request Charges:      | Unknown until     |
|                 | $0.20 / 1M requests | $0.20 / 1M requests   | Open beta         |
|                 |                     |                       |                   |
|                 | Compute Charges:    | Compute Charges:      |                   |
|                 | $0.00001667 / GB-s  | $0.000008 / GB-s      |                   |
+-----------------+---------------------+-----------------------+-------------------+
票数 27
EN

Stack Overflow用户

发布于 2017-02-19 01:44:31

更新情况很少(2017年2月18日):

  • Azure函数具有GA-ed 2016
  • AWS支持C#,但只支持.NET核心
  • 您可以拥有多达100个Azure函数-Apps,每个应用程序都可以包含多个函数。
  • Azure函数消耗层当前每个函数调用有300秒最大运行时。
  • Azure函数计算价格在GA上已经从$0.000008 / GB-s更新到$0.00001667 / GB-s。
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40326085

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档