Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow initialisation when there are many messages in the database #4706

Open
1 task done
iuricmp opened this issue Jun 22, 2023 · 1 comment
Open
1 task done

Slow initialisation when there are many messages in the database #4706

iuricmp opened this issue Jun 22, 2023 · 1 comment
Labels
backlog bug type: something isn't working verified Bug is verified

Comments

@iuricmp
Copy link
Contributor

iuricmp commented Jun 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Berty product

Mobile app

Berty product version

2.468.9

OS

iOS

OS version

16.4

Device

iPhone 14

Steps to reproduce

  1. Open Berty and create an account.
  2. Send 10000 (10k) messages to Berty using Berty Mini.
  3. Close the app and reopen it.

Current behavior

Berty App gets stuck for about 20 seconds.

This is a graph created by @jefft0 that shows how slow the app become to startup according to the number of messages in the local database.
image

Expected behavior

The App should open with an acceptable delay no matter the number of massages in the local database.messages

Other

No response

@iuricmp iuricmp added the bug type: something isn't working label Jun 22, 2023
@jefft0 jefft0 added the verified Bug is verified label Jun 30, 2023
@jefft0
Copy link
Collaborator

jefft0 commented Jul 21, 2023

We understand the cause of this issue, but it doesn't have a large impact on the ability to use Berty for most users. The solution is not simple, so will take time. When we get a report from the community, they we can revisit. For now, put in the backlog.

@jefft0 jefft0 added the backlog label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug type: something isn't working verified Bug is verified
Projects
None yet
Development

No branches or pull requests

2 participants