Giter Site home page Giter Site logo

Comments (6)

howardchung avatar howardchung commented on June 16, 2024 1

the SQL tables matches/player_matches only include pro matches due to capacity issues.

Pub matches are stored in Cassandra which has much more limited querying abilities.

from core.

howardchung avatar howardchung commented on June 16, 2024

Can you post a pointer to that code? Maybe there were performance issues or the feature was no longer needed

from core.

booshack avatar booshack commented on June 16, 2024

Line 3380 in /routes/spec.js.

Will revisit this in a little while btw!

from core.

howardchung avatar howardchung commented on June 16, 2024

f0a0245

Looks like I removed it six years ago but I don't remember why--I think it added a lot of Redis memory usage since it creates many many keys due to the number of possible hero combinations

from core.

howardchung avatar howardchung commented on June 16, 2024

It is possibly more feasible if we keep it pairs of heroes only and don't consider triads+

from core.

booshack avatar booshack commented on June 16, 2024

Oh I see I see thanks, yeah duos is enough I think.

Have also just learnt that the current matchups endpoint (spec.js line 3679) only looks at pro matches - would an attempt to make it consider all matches (and then filter with parameter time_period) be rejected?

Also, on the point that I'm a newbie, I don't understand what in the code makes it only look at pro matches...it seems to manipulate data from tables matches and player_matches, which include all matches no? Still making sense of it all to be honest haha

from core.

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.