From 7158d9999041c233b1e3e3843af54aa5d2e1bcc3 Mon Sep 17 00:00:00 2001 From: "Krzysztof R." Date: Sat, 11 May 2024 15:05:30 +0200 Subject: [PATCH] feat: analytics service requirements --- docs/IndividualServices/analytics_service.txt | 12 ++++++++++++ docs/toDos/deployment_script.txt | 1 + 2 files changed, 13 insertions(+) create mode 100644 docs/IndividualServices/analytics_service.txt diff --git a/docs/IndividualServices/analytics_service.txt b/docs/IndividualServices/analytics_service.txt new file mode 100644 index 00000000..c8e0e371 --- /dev/null +++ b/docs/IndividualServices/analytics_service.txt @@ -0,0 +1,12 @@ +1. Receive data from database +2. Calculate data: + a) User Count + b) Movies Count + c) Rating Count + d) Total data size + e) "Hot" movies -> movies that received most ratings during last + week + f) System logs (keeps tracks of all messages exchanged by all services) + 1. timestamp (when was a message send) + 2. Message raw data +3. Send requests to frondend upon request diff --git a/docs/toDos/deployment_script.txt b/docs/toDos/deployment_script.txt index 028307af..27b9ed12 100644 --- a/docs/toDos/deployment_script.txt +++ b/docs/toDos/deployment_script.txt @@ -22,3 +22,4 @@ Decide: Google Cloud +We have google accounts anyway What technology for script (Ansible?) +