Skip to Content
Programar AWS Lambda
book

Programar AWS Lambda

by John Chapin, Mike Roberts
September 2024
Intermediate to advanced
278 pages
7h 40m
Spanish
O'Reilly Media, Inc.
Content preview from Programar AWS Lambda

Capítulo 9. Arquitectura sin servidor avanzada

Este trabajo se ha traducido utilizando IA. Agradecemos tus opiniones y comentarios: translation-feedback@oreilly.com

En el Capítulo 8 vimos algunos aspectos más avanzados de Lambda que son importantes una vez que empiezas a pensar en producir tus aplicaciones. En este capítulo, continuamos con ese tema, examinando más ampliamente el impacto de Lambda en la arquitectura.

Gotchas" de la arquitectura sin servidor

Primero examinamos las áreas de la arquitectura sin servidor que podrían causarte problemas si no las tienes en cuenta, y ofrecemos distintas soluciones para abordar estos problemas en función de tu situación.

Entrega al menos una vez

La plataforma Lambda garantiza que cuando una fuente de eventos ascendente active una función Lambda, o si otra aplicación llama explícitamente a la llamadaa la API deinvocación de Lambda, se llamará a la función Lambda correspondiente. Pero algo que la plataforma no garantiza es cuántas veces se llamará a la función: "Ocasionalmente, tu función puede recibir el mismo evento varias veces, aunque no se produzca ningún error" Esto se conoce como "entrega al menos una vez", y existe debido a que la plataforma Lambda es un sistema distribuido.

La inmensa mayoría de las veces, una función Lambda será llamada una sola vez por evento. Pero a veces, muy de vez en cuando (mucho menos del 1% de las veces), una función Lambda será llamada varias veces. ¿Por qué es esto un problema? ¿Y cómo hacer frente ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Seguridad y arquitectura de microservicios en AWS

Seguridad y arquitectura de microservicios en AWS

Gaurav Raje
Redes y Kubernetes

Redes y Kubernetes

James Strong, Vallery Lancey
Docker: Up & Running, 3ª Edición

Docker: Up & Running, 3ª Edición

Sean P. Kane, Karl Matthias

Publisher Resources

ISBN: 9781098199739