K
K
Kirill Ozeretskovsky2019-09-24 13:25:57
MySQL
Kirill Ozeretskovsky, 2019-09-24 13:25:57

What are the minimum hardware requirements for a Tomcat/Pure Servlets/MySQL application?

I am writing a small Java Servlets application for my own purposes (without Spring and other heavy frameworks) + MySQL, I want to understand how much it will cost me to rent a VPS: in fact, the question is how much RAM is needed, because, in my case, this is the main cost criterion for VPS ?
It is difficult to imagine how many simultaneous requests there can be, so I rely on your experience with examples.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2019-09-24
@OZKA

Cat Tom eats about 20-60 megs of memory. Muscle is about the same. (but of course there are options). Instead of tomcat, you can take Jetty - it eats much less - mega 2 is at a minimum. In principle, if you do not make memorials and memory leaks, then any entry-level hosting for 1 CPU and 512Mb is for the eyes, even with caching, hussars and courtesans.
And everything else: performance, rps and everything else - depends only on your application, caching, architecture, work with the database and data. As an example , linux.org.ru is a site with a huge audience. Here is what they write about themselves - https://www.linux.org.ru/about (see Software and Server).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question