What is the recommended Hardware for Artifactory?

Nimer Bsoul
2021-08-31 09:06

 

Recommended Hardware for Artifactory – Single Server Machine:

Number of Developers

OS/JVM

Processor

Memory (RAM)

Heap

Storage

 

1-20

64 bit

4 cores

 

4GB

2GB

Fast disk with free space = x3 the total size of artifacts stored.

20-100

64 bit

4 cores

8GB

4GB

Fast disk with free space = x3 the total size of artifacts stored.

100-200

64 bit

8 cores
(16 cores recommended)

16GB

12GB

Fast disk with free space = x3 the total size of artifacts stored. (Backup SAN is recommended).

200-500

64 bit

12 cores
(16 cores recommended)

32GB

24GB

Fast disk with free space = x3 the total size of artifacts stored.

»  The table above assumes a build job equals 10 developers
​»  Memory requirement mentioned above is for Artifactory JVM heap

Storage Requirements:

It is recommended to have the storage locally on the same Artifactory machine or on the same LAN.

Recommended Hardware for Artifactory – High Availability:
 

Number of Developers

OS/JVM

Processor

Memory (RAM)

Heap

Storage

 

0-200

64 bit

2 X 4 cores

2 X 8GB

2 X 6 GB

Fast disk with free space = x3 the total size of artifacts stored.

200-500

64 bit

2 X 8 cores

2 X 16GB

2 X 12 GB

Fast disk with free space = x3 the total size of artifacts stored.

»  The table above assumes a build job equals 10 developers.
»  Memory requirement mentioned above is for Artifactory JVM heap.

Configuration Requirements:

In order to maintain high system performance in case of single/multiple server crash, hardware recommendation for an HA configuration is identical to the single server scenario (multiplied by the number of HA server instances)

Storage Requirements:

Requires Shared file system. Artifactory supports NFS (version 3 and 4), S3 cloud storage or HDFS.

Network Requirements:

100 Mbps/1 Gbps/ 10 Gbps network port (1 Gbps or above is recommended)

Artifactory Sizing Requirements – Database:

Database Requirements

Artifactory supports the following databases:

Derby – Derby is the default DB which is configured when installing Artifactory. (Not valid for HA)
MySQL – This requires MySQL version 5.5 and above with InnoDB.
Oracle – This requires Oracle v10g and above
Microsoft SQL –  This requires Microsoft SQL Server 2008 and above. PostgreSQL This requires PostgreSQL 9.2 and above.

  • »  Full DB setup is recommended only for Oracle and Microsoft SQL.

  • »  To avoid network latency issues when reading and writing artifacts data, it is highly recommended to create the database either on the same machine on which Artifactory is running (database engine and storage) or on a closed and fast network. This recommendation is critical when using fullDb (whereby files are served from database BLOBs) and the file system cache is small.

Artifactory Sizing Requirements – Servlet Containers, Java:

Servlet Containers:

Artifactory should be run only with its bundled Tomcat 8 servlet container.

Java:

For v 4.0.0 and above, Artifactory must run with JDK 8 and above, preferably JDK 8 update 45 and above.
Latest JDK can be found in here.

For versions below, Artifactory must run with JDK 7 and above, preferably JDK 7 update 60 and above.

Optimized JVM parameters for memory allocation can be found at: http://www.jfrog. com/confluence/display/RTF/System+Requirements#SystemRequirements- JVMMemoryAllocation