View previous topic :: View next topic |
Author |
Message |
tekrice
Joined: 05 Feb 2005 Posts: 2
|
Posted: Sat Feb 05, 2005 18:31 Post subject: Server Load Issues |
|
|
How much bandwith does the DB connectivity use up on a server? if I wanna use NWNX to see players online, stats, etc? Like how much of a burden does it put on a server??? |
|
Back to top |
|
|
NoMercy
Joined: 03 Jan 2005 Posts: 123 Location: UK
|
Posted: Sat Feb 05, 2005 19:14 Post subject: |
|
|
If your running MySQL for example on the same server, it doesn't take up any bandwidth. The load requirements on the server depend on the ammount of data you store and how you store it, using the tables and functions inclued in the ODBC distribution should require very little processing time.
SQL like any programming language can do some stupid things which will clog up the CPU something horrid, but if your working on limmited data sets and not doing anything more than simple operations, it shouln't cause any issues at all. |
|
Back to top |
|
|
JeroenB
Joined: 31 Dec 2004 Posts: 228 Location: Netherlands
|
Posted: Sun Feb 06, 2005 0:29 Post subject: |
|
|
All I can add here is to add some script to the OnClientEnter which stores the information about the player you are interested in in the database and when the player leaves the game remove it again with a DELETE statement.
You can then quit easily get those information from the database with PHP or any other scripting language that supports your database. |
|
Back to top |
|
|
flel
Joined: 17 Nov 2005 Posts: 5
|
Posted: Sun Nov 20, 2005 18:29 Post subject: |
|
|
What kind of MySQL table type would be most efficient for this kind of usage? A HEAP with a auto_increment index and a blob to store the object? |
|
Back to top |
|
|
flel
Joined: 17 Nov 2005 Posts: 5
|
Posted: Sun Nov 20, 2005 19:40 Post subject: |
|
|
I just tested but HEAP format does not seem to be able to support BLOB's (or TEXT's), is it possible to store PC objects in another data type? |
|
Back to top |
|
|
|