I need to deploy a web service in glasfish 4 and a mySql database, what VPS features do you recommend for?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
That’s a great question. Oracle recommends 2GB of memory for the server. Given the addition of MySQL and unexpected external factors (unexpected crawlers, etc), I would recommend 4GB of ram to safely deploy your configuration.
It should be noted that every situation has it’s own unique circumstances, and it is possible to develop an application that should fit within that 4GB, but which actually fails to fit within even 64GB. As long as you are following best practices to optimize your code (which is a very relative thing to say), you should be on a good path :)
With App Platform, you can:
Click below to sign up and get $100 of credit to try our products over 60 days!