並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 5 件 / 5件

新着順 人気順

aws lambda powertools javascriptの検索結果1 - 5 件 / 5件

  • Simplifying serverless best practices with AWS Lambda Powertools for TypeScript | Amazon Web Services

    AWS Compute Blog Simplifying serverless best practices with AWS Lambda Powertools for TypeScript This blog post is written by Sara Gerion, Senior Solutions Architect. Development teams must have a shared understanding of the workloads they own and their expected behaviors to deliver business value fast and with confidence. The AWS Well-Architected Framework and its Serverless Lens provide architec

      Simplifying serverless best practices with AWS Lambda Powertools for TypeScript | Amazon Web Services
    • Node.js 16.x runtime now available in AWS Lambda | Amazon Web Services

      AWS Compute Blog Node.js 16.x runtime now available in AWS Lambda This post is written by Dan Fox, Principal Specialist Solutions Architect, Serverless. You can now develop AWS Lambda functions using the Node.js 16 runtime. This version is in active LTS status and considered ready for general use. To use this new version, specify a runtime parameter value of nodejs16.x when creating or updating fu

        Node.js 16.x runtime now available in AWS Lambda | Amazon Web Services
      • Node.js 22 runtime now available in AWS Lambda | Amazon Web Services

        AWS Compute Blog Node.js 22 runtime now available in AWS Lambda This post is written by Julian Wood, Principal Developer Advocate, and Andrea Amorosi, Senior SA Engineer. You can now develop AWS Lambda functions using the Node.js 22 runtime, which is in active LTS status and ready for production use. Node.js 22 includes a number of additions to the language, including require()ing ES modules, as w

          Node.js 22 runtime now available in AWS Lambda | Amazon Web Services
        • Amazon S3で分散ロックを実装する - maybe daily dev notes

          先日Amazon S3でconditional write機能がリリースされました。本記事では、この機能を用いた分散ロックについて検討します。 aws.amazon.com 分散ロックとは 分散ロック (distributed lock) とは、分散環境で排他制御を実現するために必要な機構です。実現できることはロックですが、分散環境から利用できることが特徴です *1。 実装はRedisを利用したものが有名ですが、AWSネイティブな実装としてはDynamoDBを利用することも多いでしょう。(実装例: DynamoDBLockClient, Powertools for Lambda) 分散ロックは強い整合性を持つ条件付き書き込みが可能なストレージがあれば、実現することが出来ます。 // 分散ロックの擬似コード 結果 = 条件を満たしたら書き込み(共通のキー) if (結果 == 成功) {

            Amazon S3で分散ロックを実装する - maybe daily dev notes
          • Lambda 関数をべき等にする

            簡単な説明 AWS Lambda 関数をべき等にするには、重複するイベントを正しく処理する関数ロジックを設計する必要があります。関数のコードが、入力イベントを適切に検証し、イベントが以前に処理されたかどうかを識別する必要があります。アプリケーションの機能によって、コードの最適な記述方法が決まります。 べき等関数ロジックにより、次の問題を軽減することができます。 不要な API コール コード処理時間 データ不一致 スロットル レイテンシー 解決策 次の関数ロジック例とベストプラクティスは、ほとんどの使用方法に適用されます。AWS Lambda 用 Powertools のべき等性ユーティリティを使用して、ラムダ関数をべき等にします。べき等性ユーティリティは、Python、JavaScript (TypeScript)、Java、.Netで使用できます。 べき等 Lambda 関数ロジックの

              Lambda 関数をべき等にする
            1