Author Topic: Will Massive Bans Lag the server?  (Read 1759 times)

0 Members and 1 Guest are viewing this topic.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Will Massive Bans Lag the server?
« on: January 06, 2014, 01:23:04 PM »
I know having 2000 bans slows the time loading on the server but will it also lag the server during a game?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Will Massive Bans Lag the server?
« Reply #1 on: January 06, 2014, 01:28:40 PM »
Likely, yes. Especially while banning additional users, or while admins with ban tab access are loading the ban list.
I have no actual test results to provide.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Will Massive Bans Lag the server?
« Reply #2 on: January 06, 2014, 01:48:58 PM »
Can you please remind me how to decode the time used in bans.txt? For example the "time" 1383062721?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Will Massive Bans Lag the server?
« Reply #3 on: January 06, 2014, 01:57:37 PM »
Google 'epoch'. Converters out there too.
It's a standard time used in majority of programming languages (among many other things)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Will Massive Bans Lag the server?
« Reply #4 on: January 06, 2014, 02:36:04 PM »
http://www.epochconverter.com/

Epoch time is the number of seconds since January 1st, 1970. It's an extremely useful way of storing exact dates and times (down to the second) as a long byte integer or string.

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: Will Massive Bans Lag the server?
« Reply #5 on: January 06, 2014, 03:49:21 PM »
Got it thanks. Now I have to go through 2000 bans and unban half of them!