ff14-advanced-market-search / saddlebag-with-pockets

This is the Frontend for the FF14 Marketplace

Home Page:https://saddlebagexchange.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too many calls to /api/wow/shoppinglist and /api/wow/export

cohenaj194 opened this issue · 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:

  1. /api/wow/export: 23,940 occurrences
  2. /api/wow/shoppinglist: 13,840 occurrences
  3. /api/undercut/: 8,528 occurrences
  4. /api/history/: 7,129 occurrences
  5. /api/listing/: 4,640 occurrences
  6. /api/wow/uploadtimers: 4,289 occurrences
  7. /api/pricecheck: 3,384 occurrences
  8. /api/salealert/: 2,396 occurrences
  9. /api/wow/itemstats: 966 occurrences
  10. /api/scan/: 464 occurrences
  11. /api/quantitycheck: 282 occurrences
  12. /api/v2/craftsim: 268 occurrences
  13. /api/ffxivmarketshare/: 264 occurrences
  14. /api/wow/itemdata: 246 occurrences
  15. /api/wow/bestdeals: 161 occurrences
  16. /api/wow/pricecheck: 93 occurrences
  17. /api/wow/scan: 68 occurrences
  18. /api/wow/undercut: 57 occurrences
  19. /api/export/: 55 occurrences
  20. /api/wow/itemnames: 35 occurrences
  21. /api/v2/shoppinglist: 26 occurrences
  22. /api/wow/quantitycheck: 23 occurrences
  23. /api/wow/commodityfutures: 22 occurrences
  24. /api/wow/single: 20 occurrences
  25. /api/seller/: 13 occurrences
  26. /api/wow/legacymarket: 13 occurrences
  27. /api/wow/listings: 12 occurrences
  28. /api/wow/commodity: 11 occurrences
  29. /api/wow/regionundercut: 7 occurrences
  30. /api/selfpurchase: 5 occurrences
  31. /api/parseallagan: 5 occurrences
  32. /api/wow/petmarketshare: 3 occurrences
  33. /api/wow/megaitemnames: 1 occurrence
  34. /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

image

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