![]() |
|
#1
|
||||
|
![]() 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:
| |||
|
#2
|
|||
|
![]() can we get a confirmation on what color said text will be?
| ||
|
#5
|
|||
|
![]() Guy thinks hes gods gift to programming flashing his college degree around and still doesn't know shit about efficient coding.
__________________
| ||
|
#6
|
|||
|
![]() 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
|
||||
|
![]() Quote:
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).
__________________
| |||
|
#9
|
|||||
|
![]() Quote:
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:
| ||||
|
#10
|
||||
|
![]() Quote:
__________________
| |||
|
![]() |
|
|