WHAT IS LAMBDA

WHAT IS LAMBDA

AWS Lambda?is an?event-driven,?serverless computing?platform provided by?Amazon?as a part of?Amazon Web Services. It is a computing service that runs code in response to?events?and automatically manages the computing resources required by that code. It was introduced on November 13, 2014.[1]

Node.js,?Python,?Java,?Go,[2]?Ruby,[3]?and?C#?(through?.NET) are all officially supported as of 2018. In late 2018, custom runtime support[4]?was added to AWS Lambda.

AWS Lambda supports running?native?Linux?executables?by calling them from a supported runtime, such as Node.js.[5]?For example,?Haskell?code can be run on Lambda.[6]

AWS Lambda was primarily designed for image or object?uploads?to?Amazon S3, updates to?DynamoDB?tables, responding to website clicks, or reacting to sensor readings from an?IoT?connected device. AWS Lambda can also be used to automatically provision back-end services triggered by custom?HTTP requests, and "spin down" such services when not in use to save resources. These custom HTTP requests are configured in AWS API Gateway, which can also handle?authentication?and?authorization?in conjunction with?AWS Cognito.

Unlike Amazon EC2, which is priced by the hour but metered by the second, AWS Lambda is metered by rounding up to the nearest millisecond with no minimum execution time.

AWS Lambda functions are often used in association with?AWS SQS queues?to process asynchronous tasks in distributed architectures.

In 2019, at AWS' annual cloud computing conference (AWS re:Invent), the AWS Lambda team announced "Provisioned Concurrency", a feature that "keeps functions initialized and hyper-ready to respond in double-digit milliseconds."[7]?The Lambda team described Provisioned Concurrency as "ideal for implementing interactive services, such as web and mobile backends, latency-sensitive microservices, or synchronous APIs."[8]

Specification[edit]

Each AWS Lambda instance is a?container?created from?Amazon Linux AMIs?(a Linux distribution related to?RHEL) with 128–10240 MB of RAM (in 1 MB increments),[9]?512 MB to 10 GB of ephemeral storage in /tmp folder,[10]?and a configurable execution time from 1 to 900 seconds. Ephemeral storage remains locally available only for the duration of the instance and is discarded after all tasks running on the instance are complete.

Since December 2020, Lambda has been capable of supporting Docker containers through ECR up to 10 GB in size.[11]

See also[edit]


要查看或添加评论,请登录

Ashish Ranjan的更多文章

  • WHAT IS AGILE

    WHAT IS AGILE

    In software development, agile practices (sometimes written "Agile")[1] include requirements discovery and solutions…

  • WHAT IS GCP

    WHAT IS GCP

    Google Cloud Platform (GCP), offered by Google, is a suite of cloud computing services that runs on the same…

  • WHAT IS AGILE

    WHAT IS AGILE

    In software development, agile practices (sometimes written "Agile")[1] include requirements discovery and solutions…

  • WHAT IS UNITY 3D

    WHAT IS UNITY 3D

    Unity is a cross-platform game engine developed by Unity Technologies, first announced and released in June 2005 at…

  • WHAT IS SHELL SCRIPTING

    WHAT IS SHELL SCRIPTING

    A shell script is a computer program designed to be run by a Unix shell, a command-line interpreter.[1] The various…

  • WHAT IS API

    WHAT IS API

    An application programming interface (API) is a way for two or more computer programs to communicate with each other…

  • WHAT IS JAVA DEVELOPER

    WHAT IS JAVA DEVELOPER

    Despite its age and legacy, Java remains one of the most popular programming languages to this day. According to a 2021…

  • WHAT IS POWER BI

    WHAT IS POWER BI

    Microsoft Power BI is an interactive data visualization software product developed by Microsoft with a primary focus on…

  • WHAT IS PMO

    WHAT IS PMO

    A project management office (abbreviated to PMO) is a group or department within a business, government agency, or…

  • WHAT IS NETWORKING

    WHAT IS NETWORKING

    A computer network is a set of computers sharing resources located on or provided by network nodes. Computers use…

社区洞察