On this iteration, I'd refactored the last version of monitoring/monitoring_app.py . Main changes:
Application changed from multi-tab to multi-pages to allow having multiple sidebars.
Streamlit experimental cache primitives have been implemented instead of session states to improve application performance.
New pages had been added: "Leaderboards" and "Product Ranking", contain new visualizations and data frames.
On database/connection.py new queries had been added to serve streamlit app.
Name update in monitoring/Dockerfile
Now the app will just update cache once a week to avoid slow loading for all users. Although I tried to improve queries for leaderboards, it still takes sometime to load for the first time because it reviews all unique products in the database and calculate scores for products with credibility, ideas to improve related functions are welcome :)
On this iteration, I'd refactored the last version of monitoring/monitoring_app.py . Main changes:
Now the app will just update cache once a week to avoid slow loading for all users. Although I tried to improve queries for leaderboards, it still takes sometime to load for the first time because it reviews all unique products in the database and calculate scores for products with credibility, ideas to improve related functions are welcome :)