From f4012dd6af183998320b89bbdcb636b5dc71c133 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Tue, 20 Aug 2024 18:12:51 -0400 Subject: [PATCH] Spark Notes. Adjusted scripts for directory change for Walmart. --- .../Walmart/caching-meeting-82024.md | 22 +++++++++++++++++++ Scripts/Walmart/Spark/combine_to_pdf.py | 2 +- Scripts/Walmart/Spark/single_resource.js | 4 ++-- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 CustomerNotes/Walmart/caching-meeting-82024.md diff --git a/CustomerNotes/Walmart/caching-meeting-82024.md b/CustomerNotes/Walmart/caching-meeting-82024.md new file mode 100644 index 00000000..08f4c472 --- /dev/null +++ b/CustomerNotes/Walmart/caching-meeting-82024.md @@ -0,0 +1,22 @@ +Walmart Caching Meeting + +* Points about where drop is occurring - DMS or... App? (Unsure what this means) +* Ece confirmed that this is happening from DMS - awaiting a team member to join +* Rafi stressed importance of AE and that this _cannot_ occur during AE. +* Sanjeev is not from DMS team but showed us the app and HelpMenu. I explained where the caching is needed. +* Caching is not needed on webview but on the course list show prior to webview. +* Jess brought up important point that there would need to be caching per driver per category (possibility of tens of cached results) +* Minal and Harbiner from DMS joined the call and we went over the same items. +* Minal disagreed that caching would solve this. We explained the last P0/P1. +* DMS team thinks the increase in traffic are real users coming to help center due to outage. + * We will need to confirm if the numbers are "real". Norm to ping Krystal to get confirmation of numbers. +* Ece needs to confirm with Eng how long any of this will take and if it's possible before code freeze. +* Possible "middle of the road" solution: + * Walmart to implement caching for /helpMenu courses + * Northpass to increase load workers during AE +* Remaining questions from Northpass: + * Sandeep saw the 499 requests in logs and the connections were cut _way before_ the 5s timeout. This is something odd on the WMT side. + * If the traffic is from real drivers, why do all the logs during the P1 show "WARN" (yellow) instead of the regular green, normal calls. +* Walmart team to confirm numbers of drivers during outage that landed on the helpmenu. +* Walmart team to estimate how long it would take to implement caching. +* Norm to email Walmart team after speaking with our engineering team about increases worker load during AE. diff --git a/Scripts/Walmart/Spark/combine_to_pdf.py b/Scripts/Walmart/Spark/combine_to_pdf.py index 9c34d67f..9fa374df 100755 --- a/Scripts/Walmart/Spark/combine_to_pdf.py +++ b/Scripts/Walmart/Spark/combine_to_pdf.py @@ -4,7 +4,7 @@ import re import os from datetime import date -currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Walmart/" +currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Walmart/Spark/" def find_pictures(currentdir): files = [] diff --git a/Scripts/Walmart/Spark/single_resource.js b/Scripts/Walmart/Spark/single_resource.js index 05b956e2..f8601b76 100644 --- a/Scripts/Walmart/Spark/single_resource.js +++ b/Scripts/Walmart/Spark/single_resource.js @@ -8,8 +8,8 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe" // Luminate Production ^ const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241"; const groupIds = [ - '16330ea4-99c0-42c5-bf48-1195a53f70af', - 'bb848266-a203-4863-bc5e-c01f910ecd70' + 'efdfb1a5-58c8-4fd4-a31c-60946e73b6ed', + '563b97ed-6d1f-4fd9-a9eb-82842e13468e' ] const getAllGroups = async (num) => {