Quote:
Original post by Anonymous Poster
Finally, I still suggest using a very slow machine for the DB if you intend to use one. The distributed nature and latency issues caused by the slower machine, tend to help you:
actually, i plan on keeping the DB on the same machine as the game is running. this way no bandwith is used and acessing the DB is faster.
Quote:
1. Identify blocking issues early on. This is a common problem caused by making the assumption that you shoot off a DB request and sometime later "assume" that the data is ready to be used when it is actually still waiting. Good architecture can prevent this most of the time but getting to that point is the first worry.
you know, i guess i really dont know how much the inner workings of the MySQL C API work. however, i was assuming that when i called an update statement that the change was made as soon as i called the function Run_Querey("update table ..."). so then you dont think this is guarenteed to happen?
Quote:
One last item to mention. I don't suggest Linux as the starting point for the server *if* the client is going to be Win32. This is not meant to offend the Linux folks it is just a point of opinion. If you are writing a Win32 client with VC and have the server running under VC, you have a lot more flexibility in remote debugging options than you do with mixed OS's. This just simplifies life at the start, later you can port over to Linux, while not simple it's not devastatingly hard, but a single debugging framework helps significantly up front while building up the architecture.
thats actually a good idea. however the client IS planned on being cross platform. in fact, one of the reasons i wanted to use Linux was so i could compile the client on the server box since i dont want to dual boot my laptop. however i could always just port the client over at the last minute. i guess i thought that it would be easier to start porting sooner then later (im already 10 months into development and havent tried porting yet). i use all cross platform libraries and dont think i have any windows specific code in the game.
[Edited by - graveyard filla on January 31, 2005 1:49:46 PM]