When and when not to use aws lambda functions [closed]

旧时模样 提交于 2019-12-25 08:39:03

问题


I have a general understanding of serverless architecture. I was wondering what are the top pro's and con's using this architecture compared to the previous generally used architectures.


回答1:


Pros

  1. Invoke Lambda Functions only during event triggering VS keeping Instance(s) idle for a reasonable amount of time.

  2. Pay only for what you are going to use VS pay for the running idle instance.

  3. Easily Integrate with other popular AWS Services e.g API Gateway,S3 ,SNS,CloudTrail etc.

  4. IAM Policies are configurable to each lambda function.

  5. Scalable depending on the rate of invocations.

Cons

  1. Only 5 minute with finite RAM is supported as of now ,so not for heavy and complex processing.

  2. Only popular programming language support.

Conclusion

It depends on your use-case as to whether use lambda or not !



来源:https://stackoverflow.com/questions/44709406/when-and-when-not-to-use-aws-lambda-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!