Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Improve capacity and performance of the appserver #451

Open
yatharthranjan opened this issue Jan 24, 2024 · 0 comments
Open

[FEAT] Improve capacity and performance of the appserver #451

yatharthranjan opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request roadmap Item on the RADAR-base roadmap

Comments

@yatharthranjan
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, we have a single appserver for all the deployments used by the production aRMT app and these seem to be growing rapidly. Soon we will run out of capacity to support additional projects due to limitations in scaling the appserver and single db architecture.

Describe the solution you'd like
We can have multiple instances of the appsever+postgres. We will have a gateway like service in front of these appserver instances which will dynamically chose from among the available appserver instances based on hash of the r-base base_url of the client request, or the app can include it in the request itself.

Describe alternatives you've considered
Alternative would be to consider partitioning and horizontal scaling the postgres and adding indexes for most used properties in the database. This would improve performance of the postgresDB and we can add more replicas of the appserver.
Another alternative is to revisit the support of multiple firebase projects in the app (not sure if feasible now or not).

Priority
2

Difficulty
5

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap Item on the RADAR-base roadmap
Projects
Status: No status
Development

No branches or pull requests

1 participant