Wiki page
[LokIP] by
mxp
2017-06-08 05:19:58.
D 2017-06-08T05:19:58.887
L LokIP
P 6933e5571b6e1a10e65d80aa8cb2fecf2c34c7a1
U mxp
W 1573
<h1> What is LokiP? </h1>
A Kotlin (JVM 1.8) based server for finding geolocation of an IP, it supports JSON and JSONP API including support for CloudFlare, NGINX, and it can run independently due to it's standalone nature.
Server supports Cloudflare, NGINX, and can run independently due to it's standalone nature.
<h1> Where is documentation and instructions? </h1>
Again I wrote it for myself. Code is simple enough for a n00b to understand. So If you are interested read the code! You would find everything!
<h2>How much load can server handle</h2>
I have handled 1000 concurrent connections (tested via loader.io) with response time of <em>~250ms</em> per request and memory usage around <em>100M - 200M</em>. Test was conducted on a 2 core VPS, 512MB RAM, and HDD with binary maxmind database file (Shared OpenVZ instance); and a set of random IPs was used to simulate random load on disk. Of course there is a great margin and contributions are welcome.
<h1> License </h1>
<pre>
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 3, March 2017
CopyLeft 2017 Zohaib Sibte Hassan
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed. Just don't put my name and try to sell it. I
am in no way liable for ANYTHING!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
</pre>
Z 911a64bce18bf169d6761d61daf0c254