Closed jtyoung84 closed 3 months ago
I benchmarked the current API performance vs using a direct connection (ssh) and analyzed the sizes of records in our docdb. From this, I proposed several performance improvements we can make in our API gateway + Lambda function. Please see Section 5 of this document for details.
After discussion with the team, we will do a POC to enable payload compression in the API gateway and streaming responses in the Lambda function. Additionally, we plan to add error handling, optimize the lambda function, and update the batching/pagination.
Looks good
The current public read-only REST endpoint for DocDB cannot handle the volume of data that DocDB serves. This is primarily because of lambda and gateway request size limits.
Define a public, read-only DocDB query interface that supports the following: