Project 1999

Go Back   Project 1999 > Red Community > Red Server Chat

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 05-17-2013, 12:26 PM
Splorf22 Splorf22 is offline
Planar Protector


Join Date: Mar 2011
Posts: 3,237
Default

I don't think anyone is claiming you haven't done a fantastic job.

We just wish you'd stop playing star wars and come back to it [You must be logged in to view images. Log in or Register.]
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
Originally Posted by Arteker
in words of anal fingers, just a filthy spaniard
  #2  
Old 05-17-2013, 12:29 PM
Colgate Colgate is offline
Banned


Join Date: Mar 2013
Posts: 6,145
Default

can we get a confirmation on what color said text will be?
  #3  
Old 05-17-2013, 01:10 PM
Colgate Colgate is offline
Banned


Join Date: Mar 2013
Posts: 6,145
Default

Quote:
Originally Posted by Colgate [You must be logged in to view images. Log in or Register.]
can we get a confirmation on what color said text will be?
  #4  
Old 05-17-2013, 12:34 PM
Smedy Smedy is offline
Planar Protector

Smedy's Avatar

Join Date: Mar 2011
Posts: 4,578
Default

Rumor is orange
__________________
Quote:
Originally Posted by Slathar View Post
you clean plaque off peoples teeth for a living and are only able to do that because your daddy hired you. your waist is also wider than your shoulders and you’re 5’2.
Videos
Wipe it clean.
  #5  
Old 05-17-2013, 12:42 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,390
Default

Guy thinks hes gods gift to programming flashing his college degree around and still doesn't know shit about efficient coding.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
  #6  
Old 05-17-2013, 12:43 PM
GODPARTICLE GODPARTICLE is offline
Banned


Join Date: Apr 2013
Posts: 85
Default

So what are you storing in if not a database?

Also I am a performance stickler, a fucking MyISAM read is not a bottleneck rofl
  #7  
Old 05-17-2013, 12:48 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,390
Default

Quote:
Originally Posted by GODPARTICLE [You must be logged in to view images. Log in or Register.]
So what are you storing in if not a database?

Also I am a performance stickler, a fucking MyISAM read is not a bottleneck rofl
Anything that locks up the process waiting for a response from a different service, even if it's just an ACK from a database insert, is a bottleneck. What happens if the database query gets lock queued (because that does happen from time to time with 1k users online). There's a reason removing the bulk of on-demand SQL Queries from zoneprocess improved our stability tremendously.

You're thinking strictly from a database model point of view. What you need to consider is everything else that goes on including the code in the zone process itself handling all the database code, the transport code, and then the WAITING it does. You shouldn't have to fucking WAIT for a database to go "Herr ok I inserted it" before resuming code execution on an UPDATE/INSERT. (And yes, you still get the same problem with INSERT DELAYED, although only slightly improved).
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
  #8  
Old 05-17-2013, 12:49 PM
Gongshow Gongshow is offline
Sarnak

Gongshow's Avatar

Join Date: Apr 2011
Posts: 293
Default

[You must be logged in to view images. Log in or Register.]
  #9  
Old 05-17-2013, 01:00 PM
Splorf22 Splorf22 is offline
Planar Protector


Join Date: Mar 2011
Posts: 3,237
Default

Quote:
Originally Posted by Rogean [You must be logged in to view images. Log in or Register.]
Anything that locks up the process waiting for a response from a different service, even if it's just an ACK from a database insert, is a bottleneck. What happens if the database query gets lock queued (because that does happen from time to time with 1k users online). There's a reason removing the bulk of on-demand SQL Queries from zoneprocess improved our stability tremendously.

You're thinking strictly from a database model point of view. What you need to consider is everything else that goes on including the code in the zone process itself handling all the database code, the transport code, and then the WAITING it does. You shouldn't have to fucking WAIT for a database to go "Herr ok I inserted it" before resuming code execution on an UPDATE/INSERT. (And yes, you still get the same problem with INSERT DELAYED, although only slightly improved).
100% agree that a database call is way more of an issue on a realtime game server than a webpage. I guess if I had to do it I would

a) Load all the info out of the database on server start/player login
b) Just have a simple write to 'the big logfile' (just copy the structs directly out of memory) so very fast
c) Have another process/thread which stuffs things into the database (If you want to make any sort of queries you'll have to either use a database or reinvent the wheel)

But I wouldn't be super happy with this, because I'd be giving up reliability. From what little I remember there is no way for the server to confirm that the logfile was actually flushed to disk before confirming the trade with the user AFAIK without using the very slow fsync call, so we aren't exactly talking banking level reliability here.

Kind of curious exactly what you did now [You must be logged in to view images. Log in or Register.]
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
Originally Posted by Arteker
in words of anal fingers, just a filthy spaniard
  #10  
Old 05-17-2013, 01:08 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,390
Default

Quote:
Originally Posted by Splorf22 [You must be logged in to view images. Log in or Register.]
c) Have another process/thread which stuffs things into the database (If you want to make any sort of queries you'll have to either use a database or reinvent the wheel)
/clap
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:21 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.