Serverless Full-Text Search with AWS Lambda and EFS

Approach

Buffering with SQS

Results

Running 1m test @ https://<api-id>.execute-api.<region>.amazonaws.com/dev/query
12 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 538.90ms 858.99ms 12.62s 84.59%
Req/Sec 235.47 148.52 0.85k 61.56%
162949 requests in 1.00m, 160.22MB read
Requests/sec: 2712.53
Transfer/sec: 2.67MB

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store