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.
A midrange multi-core server CPU should be enough to handle multiple thousands of concurrent editing users. 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
t3.large 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.