Export to PDF On-Premises requirements
To run Export to PDF On-Premises you need the Docker environment. Alternatively you can use CaaS available from your cloud provider, like: AWS ECS, Google GKE or Azure ACS.
There are many factors affecting Export to PDF On-Premises performance. The most influential are: the size of exported content, the size of images, and the number of concurrent requests. Also, because your application can prioritize fast response times, or it should handle high load, it is impossible to provide one recommended server specification, that will fit all use cases.
Assuming response time below 10 seconds, one server (2CPU 2GB RAM) with 1 docker container can handle:
- up to 40 concurrent requests with an average content of 1 A4 page (~1k characters and 1 image)
- up to 25 concurrent requests with an average content of 5 A4 pages (~7,5k characters and 5 images)
- up to 10 concurrent requests with an average content of 20 A4 pages (~30k characters and 20 images)
The above concurrent requests numbers are not a hard limit of Export to PDF On-Premises instance. It can handle more concurrent requests, but response time will be longer.
# High availability
One docker container with Export to PDF On-Premises benefits from additional CPUs on the machine. To scale your app on a single machine, you can increase the number of CPUs, however, we recommend scaling on at least three hosts to ensure the reliability of the system.
A load balancer, like HAProxy or NGINX (see the load balancer configuration examples in the SSL communication guide), is required for scaling on several machines. Of course, it is possible to use any cloud provider for scaling, like Amazon ECS, Azure Container Instances or Kubernetes.
Contact us if you have any questions about server resources needed for your use case of Export to PDF On-Premises.