0 Users appreciate this thread.
Yet more Chatroom Optimisation
Good job! As programmer, I hate server/ database limits D:
10 Years 3DSPlaza!
OtherSilhouette (2012-08-03 16:35:26)Cool! Im sick of 503's. -.-" Server limits, Y U NO EXPAND?
Oh yeah, because the host's a troll.
little5 (2012-08-04 04:18:17)Most people only post cool because they don't know what this is so....Cool
(Capt.)Orb (2012-08-05 01:11:18)cool.
Aviation fact: The a380 is the largest commerical aircraft in service!
Go to Splashiverse! Splashiverse
Go to Splashiverse! Splashiverse
I812 (2012-08-10 09:31:14)I'm still getting them. but they're becoming less common every day. Thanks SL
My PSN: Idunno543.
My NNID: EpicMudkips215.
SPOOKY GHOST CIRCLES 0o0o0
My NNID: EpicMudkips215.
SPOOKY GHOST CIRCLES 0o0o0
Log in to submit a comment
Back to forum: Announcements
New registered users today: 7
Newest registered user: ElegantVulpes

After noticing that my latest bit of optimisation worked for a bit, but soon enough, 503s again!
But I'm not finished YET! Moar Moar Moar Optimisations!
I was thinking about this and realised this:
Most messages sent have nothing to do with commands, so why should the chat check every command individually?
Bad:
[color=#FFFFFF]
IF command is /me
IF command is /ban
IF command id /warn
IF command is ....
[/color]
[/box]
Better:
[color=#FFFFFF]
IF message is a command, continue, otherwise stop
IF command is /me
IF command is /ban
IF command id /warn
IF command is ....
[/color]
[/box]
And whilst I go and mess with that, I'll show you a few "diagrams" to do with server overload:
There is a chance that some commands may break with this change, so those need to reported to me so I can investigate the problem further, and possibly fix it.
This optimisation task did go through 2.1 revisions, most of which I spent moving over blocks of code.
I cut 44.3 KB slack when sending a message not containing a command. You may not think that's much, but a message is sent at most every 3-5 seconds, making this an efficient optimisation.
Well, anyway, I'm going to publish this Thread out for everyone to see and move it out of the Void.
2012-08-03 12:10:11