Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

wizawu/geoip-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geoip-server

Simple, fast and stable

  • ets as backend
  • thread pool and high water mark
  • regular snapshot
  • home-made http server

Requirements

  • Erlang R16B03 or later versions

HOWTO

Build the code,

make

initialize(or overwrite) the data store,

erl -pz ebin -s geoip init careful

start the server,

./daemon.sh

then visit http://127.0.0.1/api/ip/get/110.64.91.39 or look up any other IPs.

If you want to check out the server status,

sudo erl -sname name -remsh geoip@host

About

Backend-free Persistent GeoIP Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published