dimkir / aws-multitenant-architecture-quickstart

Serverless port for AWS Multi Tenant Architecture Concept (check website)
https://www.slideshare.net/AmazonWebServices/deconstructing-saas-a-deep-dive-into-building-multitenant-solutions-on-aws-arc407-reinvent-2017
0 stars 0 forks source link

Lambda max-timeout & first call to L0 services, and timing out (to create DynamoDB tables) #27

Open dimkir opened 5 years ago

dimkir commented 5 years ago

On the picture you can see that calls to:

timed out at 8seconds (and threw 502 error) because there were waiting to create dynamodb table.


You can also see that repeated call to

actually errored with 402 and returned a more articulate error message.

This is something to keep in mind and related to Lambda configuration in #22.

image

dimkir commented 5 years ago

Interestingly enough, repeated call to

simply retuns empty array (and doesn't error out)

image

dimkir commented 5 years ago

And I just realized that repeated call to

also simply returns empty array image

Which means that previous behaviours were caused by table missing, or table being in the process of creation.