-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Initial connection time #328
Comments
Where are you connecting? |
Sorry, I didn't get your question. |
Are you connecting to some cloud service, like Atlas, or do you have a specific server. |
I am using Atlas. |
Free Tier? |
Yes. |
There were other person reporting this problem with Atlas, but I didn't get if it depends only on the Tier or if it is Atals itself.. If you try to connect locally or on a remote server created by you, the connection time is by far better. |
I think we could confirm which has an "issue" by running a few tests, I for one, am currently running on the free tier atlas and i have the same delay issue, not only that but I also get a random "No master connection" or "Connection lost" error messages (I'll manage to get the proper error messages next time). But I did manage to get around that by having an RX value to listen to those changes (in errors) and try to reconnect after a few seconds. But going back to the main issue:
And then I think we'd have an understanding if its a problem with Atlas itself, or the Free tier only. |
Yes same problem here, random Connection Exception, retry after some seconds and it works. But that is making me nervous. |
I have used this package in my flutter app and connected my db with the following two lines:
These two lines are taking 10-15 seconds on average to execute which is a huge time. User waits at the splash screen for this much time because I have to show data after fetching from mongo db on the homepage of my app. What should I do to make the initial connection faster?
The text was updated successfully, but these errors were encountered: