Using HTTP Requests To A Database

Hey owners or devs… I really… really recommend using a server outside roblox as a database hoster using http
POST and GET
It works if you have a ok server doesn’t need to be gold stranded but here are my results after testing this

In the last day

And in the last 30 days

( With around 400+ games sending a request every join and leave with their own respectful amount of players playing each game )

My server would get a total 3 to 7 million or more requests a day for 30 days that ended up being 82 million. Checking over my server it handled it very… very well with no data lose nor issues

So if you want to try it out yourself you can.

— This would open your game up to things like updating users game saves without opening up studio
or using other tools like discord bots, a global player data table etc. Possibilities are endless. —

Note, this does involve some server backend coding I use php, sql

But you can use what ever you like.

Make sure you use the proper tools and security ( Web )

Just make sure you can afford a server to run some are very inexpensive.


Using this for a RPG game what would a player table look like?

Here is an example

https://api.yulxvol.com/playerdata?uid=9417418

What would updating this table look like

here is a docs I made for my developer working on my own game,

https://api.yulxvol.com/doc/

UNDER POST PLAYER DATA

5 Likes

What server company did you use and how much are you paying or is it your own one?

1 Like

I am using a USA company called: dacentec

And I am using a custom package from them, tho they do very cheap deals.

Thanks, I am trying to do a similar thing however I am struggling to understand how to receive the http requests on the server. Do you think you could help?

2 Likes

How many cpu cores are you using for that many requests per day or do you have a cluster?

Message me via discord ill help you as much as I can,

IAmVolvic#7032

I was using 4 cores for this test.

Looks great. I do have some questions.
Any other reasons you deemed Datastores not good enough or unfit?
Do you have a paid Cloudflare plan?
Which SQL implementation are you using?

This is just a recommendation.

My plan is free on Cloudflare, I am using a stack of PHP, SQL, APACHE

2 Likes

The problem with using other companies for saving data in Roblox games is because you will probably end up paying for both anyway. Even though you don’t directly pay Roblox, you do pay them. When your games make a profit, they take a piece of your profit and put it towards server management for everyone, whether you use it or not. So by using another company to save game data, you would probably end up paying for both Roblox’s datastores and the company of your choice.

1 Like

Very good point, keep this in mind as well with the tax of DevEx. I am using this because Is affordable and I have many uses for it.

For example I have had my server for almost 4 years no issue. And having the data on hand I can also use it to make updates/changes/edits/etc without any hassle for myself Tho you would need to learn some SQL querying tho its not that hard.

1 Like

Using a third party for data storage is easier as there are less limitations and more things can be done with the data on the server side

1 Like