-
Notifications
You must be signed in to change notification settings - Fork 3
Refactor Processing Pipeline #21
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
Open
FranciscoLozCoding
wants to merge
117
commits into
main
Choose a base branch
from
feature-retry-mechanism
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+5,253
−279
Conversation
This file contains hidden or 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
…, Prometheus, and Flask
…Redis data directory
… in Docker and Kubernetes
…nd update supervisord.conf command to run as a module
… task reliability
…main__ block and change Celery log level to debug for improved visibility
… message format for improved log readability
…oved logging flexibility
…mproved task management
…ask submission method for improved queue handling
…update task submission method for data monitoring
…rvals based on data availability, reducing idle traffic and improving responsiveness.
…stream configuration from supervisord.conf
…n in watch command since it's not being used
…r improved task scheduling
…he last 10 minutes
…he last 5 minutes
…y timestamp handling for data queries
…e entries by adding a second to the last timestamp
…ata queries by adjusting the start time and clarifying comments.
…onitor_data_stream to enhance visibility of the process.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces a major refactor and enhancement to the
weavloaderservice in the HybridSearch example, transitioning it to a more robust, scalable, and maintainable architecture. The changes include containerization updates, a switch to a Celery/Redis-based job system for image processing, modularization of inference/model code, and improved logging and monitoring capabilities.Job System & Task Management
job_system/celery_config.py. Periodic and retry settings are included for robust task handling.Inference & Model Modularization
inferencepackage, with a clear__init__.pyand improved logging for error/debug messages. The oldmodel.pyis renamed and reorganized asinference/model.py.Image Processing Improvements
process_single_image_datafunction todata.pyfor handling individual image ingestion and metadata extraction, improving error handling and modularity.data.pyto use the newinferencepackage structure.Monitoring & Metrics
metricspackage with methods to start a metrics server and retrieve metrics, supporting observability for the service.These changes lay the foundation for scalable, parallelized image processing and monitoring, and make the codebase easier to maintain and extend.