GeoIP - Plugin vs Include
#1

I'd be interested to know what you think about the differences between plugin and include for GeoIP. I decided to use it and I was in a dilemma.

I'd like to see which one do you use and prefer and of course, which one is faster, doesn't cause server lag when a players joins the server so I can take a decision!
Reply
#2

The include is much faster, few milliseconds to detect it.
The plugin takes like 3 seconds to detect the country. (2 years ago, idk now)
Reply
#3

honestly, i only tested the plugin and it works fast and no lagg at all.
Reply
#4

I prefer the plugin so you don't have to mess around with the SQL db in the include version.
Reply
#5

A plugin should always be faster since it doesn't have the overhead PAWN has. I'm sure the current plugin is faster, if not it's probably badly written.
Reply
#6

I tested the plugin & whitetiger's SQLite filterscript. The plugin is faster as expected, less than 1 ms per lookup on my machine.

I modified the plugin to do isp & city lookups as well, since the original plugin hasn't been updated for a long time.

I will release it if there is enough interest and its allowed by the moderators.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)