You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if multiple requests are made close to each other that require using Mojang or Hypixel APIs, multiple requests are sent. For example when viewing uncached player's stats via Slothpixel UI, 2 requests are sent to Mojang API resolving the username. This behaviour has many disadvantages - rate limits & resources are used unnecessarily.
Ideally when this happens, only one request is sent and the other data consumers wait for the original API response.
The state should be managed with redis for example, allowing multiple web instances to coexist sharing the mutex.
The text was updated successfully, but these errors were encountered:
Currently if multiple requests are made close to each other that require using Mojang or Hypixel APIs, multiple requests are sent. For example when viewing uncached player's stats via Slothpixel UI, 2 requests are sent to Mojang API resolving the username. This behaviour has many disadvantages - rate limits & resources are used unnecessarily.
Ideally when this happens, only one request is sent and the other data consumers wait for the original API response.
The state should be managed with redis for example, allowing multiple web instances to coexist sharing the mutex.
The text was updated successfully, but these errors were encountered: