Giter VIP home page Giter VIP logo

Comments (4)

lukasheinrich avatar lukasheinrich commented on June 17, 2024

another idea is using GitHub as storage, but not sure how difficult it is to sync back to server

from recast-flask-frontend.

lukasheinrich avatar lukasheinrich commented on June 17, 2024

@cbora, actually probably the nicest and easiest way would be it we would just hook up the request submission directly to ZENODO. In the control center we already have the response side hooked up to ZENODO and it would create a nice symmetry between request and response (also fixed DOIs for both)

see code example here:
https://github.com/recast-hep/recast-control-center-prototype/blob/master/recastcontrolcenter/backendtasks.py#L95

and actual API calls here:
https://github.com/recast-hep/recast-control-center-prototype/blob/master/recastcontrolcenter/backendtasks.py#L30

from recast-flask-frontend.

cbora avatar cbora commented on June 17, 2024

@lukasheinrich OK, I will switch to ZENODO if you think that's better. Though, I had already integrated AWS S3. Currently, I am looking into file naming strategy to avoid filenames collisions, and so far I think using uuid is the best solution. If you have a better one let me know.

from recast-flask-frontend.

lukasheinrich avatar lukasheinrich commented on June 17, 2024

we might still need local storage, since I'm not sure that the only storage we ever need is the request data, so it's good to have something additional to zenodo. Maybe the upload to zenodo can be done as an additional step after it was copied to amazon z3. Also, if we upload to Zenodo, we probably should have DOI fields in the database model for BasicRequests / PointRequests), should we have a new issue for that?

As for filenaming.. at least the request data should come with their unique request uuid (scan_request_id field / point_request_id). can't we use this to build a folder structure.

from recast-flask-frontend.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.