# Handling large volume of transactions with AWS Lambda Managed Instances

DevFeed: [Handling large volume of transactions with AWS Lambda Managed Instances](<https://devfeed.tech/articles/handling-large-volume-of-transactions-with-aws-lambda-managed-instances-144755.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/handling-large-volume-of-transactions-with-aws-lambda-managed-instances/>)

Author: Mythili Annamalai Sekar

Published: 2026-11-19T21:20:28Z

Content type: tutorial

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Amazon ElastiCache](<https://devfeed.tech/topics/amazon-elasticache.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [can](<https://devfeed.tech/tags/can.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [compute](<https://devfeed.tech/tags/compute.md>), [concert](<https://devfeed.tech/tags/concert.md>), [handling](<https://devfeed.tech/tags/handling.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [large](<https://devfeed.tech/tags/large.md>), [managed](<https://devfeed.tech/tags/managed.md>), [post](<https://devfeed.tech/tags/post.md>), [reference](<https://devfeed.tech/tags/reference.md>), [run](<https://devfeed.tech/tags/run.md>), [sample](<https://devfeed.tech/tags/sample.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [test](<https://devfeed.tech/tags/test.md>), [this](<https://devfeed.tech/tags/this.md>), [transactions](<https://devfeed.tech/tags/transactions.md>), [volume](<https://devfeed.tech/tags/volume.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

AWS Lambda Managed Instances runs Lambda functions on EC2 capacity in the customer's account, with AWS managing provisioning, scaling, patching, and routing. Its warm execution environments can be scaled ahead of scheduled bursts and back down afterward; the article's ticketing sample reports 40,000 requests per second for 120 seconds across tests from 5,000 to 40,000 requests per second, with p99 latency within a 3 ms band. The design uses a Valkey atomic queue counter, DynamoDB conditional seat holds with 180-second TTLs, and a transaction that confirms bookings and writes records atomically. Setup requires AWS CLI, SAM, Python 3.13+, a VPC, and network access to DynamoDB and CloudWatch; peak tests also need higher EC2 vCPU and API Gateway throttle quotas. Managed Instances uses EC2 pricing plus a 15% management fee; the article estimates about $37 per simulated burst.

## Source excerpt

AWS Lambda Managed Instances keeps compute capacity warm before a predictable traffic burst and scales it back down afterward. This post walks through a concert-ticketing reference implementation that sustains 40,000 transactions per second for 120 seconds, with a deployable sample you can run, test, and clean up.