Skip to content

[Remote Store] Decouple refresh intervals from upload rates #12450

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

Open
Bukhtawar opened this issue Feb 24, 2024 · 1 comment
Open

[Remote Store] Decouple refresh intervals from upload rates #12450

Bukhtawar opened this issue Feb 24, 2024 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Performance

Comments

@Bukhtawar
Copy link
Contributor

Is your feature request related to a problem? Please describe

With remote store and segrep, data once refreshed on the primary has to be replicated to all replica copies via a remote store. The replication requires upload from the primary and then hydration back to all the replica copies. The network round-trip delay prevents keeping lower refresh intervals, which might be critical for users who might have lower tolerance to data staleness.

Describe the solution you'd like

We can improve data freshness on primaries by supporting lower refresh intervals while keeping uploads at a higher interval to optimise, too many small segment transfers happening between the primaries and the replicas, which eventually gets merged and needs to be re-transmitted.
Decoupling refresh rates and upload rates provides a nice way to independently control, data freshness while also controlling rate of segment replication. Queries that need higher data freshness can use the primary routing to fetch data, while other queries can use the eventually consistent replica copies to fetch data.

Related component

Storage:Performance

Describe alternatives you've considered

Keep as is.

Additional context

No response

@Bukhtawar Bukhtawar added enhancement Enhancement or improvement to existing feature or request untriaged labels Feb 24, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5]
@Bukhtawar Thanks for filing, looking forward to a pull request for this area

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Performance
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants