mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
23 lines
1004 B
ReStructuredText
23 lines
1004 B
ReStructuredText
Scaling
|
|
=======
|
|
|
|
AppAPI delegates the scaling task to the ExApps itself.
|
|
This means, that the ExApp must be designed in a way to be able to scale vertically.
|
|
As for the horizontal scaling, currently, it is not possible.
|
|
Except, for example, the Server-Workers architecture, is a good way to support basic scaling capabilities,
|
|
where the Server is your ExApp and the Workers are the external machines that can work with the ExApp
|
|
using Nextcloud user authentication.
|
|
Aadditional clients (or workers) can be (optionally) added (or attached) to the ExApp
|
|
to increase the capacity and performance.
|
|
|
|
|
|
GPUs scaling
|
|
------------
|
|
|
|
Currently, if Deploy daemon configured with GPUs available,
|
|
AppAPI by default will attach all available GPU devices to each ExApp container on this Deploy daemon.
|
|
This means, that these GPUs are shared between all ExApps on the same Deploy daemon.
|
|
Therefore, for the ExApps that require GPU and uses it heavily,
|
|
it is recommended to have a separate Deploy daemon (host) for them.
|
|
|