AWS lambda和AWS Lambda @ EDGE有什么区别?

编程入门 行业动态 更新时间:2024-10-22 11:23:10
本文介绍了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.

aws.amazon/lambda/features/

docs.aws.amazon/lambda/latest/dg/lambda-edge.html

更多推荐

AWS lambda和AWS Lambda @ EDGE有什么区别?

本文发布于:2023-11-24 04:28:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1623969.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有什么区别   lambda   AWS   EDGE   Lambda

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!