MinoMino / minqlbot

An administration tool for the Quake Live client, extensible with plugins.
GNU General Public License v3.0
26 stars 10 forks source link

Possible switch to a client-server NoSQL database #14

Open MinoMino opened 9 years ago

MinoMino commented 9 years ago

Just thought I'd put this as a sort of warning, if you will. It's very likely I'll switch to a client-server NoSQL database when the Steam exclusive update hits. Why? Primarily for the following reasons:

At the time of writing, I'm leaning towards MongoDB, as I've worked with it before, has a first-party Python driver and has good documentation.

WalkerY commented 9 years ago

"The data in the current SQLite databases will be useless due nicknames not being unique identifiers, making this the perfect opportunity to make this change."

Why do you think so? I guess nicknames might not be 'main' unique identifier but I think they will be unique even after migration to steam exclusive. Also do you really think that current nicknames will be abandoned? Imo they will be migrated. It would be enough for current database to add new column with id.

Imho, saying current databases will be useless is far-fetched.

MinoMino commented 9 years ago

I guess nicknames might not be 'main' unique identifier but I think they will be unique even after migration to steam exclusive. Also do you really think that current nicknames will be abandoned?

Yes, I do think so. That's standard practice for well-integrated Steam games. The nickname will likely be whatever nickname you use on Steam. Not to mention, the little teaser sponge gave the other day:

Steam nicknames support unicode (and as opposed to the current system, whitespaces can be used freely), so that's likely the motivation for implementing that.

Imho, saying current databases will be useless is far-fetched.

Personally, I'd say thinking otherwise is far-fetched when it's clear they're looking to integrate the game with Steam and move away from their shitty infrastructure as much as possible.