DEV Community

loading...

IP Geolocation & Exchange Rate API

Kerem ENDER
Entrepreneur
Originally published at github.com ・1 min read

The service is free. Maxmind-DB is used for geographic location determination. The European Central Bank and the Central Bank of the Republic of Turkey used to exchange rates.

Development
Written using Swoole Http Server. It achieves an average "35k/sec" request on a 4-core machine.

PHP Library

  • Swoole
  • FastRoute
  • Maxmind Reader

Automatic Update
Swool Scheduler is made with continuous update. The update is checked every 24 hours. The database is downloaded 2 times in one month.

Go to Github Project

Discussion (0)