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?
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...