If Nextcloud could support a thumbnailing API, the thumbnail generation could be handed out to a small dedicated thumbnailer process. This dedicated process could scale out thumbnail generation how it wants, leading to accelerated generation of thumbnails. Because the process would be smaller and dedicated, it has the potential to be much more secure: it might only have read access to the content, and it could be locked down hard with SELinux.
If Nextcloud could support a thumbnailing API, the thumbnail generation could be handed out to a small dedicated thumbnailer process. This dedicated process could scale out thumbnail generation how it wants, leading to accelerated generation of thumbnails. Because the process would be smaller and dedicated, it has the potential to be much more secure: it might only have read access to the content, and it could be locked down hard with SELinux.