[英]how to structurize AWS Serverless application?
我发现 nano services 看起来适合 AWS lambdas 的架构是真的,还是我应该坚持使用经典的微服务架构?
AWS lambda's are not a complete architecture, they are merely a component. AWS lambda 不是一个完整的架构,它们只是一个组件。
The functionality you described in your comment would need a full-stack solution, because you need to manage state, etc. Classic microservices sounds like a safer approach because:您在评论中描述的功能需要全栈解决方案,因为您需要管理状态等。经典微服务听起来更安全,因为:
If you decide to take the lamdba approach You'll have "nano" architecture based on lambdas, and everything else.如果您决定采用 lamdba 方法,您将拥有基于 lambda 的“纳米”架构,以及其他一切。 Not sure how good an architecture that will be - because it won't be "balanced" if you put all your focus on the lambdas.
不确定一个架构有多好 - 因为如果你把所有的注意力都放在 lambdas 上,它就不会“平衡”。 Architecture needs to be holistic, if you are too preoccupied with lambdas you will miss other important things, or and try and use lambdas where a different approach would have been better.
架构需要是整体的,如果你过于专注于 lambdas,你会错过其他重要的事情,或者尝试使用 lambdas,而另一种方法会更好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.