Doubt on "scalability" of this architecture

Open
#17 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws

Research direction

Start with the architecture diagram and the quoted backend description, then review the stated AWS Lambda concurrency behavior and Amazon DynamoDB access model. Done should mean documenting a clear, technically supported explanation of the scalability claim and its limits.

Written by the indexing model from the issue text.

Description

The Architecture diagram states

Mobile applications require a highly scalable backend infrastructure to support the variable usage created by mobile users. AWS Lambda runs code in response to requests and automatically manages and scales the underlying resources. Lambda Function 1 provides a synchronous endpoint for users to store and retrieve unstructured data from Amazon DynamoDB.

My doubt is the statement that this supports a "highly scalable backend". Since the API requests are served from Lambda functions which are inherently limited to 1000 concurrent connections by default. To support even 10K users using an app you would need a minimum of 10K Lambda sessions. Since this serverless architecture does not support connection pooling, many DBs will not support this amount of concurrent "clients". So my question is how is this "highly scalable"?

Dominant language
Objective-C
Stars
587
Forks
108
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/lambda-refarch-mobilebackend

All issues in aws-samples/lambda-refarch-mobilebackend

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.