-
Notifications
You must be signed in to change notification settings - Fork 4
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
refactor the indexer #726
Merged
Merged
refactor the indexer #726
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
20ee9d7
convert indexers to watchers in a mono indexer
Omarabdul3ziz 5e4787d
use a single rmb client of type peer.RpcClient across the project
Omarabdul3ziz 7cde9d7
configure starting/stoping indexer/modifier from flag
Omarabdul3ziz 4c14d01
wip: introducing the dmi watcher
Omarabdul3ziz fb32310
upsert dmi on database
Omarabdul3ziz 606f301
add network speed watcher
Omarabdul3ziz 8ae0a14
implement an Scanner/Valuer interfaces for custom gorm jsonb types in…
Omarabdul3ziz 6f01097
fix network speed types
Omarabdul3ziz a2ec728
add triggers for dmi/speed tables
Omarabdul3ziz fae4ee7
add generators:
Omarabdul3ziz 23645c4
add loader/tests for the new dmi/speed data
Omarabdul3ziz 5fcf9e3
make the interval/worker configurable
Omarabdul3ziz 7e6c246
Merge branch 'development' of https://github.com/threefoldtech/tfgrid…
Omarabdul3ziz 2398e23
stop data modification, remove unnecessary conversion, silent the gor…
Omarabdul3ziz 1e38b61
Merge branch 'development' of https://github.com/threefoldtech/tfgrid…
Omarabdul3ziz dca941c
refactor the indexer manager to implement a unified interface for ind…
Omarabdul3ziz 20de686
Merge branch 'development' of https://github.com/threefoldtech/tfgrid…
Omarabdul3ziz ee9a31b
clean & complete some missing parts:
Omarabdul3ziz 708df2e
update mod files
Omarabdul3ziz cd2ae9a
Merge branch 'development' of https://github.com/threefoldtech/tfgrid…
Omarabdul3ziz ad4d979
silent the gorm logs in dump data generation
Omarabdul3ziz 2db2a21
abstract the indexer pkg code using generics
Omarabdul3ziz 119a62a
Merge branch 'development' of https://github.com/threefoldtech/tfgrid…
Omarabdul3ziz e068289
remove already merged trigger on node_gpu
Omarabdul3ziz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering why do we need multiple indexer workers to query things from nodes, can't we have a single set of workers that they ask the node for the same thing for everything?
I mean i see here, dmi-indexer-workers, gpu-indexer-workers, speed-indexer-workers (whatever that means), etc...
This is just a question, not request for change