Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Scaling - Remove dependency on environment variables #155

Open
Snehaost opened this issue Jul 26, 2018 · 0 comments
Open

Scaling - Remove dependency on environment variables #155

Snehaost opened this issue Jul 26, 2018 · 0 comments
Assignees

Comments

@Snehaost
Copy link

Snehaost commented Jul 26, 2018

Problem: Environment variables are a hard dependency. Due to which for having multiple instances of "OpenST-Payments" connecting to different AWS DynamoDB instances OR different Memcache instances is impossible. This is because the connection parameters for these external services, presently come from environment variables. This makes scaling to multiple AWS DynamoDB or Memcache or GETH utility chains impossible.

Solution : Remove dependency on environment variables. How do we do that - We shall now pass the configuration information of "OpenST-Payments" service via a parameter in its constructor. This will give us the flexibility of using one AWS DynamoDB endpoint in one instance and other endpoint in another instance of OpenST Payments.

This will enable us to instantiate multiple instances of "OpenST-Payments" based on an applications infrastructure requirements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants