generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Advice: HTTPService or Data Stores?

Previous Thread :: Next Thread 
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
18 Jan 2015 01:02 PM
I am making a universe. If it were to get on the front page, it would need to have hundreds of thousands of planets to seem like a legit universe.

All servers need to have the same planets, but only planets nearby the player will spawn. Planet data will be stored in a table like so:

local planet = {
int size,
color3 color,
vector3 position,
boolean rings
}


I need advice on how to store this data. Data Store or HttpService? I have a webserver and can use http, but I'm afraid of overloading the server if too many people are playing.

And Data Store seems limited, I know you can store virtually unlimited data in it but how? I imagine that saving 500,000 tables like above in one giant table would cause problems, would it not?
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
18 Jan 2015 01:03 PM
DataStores
Report Abuse
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
18 Jan 2015 01:05 PM
If I use DataStores, I will have to save everything into one master table.
That's going to be a big table. Are we 100% certain that won't cause issues?

And, I'd need to update that table pretty frequently, as people will change the colors of their planets for example.
Report Abuse
DeviousDeviation is not online. DeviousDeviation
Joined: 28 Dec 2010
Total Posts: 9306
18 Jan 2015 01:13 PM
why use a table? just keep the planets in server/replicated storage

⬡
Report Abuse
BowtieMod is not online. BowtieMod
Joined: 01 Apr 2013
Total Posts: 804
18 Jan 2015 01:29 PM
Generate them on the go
Store the seeds and generate from them

I would recommend HttpService because DataStores seems fickle and prone to failure
Report Abuse
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
18 Jan 2015 01:46 PM
Thanks for suggesting seeding, Bowtie. I will go with this method, and use HttpService to save/load changes to the generated planets.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image