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
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...