Performance and game-data statistics counter for tmwserv

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
Exceptionfault
Peon
Peon
Posts: 21
Joined: 20 Jul 2008, 16:46
Location: Germany
Contact:

Performance and game-data statistics counter for tmwserv

Post by Exceptionfault » 16 Dec 2008, 09:04

It would be nice to have an easy way to log several statistics and see their change over time. This could help solving performance issues or rebalance economy. Here are only a few possibilities of loggable characteristics:

ingame:
  • AVG gp per character
  • AVG exp per character
  • monsters killed by type
  • users per map
technichal:
  • traffic in bytes between game-server and account-server
  • logged on users
A preferred mechanism to store such an amount of values would be using the rrdtool (http://oss.oetiker.ch/rrdtool/index.en.html). Using the graphing mechanism allows us to create beautiful graphs about user growths or whatever. (http://oss.oetiker.ch/rrdtool/gallery/index.en.html) I wouldn't suggest storing those values in the database used by the account-server to separate real game data from the informational "overhead" data.

As logging those values and compiling rrdtool will cause some effort / overhead, logging should be an optional coponent of tmwserv using a compiler switch.
Never say: "Always"! Always say: "Never say never"! - Tom Kyte @ Ask Tom Live in Berlin 2008

Image
Post Reply