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

remove directly accessing nodes.json from queries #1

Open
Little-Ben opened this issue Jan 7, 2017 · 0 comments
Open

remove directly accessing nodes.json from queries #1

Little-Ben opened this issue Jan 7, 2017 · 0 comments

Comments

@Little-Ben
Copy link
Owner

Querying FFBot is currently done by two methods:

  1. directly accessing community's nodes.json
    This was the first approach and enough for simple queries without the
    need to store further data. This is used for all querries that do not
    deal with "node alarms".

  2. periodically import nodes.json to db and then query db
    For the later implemented feature "node alarms" it was necessary to
    store data, therefore I decided to use a database.

In future, all queries should be re-written to use the database instead of
directly accessing nodes.json.

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

1 participant