twizmwazin / CardinalPGM

No fish is too big to fry
http://ci.twizmwaz.in/job/Cardinal/
MIT License
64 stars 47 forks source link

Database should be toggleable #219

Open hfoxy opened 9 years ago

hfoxy commented 9 years ago

The Database provided should really be off by default, and toggleable. That or other database options should be provided, by using an interface with many subclasses for different Database types. Storing player data in flat file will grow over time, and if the server is used a lot, it has the chance that the server may be slowed down by storing the large database document in RAM.

I can see that it is used for settings, and snowflakes, which personally I believe would be best stored in YAML, or in an actual Database, such as MongoDB or MySQL. Although ideally, for scrimmages, it should be off completely, unless of course you provide an open database for all Cardinal servers to use.

twizmwazin commented 9 years ago

I am aware of the weaknesses of the "database." I am looking at possibly having settings/snowflake/other stats stored remotely and acquired when a player logs in.

ghost commented 9 years ago

@twizmwazin like remote DB?

twizmwazin commented 9 years ago

@RubeGamerV perhaps

afeham commented 8 years ago

Is this being worked on?

Pablete1234 commented 8 years ago

@intenseoxygen more like the other way arround, database is now needed for ranks to work (in cardinal 1.9), moved all the data for who has what ranks to there, instead of the config-based saving that we had before

afeham commented 8 years ago

@Pablete1234 nice keep it up