dsp-api icon indicating copy to clipboard operation
dsp-api copied to clipboard

Define a baseline configuration for Knora

Open subotic opened this issue 7 years ago • 0 comments

Currently, we have a fairly arbitrary configuration for Knora defined in application.conf. I would like to specify different scenarios, which can be used to create a baseline configuration for Knora.

I would suggest the following baseline hardware configuration for running the Knora stack:

  • Graphdb server with 2 GB of RAM and 1 CPU Core (our dev license only supports 1 core)
  • Knora server with 1 GB of RAM and 2 CPU Cores
  • Sipi Server with 1GB of RAM and 1 CPU Cores

Running services inside Docker allows us to restrict the memory and CPU available to the service. The hardware configuration is intentionally small because this should be able to run on the developer's machine.

The base scenarios could be:

  • Scenario 01: 1 user running the infamous BEOL import
  • Scenario 02: 1 user creating an incunabula book with 100 pages, while 9 other users access existing books

Both scenarios could then be scaled up, e.g., 5 users running imports at the same time or 5 users creating a book while 45 other would try to read, and so on. It will be interesting to see what the breaking point is going to be.

The tests themselves will be in this repository.

subotic avatar Aug 16 '18 09:08 subotic