Author Topic: New server list & player graph  (Read 8577 times)

0 Members and 1 Guest are viewing this topic.

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3649
  • l33tp0intz: +157/-37
  • my little pwny
Re: New server list & player graph
« Reply #60 on: November 18, 2016, 01:01:07 AM »
I am using the PHP GeoIP2 API from https://github.com/maxmind/GeoIP2-php with the free GeoLite2 Country database from http://dev.maxmind.com/geoip/geoip2/geolite2/
And yes I am caching the results. It's weird though that the reader fails like that.

Offline cest73

  • Lance Captain
  • ***
  • Posts: 688
  • l33tp0intz: +20/-13
  • there are links in my signature -->
    • MW:LL game status online (thanks: Spooky)
Re: New server list & player graph
« Reply #61 on: November 18, 2016, 07:39:07 AM »
You probably tried geoip-ultralight ?   ???

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3649
  • l33tp0intz: +157/-37
  • my little pwny
Re: New server list & player graph
« Reply #62 on: November 18, 2016, 10:06:10 AM »
You probably tried geoip-ultralight ?   ???

No, also that's a JavaScript API. It creates even more server load, since your browser would access the data file every time you access the site. Not that that would matter that much, but I see no point in using that ;).

Offline cest73

  • Lance Captain
  • ***
  • Posts: 688
  • l33tp0intz: +20/-13
  • there are links in my signature -->
    • MW:LL game status online (thanks: Spooky)
Re: New server list & player graph
« Reply #63 on: November 18, 2016, 11:42:32 AM »
maybe it's just the sheer traffic?

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3649
  • l33tp0intz: +157/-37
  • my little pwny
Re: New server list & player graph
« Reply #64 on: November 18, 2016, 12:49:49 PM »
maybe it's just the sheer traffic?

No, there is not a lot of traffic on the site. Even if there was, concurrent read access to a file should not be a problem.

Offline cest73

  • Lance Captain
  • ***
  • Posts: 688
  • l33tp0intz: +20/-13
  • there are links in my signature -->
    • MW:LL game status online (thanks: Spooky)
Re: New server list & player graph
« Reply #65 on: November 18, 2016, 07:47:43 PM »
then more comprehensive logging to find out the culprit?

Offline Spooky

  • Living Legend
  • *******
  • Posts: 3649
  • l33tp0intz: +157/-37
  • my little pwny
Re: New server list & player graph
« Reply #66 on: November 19, 2016, 04:11:20 PM »
Meh, I'll just leave it as it is now, the results are cached anyway.

Offline cest73

  • Lance Captain
  • ***
  • Posts: 688
  • l33tp0intz: +20/-13
  • there are links in my signature -->
    • MW:LL game status online (thanks: Spooky)
Re: New server list & player graph
« Reply #67 on: November 20, 2016, 05:31:50 PM »
I still love it  ;D, immeasurable asset to the community