Server Resource Requirements
PSPDFKit Server requires a certain amount of compute and memory resources to serve and process documents. However, the amount of resources used depends on many factors, including, but not limited to, the number of uploads, views, and editing users.
In general, PSPDFKit Server relies more heavily on CPU than on memory. The Docker container is likely to use RAM in the range of the lower hundreds of megabytes as a baseline.
CPU-intensive operations include rendering and preprocessing PDFs, and the output of these activities is cached either in memory or in Redis (if enabled). So depending on the distribution of files that are “hot,” this will change and might increase your requirements.
A good starting point is a server with 2–4 CPU cores and 4–8 GB of memory (e.g. a
c5(a).xlarge instance if you’re deploying on AWS). We don’t recommend using burstable instances: PDF rendering is CPU intensive, and burstable instances would quickly run out of CPU credits, making it more difficult to maintain acceptable performance.
When PSPDFKit Server saturates one of these resources and performance becomes unsatisfying, you can switch to a more powerful instance. To achieve better observability of your nodes, we recommend setting up metrics.