As you know, lately we have many problems in the app: app stopping for a while every minute, sent message not appearing in the chat list, long loading time…
After our investigation and many small updates, our engineers have identified that the problems come from the message database.
Basically when you send a message, it will be saved and a file will be created in the database. Every time when your phone is connected to the internet and you are using the app, your chat list is updating using the data from the database.
In this database we are using currently, files are created excessively in the database. The large amount of files lead to the recent “jam” in database.
So we are planning to change the database.
Will it help?
According to the engineer company, yes it will. The new database won’t create too many files like the current one, which means there will be less chance of having a “jam” in it.
When?
Not yet decided, but probably within this two weeks.
What will happen?
During the process, we will have a server maintenance. The app will stop for a few minutes.
Then after reopening, you will experience a short loading, of about 10-20 seconds for the first time you login. Your phone is going to download all the data (chat record) from the new database.
However, we won’t move all the data from the old database to the new one. We will only keep the data from the past 7 days. Data older than them will be gone.
Basically that means after the maintenance, it will first take you 10-20 second to load, and you will only have the chat record of the most recent 7 days.
This will only happen once.
The next time you close the app and reopen, it won’t load slowly again, and the messages after the maintenance will be stored for 30 days.