What size server does searchcode server require?

The recommended server depends on how many repositories you are planning to index and the size of them on disk. While searchcode server can scale from Atom netbooks to Xeon CPU's know what you need is a matter of knowing the number of repositories and their size on disk. The below are a list of things to keep in mind.

  1. You will need 20% extra disk space on top of the size of all the repositories you want to index.
  2. Use as fast a disk as possible. SSD drives are ideal for searchcode server.
  3. If you have many CPU's and repositories increase the values number_git_processors number_svn_processors and number_file_processors.
  4. If using a t2 instance type from AWS you will want to configure CPU usage to avoid using all the credits
  5. Generally only large amounts of RAM are required if indexing very large repositories. 8 Gb is usually more than enough for most installs, but searchcode server can be configured to use less RAM if required.
  6. If in doubt faster CPU and Disk is the best option.

The following are examples of several machines configured to run searchcode.

searchcode server demo
7+ repositories.
Total size on disk ~1.5 Gb.
Multi-tennant VPS instance.
1 CPU, 256 Mb RAM.

600+ repositories.
Total size on disk ~300 Gb.
AWS VPS.
AWS t2.large instance.
99% of queries return in less than 1 second.

1 repository.
Total size on disk ~1000 Gb.
Dedicated instance.
Dedicated machine with 32 Gb RAM and 8 CPU's.
99% of queries return in less than 1 second.

Productivity through code search.

Try searchcode server for Free