#How would I link a roblox game to an external database?

174 messages · Page 1 of 1 (latest)

soft crow
#

I want to do something similar to rivals where queues are ran through a 3rd party which stores all of the data. I just need some advice on a couple of things.

  1. How would I send/recieve data? (I know its js http service)
  2. How would I use sent data from the roblox game to the database and organize it there?
  3. How would i request data from that database?
  4. Do I need to know another programming language to make the database work?
  5. What database should I use? This will be used for a global matchmaking system where data will be constantly changing and being sent.
jovial pier
#

The DataStore is a very nice solution, it makes it very easy without exposing you to the messiness

steel veldt
#

self host one

#

the once it works

#

you can upload it

jovial pier
#

Many solutions also offer free tiers for low processing

#

Which imo is a better testing environment

soft crow
#

well idk what to use

#

i have been looking around and i have no idea how to even start

jovial pier
#

I love mongodb but it can get a little pricey

soft crow
#

there are no forums on this stuff

jovial pier
#

A lot of ppl use fire base as a service

#

So they don't need to do much management

soft crow
#

do you need knowledge of another programming language?

jovial pier
#

I would say you should yeah

soft crow
#

sheet

#

uhh

jovial pier
#

You don't rly need to know a lot though

#

With your understanding you can learn C# or python or JavaScript or whatever

#

Enough to do basic stuff

soft crow
soft crow
#

where would i go to do smhtn like this

steel veldt
soft crow
#

and can it hold alot of data?

steel veldt
#

and use local host

#

you just need to get the matchmaking logic

soft crow
#

💀

#

entire game is cooked

steel veldt
#

then once you get everything working you can upload the software to an online server

#

since you don't need long term data

jovial pier
steel veldt
jovial pier
#

Most database solutions have a free tier

#

I highly recommend doing a free tier license

#

Test with network not local

#

Trust

quaint oracle
#

anyone mind helping me with my problem it got lost in the forum i made it last night

quaint oracle
#

just asking smh

jovial pier
#

Go back to the main channel

#

This is a channel for only 1 question

soft crow
#

what is the difference between network and local

jovial pier
#

You want your test environment to be as close to production as possible

soft crow
jovial pier
#

Whatever you make your endpoint

#

The difference is where the database is

#

Local means it's running on your computer

#

In production it will be running on another server ideally

#

Like a cloud server

soft crow
#

ok so i should js use the free tier temporarily and once its fully ready

#

upgrade it

jovial pier
#

That's what I usually do

soft crow
#

that makes alot of sense

jovial pier
#

You can also manage it yourself

#

It just depends how much manual work you want to do

soft crow
#

it makes more sense doing network

#

so what database should i use ideally?

#

before i upgrade it

#

i mean i want the same network before and after spending money

jovial pier
#

You don't HAVE to spend money

#

Database wise

#

It's just if you want it managed or unmanaged

soft crow
#

i mean once the game is released and if it makes money, ill upgrade it so it works with alot of people

jovial pier
#

You have to spend money on a server though

soft crow
jovial pier
#

Even some managed ones

#

The database service runs on a computer you pay for

#

Or you pay someone else for their database on their server

#

There are some free tiers for servers

soft crow
#

oh so ideally i should run it on my own so someone cant js destroy my entire game

#

but i can transfer it over later

#

for now i will js milk the free tier

#

So uhhh what do you suggest i use?

soft crow
#

my game is cooked

jovial pier
#

Like an outage?

soft crow
#

yes

jovial pier
#

Outages happen, it's unavoidable

#

That's one benefit of DataStore

#

They have a safer system

#

Because they can afford it

#

They pay AWS the big bucks

soft crow
#

well its safer, but it isnt better all around

jovial pier
#

You can mitigate it a few ways

#

This is a complicated process

soft crow
#

my game wont be entirel ydependant on global queue

jovial pier
#

I think you should explore using memory store first

soft crow
#

its supposed to be efficient as possible

soft crow
#

i do have an idea in mind

#

but i dont wana go to it

#

yet

jovial pier
#

You will need 3 separate servers to mitigate outages

#

Minimum

#

Ideally 4

soft crow
#

nah i aint got money for that

jovial pier
#

Yeah

#

That's what I thought

#

Lol

#

That's why DataStore should almost always be chosen

#

It's a great solution

#

I think ur overthinking your queue

#

Try running some volume tests in your current implementation

soft crow
#

ok ill do that

jovial pier
#

There is a reason roblox made the DataStore so easy

#

It was to make it so ppl didn't have to do all this lol

soft crow
#

true

jovial pier
#

It is a pain

#

I have done a fair share of it

soft crow
#

i trust u lol

#

u know alot

jovial pier
#

Appreciate it

#

@cosmic mirage also knows about databases if I remember correctly

cosmic mirage
#

hm?

#

oh yeah use data store if you can

#

dont do your own thing it is painful

jovial pier
#

What do you think is good for a w service

#

Q*

cosmic mirage
#

let me read the full convo, sec

#

queues? like matchmaking?

hardy nymph
#

why not just use roblox data store

jovial pier
soft crow
#

yes

jovial pier
#

Mongodb for rt processing

#

Is my flavor

#

In a high volume setting you would also want a separate queue service

#

But you don't need that

cosmic mirage
#

rivals uses an external system for that?

jovial pier
#

Apparently

jovial pier
#

I think most of the time external is overkill

soft crow
#

i got insider info

#

i know a guy who knows the rivals owner

#

and he apprently asked the question already

#

so he told me

soft crow
jovial pier
#

It adds a lot of complexity

#

That roblox nicely packs away for you

#

The question is simply

#

Does the budget bottleneck you

steel veldt
#

another game that uses external system is rush point pretty sure

jovial pier
#

Do you NEED httpservice

#

And does that have a higher lim

soft crow
#

but i would like it

jovial pier
#

Lol

soft crow
#

i do like learning and applying my knowledge

jovial pier
#

I mean as a learning project feel free

soft crow
#

also can someone give me s2 so i can have pro scripting access please

jovial pier
#

Yeah Hao give me s2

soft crow
cosmic mirage
#

wonder if theyre using open match

#

hmm

#

or maybe its custom idk

jovial pier
#

I can't imagine it's conplicated enough

#

Where they wouldn't customize the application layer

cosmic mirage
#

openmatch is the most overkill option tbh, its probably something similar

jovial pier
#

If they are making a fuckton of money

#

I would do that lol

#

Just take it out of my hands

#

Get me AWAY from ts