AWS lambda和AWS Lambda @ EDGE有什么区别? [英] What is the difference between AWS lambda and AWS Lambda@EDGE?

查看:176
本文介绍了AWS lambda和AWS Lambda @ EDGE有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的aws lambda和aws lambda @ edge有什么区别?

What is the difference between simple aws lambda and aws lambda@edge ?

推荐答案

Lambda根据某些触发器执行函数.Lambda的用例非常广泛,并且与许多AWS服务紧密集成.您甚至可以使用它来简单地通过AWS的API执行代码,并将代码接收到与AWS分开的脚本中.常见的用例包括简单地执行Lambda并接收输出,将其插入API Gateway以满足用户请求,将对象放入S3存储桶中时对其进行修改等.

Lambda executes functions based on certain triggers. The use case for Lambda is quite broad and there is heavy integration with many AWS Services. You can even use it to simply execute the code via AWS's API and receive the code into your scripts separate from AWS. Common use cases include Lambdas being simply executed and the output received, plugged into API Gateway to serve user requests, modifying objects as they are placed into S3 buckets, etc.

Lambda @ Edge是一项服务,允许您执行Lambda函数,这些函数专门修改CloudFront的行为.Lambda @ Edge只是在请求周期内运行,并做出影响CloudFront内容交付的逻辑决策.

Lambda@Edge is a service that allows you to execute Lambda functions that modify the behaviour of CloudFront specifically. Lambda@Edge simply runs during the request cycle and makes logical decisions that affect the delivery of the CloudFront content.

https://aws.amazon.com/lambda/features/

https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html

这篇关于AWS lambda和AWS Lambda @ EDGE有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆