Hey everyone, quick question.
When doing HTTP requests, seems that in a local server (Using Studio) the limit per minute is 20 requests? and when in real server of Roblox are 500 per min?
Thats correct?
Hey everyone, quick question.
When doing HTTP requests, seems that in a local server (Using Studio) the limit per minute is 20 requests? and when in real server of Roblox are 500 per min?
Thats correct?
I did some tests and the results came up like this:
2000 per minute in Studio!?.. Makes no sense for me.
Could you send the code you used to get those results please?
That would make sense. Same goes for Datastores, Studio limits have been uplifted for development & plugin purposes.
I just tested it… you guys are right @Cloudy71 @BenMactavsin, its 500 for live server and 2000 for studio.
I thought it would be the opposite… But yeah as you said makes sense.
What about a roblox API? like idk, Players:GetFriendsAsync() ?
It seems like its only 20 requests on Studio, I know its different calling a roblox api, but, I just have doubts while testing this
Some other endpoint might have different limits based on their complexity. I believe GetFriendsAsync
is one of these complicated endpoints since it must return an array of player ids which are connected with target player id.
These API calls can be called outside Roblox server as well, which means that regular REST limitations could apply to protect backend from being overwhelmed.
Thank you for your reply!
I think Im starting to understand it.
Actually I started to test it, and Im getting funny readings about this (to me)…
When testing GetFriendsAsync()
from Studio and from live Server, studio wont allow me to do more than 20 requests always, but, in live Server, it start to throttle at certain point and never reaching the limit due to the throttling. I think I should split the request into different threads at the same time to really reach the limit I guess.
To me, its weird that HTTP requests in studio are uplifted vs live server, while roblox APIs are downgraded at the point of only being able to do 20 requests per minute vs live server that it never reach the limit due to throttling (only one thread running). I need to perform more tests.
About this:
But if Im not taking in count the response on http requests, does roblox APIs takes in count the complexity when only the server is asking and it doesnt care about the reply? (hope that makes sense…)
I never ran into issues with this topic, Im just testing capabilities/limits that I want to know, thank you for your replies!
HTTP request must always have a response, their backend doesn’t really care about your intentions with the endpoint, it provides answer or throttles it if there were too many request from same IP. The backend doesn’t take in count if the IP is from an user or their game server, it will be cancelled/throttled anyway.
Also why HTTP requests from StudĂo are uplifted is because the HTTP requests are coming from your machine. This means that they won’t limit you if you have your own API somewhere hosted and you’re somehow working with it. But if you’re calling any API from game server, it does matter to them, because it’s their server and their resources.
So let’s get it straight:
Im reading your reply on a loop, and kinda makes sense, at the same time im still confused on many stuff related to this…
Thank you so much for clearing these points, i think i need to get some rest and put pieces together (and research…) cause i dont quite get it. Again thank you so much for the replies, it helps me a lot! I’ll get it over time
Studio will differ between devices as studio uses your IP which handles a different amount of requests.