By Jayouh
For what it helps I am running Node.js with MongoDB and using SSL connection (although the problem seems to persist o non-SSL as well). My initial connection stalls a lot even with basically no meaningful traffic, talking about +10 seconds before the page even connects. Then again, roughly 40% of the time it loads just normally.
Sure I am running the $5 plan, but could that really be a bottleneck already?
My load metrics seem fine, except Memory runs at ~50% and Disk Usage 26%. Not sure if these are normal? Perhaps these are the issues then
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Open the developer tools in the browser (give you use a browser) and check the network communication. Chrome breaks down the time it takes to communicate with the server into smaller bits, so you can see whether connecting to the socket is slow (slow network) or getting data is slow. I saw it many times that servers respond slowly to the very first request because they have to “spin up” worker threads, initialise buffers, caches, etc.
50% RAM usage is not a lot, disk usage of 26% is not a lot either.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.