Hello!
I am a beginner with this whole Droplets thing…
I would like to ask your opinion, what should I do?
I have developed an application for iOS, that communicates with my PHP server (+MySQL database). Besides that, It does use Socket.io (NodeJS) for real time chat.
Should I create 2 droplets? One for the PHP server+Database, and one for the NodeJS realtime chat?
And if so, what do you recommend, should I choose the “OneClick app” option?
I am really confused how this all works.
Best regards, Andrew
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!
Hello,
I believe that as long as your services and applications are on different ports you should be fine of using 1 droplet.
Though if you want to keep your applications separate, for example if you have the two applications on one droplet and if it happens that one of the applications gets a huge spike in the traffic it would affect the second application as well. So if you want to be safe you could simple have 2 droplets, that way the resources and the applications would be isolated.
Hope that this helps! Regards, Bobby
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.