I’ve been wondering over ways that I could build a master server. If you don’t know what a master server is, it’s a server that contains a list of servers that other servers poll to get the server list read that five times fast. What with me being a poor college student and not being able to afford to pay for an actual dedicated server, I came up with an idea; use a database to store server names.
I’ve had very minimal experience with MySQL, but I know that it is a database and it can store things in tables. Hostable, the very nice (and free) hosting service I’m using to run this website, offers free MySQL databases, so the price tag at least is taken care of; the only question that remains is: is it possible? The only MySQL application I’ve ever written was a little signup for a WoW private server I ran for about two weeks and then retired (for more lack of dedication, see BookReaderHD). I’m wondering if it’s even possible to use C++ and MySQL together like this. I did a bit of research (read: searching on google) but I found nothing; I guess I’ll just have to find out myself.
There’s voice in my head that says “Collision is the real problem you have to fix;” be quiet, I’ll get there, ok?