concept solution in category aws

appears as: solution, solutions, solutions, solution
Serverless Architectures on AWS, Second Edition

This is an excerpt from Manning's book Serverless Architectures on AWS, Second Edition.

  • Pick applications suited for a service oriented architecture: Serverless architectures are a natural extension of ideas raised in SOA. In serverless architecture all custom code is written and executed as isolated, independent, and often granular functions that are run in a compute service such as AWS Lambda. Since every component is a service, serverless architectures share a lot of advantages and complexities with event driven microservices architectures. This also means applications likely need to be architected to meet the requirements of these approaches (like making the individual services stateless, for example). However, keep in mind that the serverless approach is all about reducing the amount of code you have to own and maintain, so you can iterate and innovate faster. This means you should strive to minimize the number of components that are required to build your application. For example, you may architect your web application with a rich front end (in lieu of a complex back end) that can talk to third-party services directly can be conducive to a better user experience. Fewer hops between online resources and reduced latency will result in a better perception of performance and usability of the application. In other words, you don’t have to route everything through a FaaS - your front end may be able to communicate directly with a search provider, a database, or another useful API. However, keep in mind that moving from a monolithic approach to a more decentralized serverless approach doesn’t automatically reduce the complexity of the underlying system. The distributed nature of the solution can introduce its own challenges because of the need to make remote rather than in-process calls and the need to handle failures and latency across a network, which your application will need to be resilient to.
  • Did the scores align with your gut instinct for which solution is best for each application?