I wanna fetch a document where it checks if username == username then i want that document but it is taking around 1.2s and after indexing 1 or 1.1s
result = databases.list_documents( database_id, collection_id, [Query.equal("username", "appwrite")] )
and the documents are only 22 in that collection
What's the response time for getDocument?
do you mean getDocument method>
?
well, im not using getDocument because it needs to be pass documentID
I know I just want to know what the baseline response time is.
What's your average response time to your appwrite instance?
its taking(1.2s):
result = databases.get_document( database_id, collection_id, document_id, )
appwrite instance??
what is that, can you bit explain it?
Whereever your appwrite is hosted, be it selfhosted or appwrite cloud
You can see that this is the time it takes appwrite for you to respond. That's why your listDocument query takes 1.2s. It can't get much faster than that
Are you using selfhosted or appwrite cloud
appwrite cloud
and where can i see or find " average response time" ?
I mean if it takes 1.2s for getDocument to respond then that is pretty much your response time
Where are you located?
India
Recommended threads
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...