Mulai sekarangMulai gratis

Connection reuse across invocations

You are a performance engineer at LatencyZero Inc. Your team suspects that recreating boto3 clients inside the handler is adding unnecessary latency on every invocation. In this exercise, you'll create a function that initializes the STS client in two different ways — inside vs outside the handler — and compare the Duration metric to see the impact of connection reuse.

Latihan ini merupakan bagian dari kursus

Serverless Applications with AWS Lambda

Lihat Kursus

Latihan interaktif langsung

Ubah teori menjadi aksi dengan salah satu latihan interaktif kami

Mulai latihan