Giter Site home page Giter Site logo

Comments (6)

mathdroid avatar mathdroid commented on September 14, 2024 3

Hi @wesbos, glad to see you here! It seems like an upstream problem, they seem to be currently down from my side too. If you have any idea on how to mitigate this I'm all ears! Meanwhile, I'll tighten the caching on the production site so they will get reduced load

image

image

from covid-19-api.

jperl avatar jperl commented on September 14, 2024 2

Seems like it's no longer a problem?

from covid-19-api.

jgbijlsma avatar jgbijlsma commented on September 14, 2024 2

Hi, I got the same problem for a lot of countries. Mainland China (CN) is one pretty important one.

from covid-19-api.

mathdroid avatar mathdroid commented on September 14, 2024 2

JHU changed some of the countries' names, including China. I have now fixed querying those countries by ISO codes. https://covid19.mathdro.id/api/countries/CN https://covid19.mathdro.id/api/countries/CHN

(Normal search was actually unaffected https://covid19.mathdro.id/api/countries/china)

@jgbijlsma

from covid-19-api.

mathdroid avatar mathdroid commented on September 14, 2024 1

I will close this as the issue from the title is resolved, will make another issue for data persistence. Tag: @jperl

from covid-19-api.

jperl avatar jperl commented on September 14, 2024

A simple thing to do would be to just cache everything in Postgres. Do a lot of the requests overlap?

from covid-19-api.

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.