Hello Groupdocs,
I am integrating GroupDocs.Viewer with my java application which is hosted on AWS and uses S3 for storing files.
First thing I noticed that GroupDocs stores information about original and cached files in sqlite database (in data.db file). This works when we have one app server. But what if I have multiple tomcat instances behind load balancer? Is there any ways to override/implement custom database storing instead of using sqlite in local filesystem?
The second question is related viewing existing files. I have a lot of files on S3. And I want to store cached file on S3 as well (I’ve implemnted custom AWS S3 cache handler). But I don’t want to re-upload them via GroupDocs uploadFileHandler. How can I specify GroupDocs.Viewer to cache and preview existing files?
I was looking into AmazonS3InputDataHandler but:
- looks like it should be present in sqlite database
- it based on original filename
Thanks
Andriy