Too many calls to /api/wow/shoppinglist and /api/wow/export
cohenaj194 opened this issue · 2 comments
an someone look into the app and see if we are making unneeded calls to /api/wow/shoppinglist and /api/wow/export?
Here are the top 34 API endpoints by frequency in the data. It appears that there are only 34 unique API endpoints in the dataset:
/api/wow/export
: 23,940 occurrences/api/wow/shoppinglist
: 13,840 occurrences/api/undercut/
: 8,528 occurrences/api/history/
: 7,129 occurrences/api/listing/
: 4,640 occurrences/api/wow/uploadtimers
: 4,289 occurrences/api/pricecheck
: 3,384 occurrences/api/salealert/
: 2,396 occurrences/api/wow/itemstats
: 966 occurrences/api/scan/
: 464 occurrences/api/quantitycheck
: 282 occurrences/api/v2/craftsim
: 268 occurrences/api/ffxivmarketshare/
: 264 occurrences/api/wow/itemdata
: 246 occurrences/api/wow/bestdeals
: 161 occurrences/api/wow/pricecheck
: 93 occurrences/api/wow/scan
: 68 occurrences/api/wow/undercut
: 57 occurrences/api/export/
: 55 occurrences/api/wow/itemnames
: 35 occurrences/api/v2/shoppinglist
: 26 occurrences/api/wow/quantitycheck
: 23 occurrences/api/wow/commodityfutures
: 22 occurrences/api/wow/single
: 20 occurrences/api/seller/
: 13 occurrences/api/wow/legacymarket
: 13 occurrences/api/wow/listings
: 12 occurrences/api/wow/commodity
: 11 occurrences/api/wow/regionundercut
: 7 occurrences/api/selfpurchase
: 5 occurrences/api/parseallagan
: 5 occurrences/api/wow/petmarketshare
: 3 occurrences/api/wow/megaitemnames
: 1 occurrence/api/bestdeals
: 1 occurrence
This list includes all unique API endpoints found in the dataset, totaling 34 rather than 100.
so undercut, history, listing, upload timers, price check and the other alert/check apis make sense those are triggered by the bot or data population
Our top page is the ffxiv reselling search aka /queries/fullscan
so 13000 a month is about 450 per day which seems right for our top page
i cannot figure out wtf is calling the other wow apis so much
So it seems that someone or something is requesting the same 614
items over and over again. I wonder if this is a direct api user or someone who made a wow app. I'm going to start logging this and see.
https://github.com/ff14-advanced-market-search/Aetheryte/pull/256
Figured ths one out it was one user just making lots of calls, easy fix was to just change the api ending and add an x