You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,18 @@
2
2
3
3
A prototype which implements a simple AWS Lambda function in several programming languages and benchmarks the relative performance.
4
4
5
-
## Lambda functionality
6
-
7
5
Each lambda implementation has the same functionality:
8
6
9
7
1. Read a batch of messages off an SQS queue
10
8
2. Validate the content of each message against the [shared JSON schema](./schema/event.json)
11
9
3. Write each message to a DynamoDB table with the partition key as the message's event ID and a TTL
12
10
11
+
The benchmark is designed to replicate real world use as much as possible.
12
+
The messages are sent to SQS in as close to one go as possible which means the lambdas are all running at the same time.
13
+
They all share the same DynamoDB table so need to compete for read resource.
14
+
The DynamoDB table has a randomly generated partition key to avoid 'hot' partitions.
15
+
Each Lambda function bundles the minimal dependencies - usually just a library for JSON Schema validation and the necessary AWS / runtime dependencies.
0 commit comments