Jeanne Boyarsky wrote:That's interesting because the SonarQube docs recommend splitting up the parts of Sonar. Well kind of. They say it and then immediately backpedal.
For optimal performance, each component (Database, Web Server, Clients) should be installed on a dedicated machine. However, the Server and the Database can be installed on the same machine.
Jeanne,
I see what you mean. On the Install page it has these Notes:
1) The SonarQube platform cannot have more than a single web server and a single database.
2) For optimal performance, each component (Database, Web Server, Clients) should be installed on a dedicated machine. However, the Server and the Database can be installed on the same machine.
3) Clients will scale by adding machines.
4) The Database and the Clients must be located in the same network.
5) The Database and the Clients must not be installed on the same machine.
6) All the machines must be time synchronized.
It does seem reasonable that splitting up the components would allow you to run more projects simultaneously since the components aren't competing for resources. OTOH, putting the server and db on the same box means reducing network delays sending and receiving data between the components.
One more point, I guess something's changed since the project was renamed SonarQube because, contrary to item #5, I have installed Sonar, run all three components on the same laptop, and it worked just fine for multiple enterprise projects.
Burk
SCJP, SCJD, SCEA 5
Voted JavaOne Rock Star in 2010 and recognized as a Java Champion in 2020.
"Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)