Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library for performing queries over TUX database #3

Closed
FAMILIAR-project opened this issue Nov 18, 2020 · 2 comments
Closed

Library for performing queries over TUX database #3

FAMILIAR-project opened this issue Nov 18, 2020 · 2 comments
Assignees

Comments

@FAMILIAR-project
Copy link
Contributor

We have to split the work in two:

  • part of the team on the interface (everything HTML/CSS/JS) and integration of the queries
  • another part of the team on the development of a set of Python functions, parameterized, that implement the queries
    these functions can be called either via the server (and communication with the JS) or offline, to pre-calculate results.
    functions

I'm thinking of: count_kernels(version), count_errors(version), etc.
Basically a .py file with a lot of reusable Python functions: a library to query the TUXML database.

Who wants to be a developer of this file?

@FAMILIAR-project
Copy link
Contributor Author

TuxML/tuxml#18

@tartiflm
Copy link
Collaborator

Considering the slowness of the database we're working with, I'm going to add a "smart caching" system. This way, the server will take significantly less time to fetch fresh data, because the most performed queries would be automatically refreshed in the background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants