karthik1095Original post
Rank 2: Process
I have a chat app built with Flutter. When I send a message, it doesn't appear immediately in the chat; instead, it waits for a real-time event from Appwrite. Specifically, the message is written to the Appwrite document, and then a real-time trigger updates the chat to show the message to everyone, including the sender. I've measured the response time, and it's typically around 490 to 600 ms, which is acceptable. However, at times, there’s a delay of 2 to 3 seconds. Is there any way to fix this?
Summary
Issue with Flutter chat app where messages sometimes have a delay due to real-time trigger from Appwrite. Response time usually 490-600ms, but occasionally has 2-3s delay. Solution: Check Appwrite's real-time event processing for potential optimization or performance issues.