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
Invoke Lambda Functions only during event triggering
VS
keeping Instance(s) idle for a reasonable amount of time.Pay only for what you are going to use
VS
pay for the running idle instance.Easily Integrate with other popular AWS Services e.g API Gateway,S3 ,SNS,CloudTrail etc.
IAM Policies are configurable to each lambda function.
Scalable depending on the rate of invocations.
Cons
Only 5 minute with finite RAM is supported as of now ,so not for heavy and complex processing.
Only popular programming language support.
Conclusion
It depends on your use-case as to whether use lambda or not !