CardinalPGM icon indicating copy to clipboard operation
CardinalPGM copied to clipboard

Database should be toggleable

Open hfoxy opened this issue 10 years ago • 6 comments

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.

hfoxy avatar Feb 20 '15 16:02 hfoxy

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.

twizmwazin avatar Feb 20 '15 16:02 twizmwazin

@twizmwazin like remote DB?

ghost avatar Mar 01 '15 09:03 ghost

@RubeGamerV perhaps

twizmwazin avatar Mar 01 '15 15:03 twizmwazin

Is this being worked on?

afeham avatar Mar 23 '16 17:03 afeham

@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

Pablete1234 avatar Mar 23 '16 18:03 Pablete1234

@Pablete1234 nice keep it up

afeham avatar Mar 23 '16 18:03 afeham