26

aws-lambda、azure function、google cloud functionを選択してサーバーレスプロジェクトを開発したい。次に、プロジェクトに最適なものを選択するために、それぞれを比較したいと思います。

プロジェクトに最も安定したサーバーレス テクノロジを選択する必要があります。

これらの技術を比較する資料はありますか?

これらのサーバーレス テクノロジでサポートされているフレームワークはありますか?

4

4 に答える 4

58

AWS-Lambda、Azure 関数、Google Cloud 関数の比較

  1. サポートされている言語
    AWS ラムダ- Node.js、Python、Java、C# (.net コア)
    Azure 関数- Node.js、Python、PHP、F#、C#、バッチ、bash
    Google Cloud 関数Node.js

  2. リクエストあたりの最大実行時間
    AWS ラムダ- 300 秒 (5 分)
    Azure 関数- 300 秒 (5 分)
    Google Cloud Functions 540 秒 (9 分)

  3. ログ管理
    AWS ラムダ- クラウド ウォッチ
    Azure 関数- Azure ストレージ
    Google Cloud 関数 クラウド ロギング

  4. スケーラビリティと可用性
    AWS ラムダ- 自動スケーリング 
    Azure 関数- 自動スケーリング 
    Google Cloud Functions 自動スケーリング 
  5. HTTP エンドポイント
    AWS ラムダ- AWS API ゲートウェイ 
    Azure 関数-HTTP トリガー
    Google Cloud 関数 HTTP トリガー 

  6. 料金に関する
    注意: これらは通話ごとの料金です。CPU および RAM 時間に対する課金は一般的であり、通常は呼び出しごとの料金を超えるため、考慮する必要があります。
    AWS ラムダ- $0.20/100 万回の実行 
    Azure Function - $0.20/100 万回の実行 
    Google Cloud Functions $0.40/M の実行、HTTP 呼び出しの追加料金なし

  7. 関数の制限
    AWS lambda - 無制限の関数
    Azure Function - 無制限の関数
    Google Cloud Functions 1 プロジェクトあたり 1,000  

  8. 同時実行
    AWS ラムダ-リージョンごとのアカウントごとに 100 の並列実行ですが、ユーザーはそれを増やすことができます
    Azure 関数- 制限なし
    Google Cloud Functions HTTP 制限なし、非 HTTP 1,000 

  9. デプロイ
    AWS ラムダ-Zip、AWS-S3、またはコードのインライン編集 
    Azure 関数-Azure WebApp で処理できるもの: FTP(S)、KUDU、Web Deploy、One Drive\DropBox、Git\Local Git\TFS\etc、Visual Studio\ XCode\Eclipse\etc、PowerShell\Cli\おそらくすべての SDK の
    Google Cloud Functions CLI、ZIP アップロード、インライン Web エディター、Cloud Storage または Cloud Source Repositories 

情報の修正と新しい情報の追加を歓迎します。

于 2016-10-30T05:54:17.137 に答える
27

AWS Lambda vs Azure 関数 vs Google Cloud 関数

これは、さまざまなクラウド ベンダーが提供するすべてのサーバーレス機能の集約です。これは私の視点に基づいています。

一定期間にわたって何かが変更された場合、または何か新しいものを追加したい場合は、お気軽にコメントして、さまざまな機能を追跡するためにこれを維持してください。

+-----------------+---------------------+-----------------------+-------------------+
|     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      |                   |
+-----------------+---------------------+-----------------------+-------------------+
于 2016-11-08T02:48:35.527 に答える