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
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...