Giter Club home page Giter Club logo

Comments (10)

Fuyukai avatar Fuyukai commented on July 28, 2024

Oh yeah, this also means all 3 regions and 3 platforms will be available in one request, as well as taking shorter time due to fetching all regions in parallel.

from owapi.

andrewzah avatar andrewzah commented on July 28, 2024

So v3 will keep the new competitive: true field? Makes sense to cut down on the routes.

from owapi.

Js41637 avatar Js41637 commented on July 28, 2024

I'd assume it will return both quickplay and competitive stats in the one request (if available) and return all hero stats on a /heroes route.

Regions (and platforms) make things a lot harder. That's up to 5 requests for a single user to try and find their location not to mention some users are on multiple regions.

from owapi.

ifonefox avatar ifonefox commented on July 28, 2024

nginx can only take so much on an Atom

You're self-hosting this on a computer with an Atom Processor?

from owapi.

Fuyukai avatar Fuyukai commented on July 28, 2024
eyes@veriny /v/w/owapi.net$ cat /proc/cpuinfo | grep "model name"
model name  : Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
model name  : Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
model name  : Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz
model name  : Intel(R) Atom(TM) CPU  C2750  @ 2.40GHz

from owapi.

RomainPln avatar RomainPln commented on July 28, 2024

I agree all heroes stats together would help avoid 429 warnings.

from owapi.

andrewzah avatar andrewzah commented on July 28, 2024

When is v3 going to be merged in?

from owapi.

Fuyukai avatar Fuyukai commented on July 28, 2024

soontm

from owapi.

andrewzah avatar andrewzah commented on July 28, 2024

I'm not sure how I can contribute to v3, but if there's something I can do just let me know.

from owapi.

Fuyukai avatar Fuyukai commented on July 28, 2024

Well, I'm going to fix platforms and merge it to master tonight, then deploy it, so I need testers.

from owapi.

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.