Giter Site home page Giter Site logo

Comments (6)

hnykda avatar hnykda commented on July 21, 2024

We hacked around that by changing the filename up until now (that -v2 there). Sorry, I should have warned you: https://epidemicforecasting.slack.com/archives/C0100BY1EJZ/p1584368895020800?thread_ts=1584361377.006400 .

The reason why I selected GCS is that when the file was served by the BE, it was quite slow. Also GCS bucket is multiregional, so it's also faster from wherever.

Anyway, I added setting cache and making the files public via #122.

Do you think it's enough?

from covid.

gavento avatar gavento commented on July 21, 2024

Thanks!

  • 10 seconds may be too little for later loads. Maybe we should go for 60?
  • If anyone reloads the web between new upload and the caching param. updates, the default 1h timeout will be applied and most (but not all, depends on region) clients will see it for ~1 hour.
  • Can we trigger the pipeline without a push? (convenience)

from covid.

gavento avatar gavento commented on July 21, 2024

Maybe we should have an upload script that sets the cache params (with name, sharing etc.)?

from covid.

hnykda avatar hnykda commented on July 21, 2024

If anyone reloads the web between new upload and the caching param. updates, the default 1h timeout will be applied and most (but not all, depends on region) clients will see it for ~1 hour.

I was under an impression that we are going to update the files like once a day at most (and we are still quite far from that). And even if we did, I don't think users should know anything about us updating the model.

Can we trigger the pipeline without a push? (convenience)

No :-( . Devs can use git commit --allow-empty -m "wakey wakey GitHub Actions" && git push 👎

Maybe we should have an upload script that sets the cache params (with name, sharing etc.)?

We can, but you need proper permissions to be able to run that (that's why I put it in CI where the service account is ready).

from covid.

hnykda avatar hnykda commented on July 21, 2024

Also https://github.com/epidemics/covid#using-google-cloud-storage-for-the-web-assets

from covid.

hnykda avatar hnykda commented on July 21, 2024

I'm closing this, I don't think there is a way around this for now.

from covid.

Related Issues (20)

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.