By coenkuijpers
I have written an app in node.js and Vue. This app needs to be used by about 10 people for now, but it must be scalable to at least 100 users.
It will also use mongodb and the environment of each user needs to be separated from each other.
What would be the best way to implement this on digital ocean?
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!
What I’m trying to accomplish is the following.
The app monitors and gathers data from exchanges. Each user of the app might have their own settings of what needs to be monitored and gathered, therefore I think it would be the easiest that at least there is a separate context for the backend of each user.
Moreover the backend needs to be kept running even if the user logged out.
As you can tell I’m new to this and would appreciate a few nudges in right direction of what would be a good architecture for this problem.
Would need more information on what you are trying to do… Are you saying that each user need to be on their own server, why?
If users are ‘logging-in’ then control that by sessions. 10 users is fairly small, even 100 should be fine on a single droplet. If you want to scale you can use app platform or setup multiple droplets and place a LB in front of it or roll your own container cluster.
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.