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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...