baloise / this-or-that

With This-or-That, prioritizing is fun and fast.
https://baloise.github.io/this-or-that/
Apache License 2.0
10 stars 2 forks source link

Document Size CosmoDB max 2mb #146

Closed jordilaforge closed 5 years ago

jordilaforge commented 5 years ago

There is an error on prod wenn you want to persist the survey. ComsoDB ist supporting documents up to 2mb. But a whole survey is a lot more. Either we change to a different hoster or we refactor the application to safe images outside of a survey.

RCBiczok commented 5 years ago

Maybe Azure Blob would be an good alternative? https://docs.microsoft.com/de-de/azure/storage/blobs/storage-quickstart-blobs-java

On the other hand, if it is easy to get a File-System quota for the images, then saving them separately would be probably the most pragmatic solution for now. Especially if we consider switching the Cloud provider.

jordilaforge commented 5 years ago

yes I think so too we should save all image in a separate collection