Back

how to fix appwrite rate limit exceeded

  • 0
  • Web
  • General
  • Accounts
  • Cloud
  • Users
Ahmed
20 May, 2023, 07:46

ohh i got it

TL;DR
The user is experiencing a rate limit exceeded issue with the Appwrite platform. They also have doubts about structuring data efficiently. It is mentioned that subcollections are not allowed in Appwrite. The user describes their app's hierarchy and the need to access PDF files at different levels. They mention that downloading all the documents at once will result in rate limiting. The user asks for help and clarifies that only they can upload notes while users can only read and download them. The app is related to campus notes and book PDF notes. Solution: Unfortunately, the support thread does not provide a solution to fix the rate limit exceeded issue or the
Ahmed
20 May, 2023, 07:46

my app is related to book pdf notes

Ahmed
20 May, 2023, 07:47

making an app for campus Notes

D5
20 May, 2023, 07:47

You mean uploading multiple documents then?

Ahmed
20 May, 2023, 07:47

so users request api calls everytime to get access of notes

Ahmed
20 May, 2023, 07:48

no they can only read and download notes from app only i can upload notes

Ahmed
20 May, 2023, 07:49

help me out please

D5
20 May, 2023, 07:50

You don't make a request for every note, you make a request to get access to a bunch of documents

D5
20 May, 2023, 07:51

So that way you'll not be rate-limited

Ahmed
20 May, 2023, 07:51

yes

D5
20 May, 2023, 07:52

Also never download if there are 10000 documents, all of them at once

Ahmed
20 May, 2023, 07:52

my app has 5 level of hirerchy to access pdf file like user>Branch>Year>Semester>Subjects>(pdf of particular subject) branch can be CSE,IT,ECE,EEE,CIVIL,MECH Year can be 1,2,3,4 Semester can be 1,2,3,4,5,6,7,8 subjects can be multiple max 10 for each semester

and at the end the pdf will be available for particular subject

D5
20 May, 2023, 07:52

Each of them is a collection

D5
20 May, 2023, 07:52

And each input is a document

D5
20 May, 2023, 07:53

Just imagine like if it was a SQL database (appwrite database is SQL, except API) so every table is a collection and each row is a document

Ahmed
20 May, 2023, 07:54
  • users (collection)
    • {userID} (document)
      • branches (subcollection)
        • {branchName} (document)
          • years (subcollection)
D5
20 May, 2023, 07:55

You can't make subcollections

Ahmed
20 May, 2023, 07:55

okay

Ahmed
20 May, 2023, 07:56

how do you got this much knowledge about appwrite?

D5
20 May, 2023, 07:59

Reading docs and making an app with it

D5
20 May, 2023, 08:00
D5
20 May, 2023, 08:00

Also seeing appwrite blog

D5
20 May, 2023, 08:12

But I have too doubts while structuring data πŸ˜… Not about how to structure it, but more about how to make it be efficient

Ahmed
20 May, 2023, 08:14

ohh

Ahmed
20 May, 2023, 08:14

same here

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more