logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Server Load Issues

 
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
tekrice



Joined: 05 Feb 2005
Posts: 2

PostPosted: Sat Feb 05, 2005 18:31    Post subject: Server Load Issues Reply with quote

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
View user's profile Send private message
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Sat Feb 05, 2005 19:14    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
JeroenB



Joined: 31 Dec 2004
Posts: 228
Location: Netherlands

PostPosted: Sun Feb 06, 2005 0:29    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
flel



Joined: 17 Nov 2005
Posts: 5

PostPosted: Sun Nov 20, 2005 18:29    Post subject: Reply with quote

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
View user's profile Send private message
flel



Joined: 17 Nov 2005
Posts: 5

PostPosted: Sun Nov 20, 2005 19:40    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group