Rank 2: Process
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
Votes
0
Replies
19
Participants
Unknown
Messages
20
Rank 2: Process
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
Rank 2: Process
result = databases.list_documents(
database_id,
collection_id,
[Query.equal("username", "appwrite")]
)
Rank 2: Process
and the documents are only 22 in that collection
What's the response time for getDocument?
Rank 2: Process
do you mean getDocument method>
Rank 2: Process
?
Rank 2: Process
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?
Rank 2: Process
its taking(1.2s):
result = databases.get_document(
database_id,
collection_id,
document_id,
)
Rank 2: Process
appwrite instance??
Rank 2: Process
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
Rank 2: Process
appwrite cloud
Rank 2: Process
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?
Rank 2: Process
India