I have a couple of questions concerning browser based games. Not the flash type, the ones that use web pages as their interface.
- Would it be necessary to have each component run in a separate process? Components could be, for example, the main game logic, login/registration and leaderboards. Should I worry about the overhead of having some users requesting a battle outcome while others are trying to register?
- Is it wise to worry about the images the server sends to the client and the bandwidth overhead or should I let the clients browser cache worry about it?
- Is writing my game's server in C++ or similarly low level language going to create more problems than speed issues it solves? Would I be better off sticking to something like PHP for example?
- Is this 'plan' feasible? Start with shared hosting and gradually upgrade to VPS and dedicated hosting as my game grows and I need more power.
- How would I calculate a handy figure that shows the "cost per month per player?" This would give me the cost of hosting the game for a month for every player I have. It would facilitate my hosting upgrade decisions. Do I really need to be concerned with this?
- Are there any other 'big' issues with creating browser based games concerning speed and web hosting that I should know about
I hope that these questions aren't too vague and hard to answer.