Rank 2: Process
Absurd question about query performance.
Which case will save data between run query from SDK or with function?
Votes
0
Replies
13
Participants
Unknown
Messages
14
Rank 2: Process
Absurd question about query performance.
Which case will save data between run query from SDK or with function?
You mean caching?
Rank 2: Process
Nop
Then saving things locally? I don't understand your question at all 😅
Rank 2: Process
users - id - full_name
companies: - id - name - address
company_members - id - user_id - company_id
transactions - id - author_id - amount - dateI want to get user info then him company also and all transactions.
For that, I make 3 queries (
1. get current user
2. use him id to get user data from db
3. again, use id to get the relative company
4. next, get all transactions
)
Rank 2: Process
Each query as a cost in network connection consumption (4x)
If I create edge function to do that, the network consumption decrease?
Rank 2: Process
You mean ?
For now, nope
It will not have any advantages
Rank 2: Process
In case to protect cascade "post request" as "atomic transaction" it not have any advantage too ?
For example, if you need to make several post requests or actions at once, It could be a benefit
But there will not be any difference in data consumption reflected in the Appwrite console usage
Rank 2: Process
Nice
Rank 2: Process
[SOLVED] Data consumption