Announcements
RS2 Campaign is here.

 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Say hello to the shoutbox
Code Monkey
Perth
Posts: 263
Joined: Jan 2013 Achievements: Hidden
(16-05-2014 04:55 PM)CatintheHat Wrote:  all sounds bloody terrific. Thanks for taking a look under the hood of this forum.

It's really not much. Just some TLC. Heart
Power to the llamas
16-05-2014, 05:37 PM
Code Monkey
Perth
Posts: 263
Joined: Jan 2013 Achievements: Hidden
Tweaked the shoutbox today to help lower the bandwidth the forum is using. It now updates every 4 seconds and you become idle after 10 minutes (so you stop updating) instead of every 3 seconds and idle after 30 mins.

It hurts performance because every 4 seconds every single user that is looking at the shoutbox makes a new website request for new data. So it has to load up all of the forum stuff like accessing the database for users/posts/etc. So every 4 seconds x 5 active users (for example) and you get 5 forum loads every 4 seconds, plus everyone accessing the forum regularly, plus everyone playing RO2 on the server = potentially bad performance.
Power to the llamas
16-02-2015, 03:53 PM


Forum Jump: