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

Investigate long loading times #3

Closed
Tracked by #5
zoey-kaiser opened this issue Nov 3, 2022 · 4 comments
Closed
Tracked by #5

Investigate long loading times #3

zoey-kaiser opened this issue Nov 3, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@zoey-kaiser
Copy link
Member

Environment

No response

Reproduction

No response

Describe the bug

After deploying https://nuxt-auth-example.sidebase.io we noticed that the initial loading time is very high. This issue is to track down the reason and fix it, or add a loading indicator for when the page has not loaded yet.

Additional context

No response

Logs

No response

@zoey-kaiser zoey-kaiser added the bug Something isn't working label Nov 3, 2022
@BracketJohn
Copy link
Contributor

I think the main reason for this is because we're using so small servers. I asked @DeusAvalon to have a look into this and scale up the instance. If the problem persists afterwards, we can investigate more, but I don't think it will.

@DeusAvalon
Copy link
Contributor

DeusAvalon commented Nov 17, 2022

Im currently in the progress of snapshotting the instance but checking the CPU metrics doesnt show any shortage of resources at all:
image
We havent even touched our burst capacity once in the last 2 weeks. So i wouldnt be too sure that the root cause is the instance tho. @BracketJohn

@DeusAvalon
Copy link
Contributor

DeusAvalon commented Nov 17, 2022

The instance has been moved to a twice as strong instance: 4 GB RAM, 2 vCPUs, 80 GB SSD

Based on the metrics available right now when opening https://nuxt-auth-example.sidebase.io the instance should be ridicolously overspec'd and the culprit for the longer loadtimes might not be the instance!

I also made sure to double check if any resource limitations are in place for the nuxt3-auth docker containter, which is not the case and based on docker stats the container has the full resource capabilities available.

@BracketJohn
Copy link
Contributor

One important metric to look at for SSR is actually also RAM (:

The upgrade did the trick, the page is now much faster and we even got positive user feedback for it.

Closing this issue (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants