Back

Realtime response sometimes delay.

  • 0
  • Databases
  • Flutter
  • Realtime
karthik1095
12 Nov, 2024, 05:16

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?

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more