Cargando…

Serverless Design Patterns and Best Practices : Build, secure, and deploy enterprise ready serverless applications with AWS to improve developer productivity.

Serverless applications and architectures are gaining momentum and are increasingly being used by companies of all sizes. For good reason, serverless-based applications handle many of the problems developers face when running systems and servers such as fault-tolerance, centralized logging, horizont...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Zambrano, Brian
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introduction; What is serverless computing?; No servers to manage; Pay-per-invocation billing model; Ability to automatically scale with usage; Built-in availability and fault tolerance; Design patterns; When to use serverless; The sweet spot; Classes of serverless pattern; Three-tier web application patterns; ETL patterns; Big data patterns; Automation and deployment patterns; Serverless frameworks; Summary; Chapter 2: A Three-Tier Web Application Using REST.
  • Serverless toolingSystem architecture; Presentation layer; Logic layer; Data layer; Logic layer; Application code and function layout; Organization of the Lambda functions; Organization of the application code; Configuration with environment variables; Code structure; Function layout; Presentation layer; File storage with S3; CDN with CloudFront; Data layer; Writing our logic layer; Application entrypoint; Application logic; Wiring handler.py to Lambda via API Gateway; Deploying the REST API; Deploying the Postgres database; Setting up static assets; Viewing the deployed web application.
  • Running testsIteration and deployment; Deploying the entire stack; Deploying the application code; Summary; Chapter 3: A Three-Tier Web Application Pattern with GraphQL; Introduction to GraphQL; System architecture; Logic layer; Organization of the Lambda functions; Organization of the application code; Function layout; Presentation layer; Writing the logic layer; Implementing the entry point; Implementing GraphQL queries; Implementing GraphQL mutations; Deployment; Viewing the deployed application; Iteration and deployment; Summary; Chapter 4: Integrating Legacy APIs with the Proxy Pattern.
  • AWS API Gateway introductionSimple proxy to a legacy API; Setting up a pass-through proxy; Deploying a pass-through proxy; Transforming responses from a modern API; Method execution flow; Setting up example; Setting up a new resource and method; Setting up Integration Request; Setting up Integration Response; Complex integration using a Lambda function; Implementing the application code; Setting up a new resource and method; Migration techniques; Staged migration; Migrating URLs; Summary; Chapter 5: Scaling Out with the Fan-Out Pattern; System architecture.
  • Synchronous versus asynchronous invocationResizing images in parallel; Setting up the project; Setting up trigger and worker functions; Setting up permissions; Implementing the application code; Testing our code; Alternate Implementations; Using notifications with subscriptions; Using notifications with queues; Summary; Chapter 6: Asynchronous Processing with the Messaging Pattern; Basics of queuing systems; Choosing a queue service; Queues versus streams; Asynchronous processing of Twitter streams; System architecture; Data producer; Mimicking daemon processes with serverless functions.