![]() ![]() If you're looking to play with a friend, then you ask them the name of the game and the password. If you want to play, you make your own game and invite a friend. But I can tell you from experience you never look at the list of games unless you're going to troll. If you haven't played Diablo II, that might seem like a good reason. Why? So that all players in a region would see the same list of games when logging in. Blizzard designed this service so they could only have one of them. Well, no problem, right? Just like they have multiple databases, they can run a bunch of versions of this code and then scale it up with players! Blizzard mentions at the end of their post-mortem that they're going to work on this, but to be absolutely frank, this is a pretty rookie architecture mistake for modern web-dev.īlizzard says this piece of code is responsible for "game creation/joining, updating/reading/filtering game lists, verifying game server health, and reading characters from the database." That's basically everything but telling Baal to attack you. You might say, "Sure sounds like the regional database is the source of truth, and the global database is a backup," and friend, it sure as hell does. Then, at some point later, the regional database saves it to the global database. Basically, when something happens in your game (like you pick up the Zod rune), Blizzard saves it to your regional database. You're confused because this architecture is confused. They call their global database "the single source of truth for all your character information," and yet they also say, "most of your in-game actions are performed against regional database… and your character is 'locked' there to maintain the individual character record integrity." So there's one source of truth… but it's not where most of my actions are saved? And the other source has more character integrity? Doesn't that make the other source … the truth about my character? Huh? If you read their technical brief, you may be a bit confused as to which is more important. Blizzard stores your character in two different places- your regional database and a global database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |