Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Using Dropbox for json

Discussion in 'General Discussion' started by pKallv, Jun 21, 2023.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    I am developing a webGL non-game golf application where the users will have a number of json's with data that will be downloaded when they start the app and uploaded when they save. Not really any performance requirements.

    The json's are pretty small and the traffic is not heavy per user.

    I am looking at some solutions to store the json-data in the cloud and dropbox popped up.

    My question is if this is a good and efficient solution for a non-performance file upload/download?

    Any other suggestions?

    I have tested UniRest, which I find good except that the data is stored on a WordPress site. I also looked into Oracle as they have a very generous Always Free option.
     
  2. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    1,833
    If the files are really small, and you can work out the Dropbox API calls properly, it's a workable solution. You need to be careful about how much space remains on small devices and cloud storage accounts; if you fail to write the file due to lack of space, and the user cannot just retry/reshuffle their account at the moment to fix it, it could prove disastrous. Always keep the old version, save the new version, decommision the backup once the new version is confirmed.

    And I really would be skeptical of anything that has "Oracle" and "free" in the same sentence. They're in the top 5 predatory software list as far as I'm concerned. "We pinky-promise it's free(*)" always ends up reduced as soon as they think you depend on them.
     
    pKallv likes this.
  3. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    881
    Have you considered Unity cloud save? Or a simple Azure blob storage account?

    DropBox is simply not designed to be a storage layer for applications.
     
    DebugLogError, Ryiah and angrypenguin like this.
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,874
    S3 storage for this would cost less than a dollar a month and would be my go to for this sort of thing
     
    angrypenguin and Ryiah like this.
  5. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    I am looking into that.
     
  6. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    I know Oracle has a bad reputation but I have looked at S3 vs Oracle Autonomous Database and it seems like Oracle is cheaper on top of the always free option.
     
  7. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,082
    I played around with the calculator for a while and Oracle Autonomous Database isn't likely the one you want as it's very expensive even if you choose to use a JSON-based database. Object Storage appears to be the equivalent to Unity Cloud Save and is very affordable.

    https://www.oracle.com/cloud/costestimator.html
     
    Last edited: Jun 29, 2023
    pKallv and MadeFromPolygons like this.
  8. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    I agree but when using the always free version I cannot find any other solution with as much space.