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

Add replica calls to services and pick the correct one based on some condition #14

Closed
susamn opened this issue Apr 12, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@susamn
Copy link
Owner

susamn commented Apr 12, 2020

Think about a backend having 3 data centers, and all these data centers are no responding uniformly, some is slow and some are fast.

or

There are multiple datacenters having sync issues. Some data center is updated first and some are later.

Now during this time, if a backend call is made to the slow responding dc or the dc having stale data, the obtained response will be of higher response time or be faulty respectively.

Replica calls can help in this context. If the backend is allowing, Rio should be able to select the one response based on some condition, maybe response time based or some data quality based.

@susamn susamn added enhancement New feature or request good first issue Good for newcomers and removed good first issue Good for newcomers labels Apr 12, 2020
@susamn
Copy link
Owner Author

susamn commented Apr 15, 2020

In the latest commit, the replica functionality is added but only for response time condition

@susamn
Copy link
Owner Author

susamn commented Apr 15, 2020

Need to add the condition based selection, like data quality

@susamn susamn closed this as completed Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant