Skip to content

Do not make requests if sync files are too large #89597

Closed

Description

Settings Sync Server rejects if the resource is too large. This is to discuss if we have to prevent them already from the client side

Daniel Imms (@Tyriar) FYI

Activity

  1. added
    under-discussion
    on Jan 29, 2020
  2. Tyriar commented on Jan 29, 2020

    @Tyriar
    Contributor

    Seems obvious that we should do this now imo as it was a cause for concern when I saw the data in shoot up to > 300x more than normal; why request and waste server time when we know it will be rejected by simply measuring the length of content on the client?

  3. sandy081 commented on Jan 29, 2020

    @sandy081
    MemberAuthor

    Remember it was testing and there is a bug on the client to stop sync. So not sure if that is a good heuristics.

  4. Tyriar commented on Jan 29, 2020

    @Tyriar
    Contributor

    Sandeep Somavarapu (@sandy081) sure, but this will get hit when millions of people are using it. Moving the validation to the client means less traffic on the server, more stable servers, less compute and a faster response to the user. What's the downside when it's a simple conditional with a throw in VS Code?

  5. sandy081 commented on Jan 29, 2020

    @sandy081
    MemberAuthor

    How do I know what is the max limit that a server can support?

  6. added
    feature-request
    and removed
    under-discussion
    on May 6, 2020
  7. added
    *out-of-scope
    on Nov 5, 2021
  8. vscode-triage-bot commented on Nov 5, 2021

    @vscode-triage-bot

    We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding and happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopefeature-requestsettings-sync

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions