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

[Backend] KMS upload limits #3170

Open
linear bot opened this issue Sep 9, 2024 · 2 comments
Open

[Backend] KMS upload limits #3170

linear bot opened this issue Sep 9, 2024 · 2 comments
Labels
area: backend Related to backend functionality or under the /backend directory

Comments

@linear
Copy link

linear bot commented Sep 9, 2024

KMS Limits:

Uploads (Local)

  • Single file size ? (50Mb / file )

  • Single Folder total size ? No limits

  • Concurrent file upload ? ( rate limit upload route, for now can't upload whole folders)

  • # Files per folder ? -> No limits

  • Total storage per tier of users ?

    • 500Mb free
    • 100GB premium

Knowledge linked to Brains ( sync & local )

  • Total size for all brains:

    • free: 500 Mb
    • premium: 100Gb for all brains ( get size users in production)
    • No limits for # brains
  • Nb or files ?

    • correct metric # of chunks in brain -> have the infos back to the user (too much chunks / files in brain .
  • File size across syncs + local ? No diff

  • # sync files per user to add to brain ?

    • Limit to # chunks in a brain

KM Processing

  • # max concurrent processing of files ?
    • max queue size of 10_000 (check ) 4 worker
  • # max concurrent processing files per user
    • fairness scheduler / per user
  • Max time processing per file
    • p99 celery worker
  • Max batch size sync
    • Randomize across users
    • Priorize refresh for connected users
Copy link
Author

linear bot commented Sep 9, 2024

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Sep 9, 2024
Copy link
Contributor

github-actions bot commented Jan 5, 2025

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.

@github-actions github-actions bot added the Stale label Jan 5, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2025
@AmineDiro AmineDiro reopened this Jan 27, 2025
@github-actions github-actions bot removed the Stale label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory
Projects
None yet
Development

No branches or pull requests

1 participant